JPH02259878A - Relational data base inquiring system - Google Patents

Relational data base inquiring system

Info

Publication number
JPH02259878A
JPH02259878A JP1080518A JP8051889A JPH02259878A JP H02259878 A JPH02259878 A JP H02259878A JP 1080518 A JP1080518 A JP 1080518A JP 8051889 A JP8051889 A JP 8051889A JP H02259878 A JPH02259878 A JP H02259878A
Authority
JP
Japan
Prior art keywords
rdb
data
terminal device
item
definition information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP1080518A
Other languages
Japanese (ja)
Inventor
Mitsuhiro Tanio
谷尾 光宏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
KANSAI NIPPON DENKI SOFTWARE KK
Original Assignee
KANSAI NIPPON DENKI SOFTWARE KK
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by KANSAI NIPPON DENKI SOFTWARE KK filed Critical KANSAI NIPPON DENKI SOFTWARE KK
Priority to JP1080518A priority Critical patent/JPH02259878A/en
Publication of JPH02259878A publication Critical patent/JPH02259878A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

PURPOSE:To inquire name data and detailed data to the arbitrary table of a relation data base (RDB) with a personal computer as a terminal equipment by obtaining the arbitrary table definition information of the RDB of a host device in the terminal equipment. CONSTITUTION:In an RDB (relational data base) retrieval processing part 4, a table definition information retrieval part 5 is provided to retrieve the table definition information of a table, which is designated from a terminal equipment 2, out of the table definition information of the RDB defined in the host device and a name data extraction part 6 is provided to extract the name data of an item in the table, which is designated based on the table definition information, from the RDB. Then, a detailed data extraction part 7 is provided to extract the detailed data of the table, for which the item of the table designated from the above-mentioned terminal equipment is coincident with a designated item value, and a detailed data sort part 8 is provided to sort the extracted detailed data with the designated item as a key so as to be matched with the designation order of the item. Thus, the data can be inquired to the arbitrary table of the RDB with the personal computer as the terminal equipment.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、PC(パーソナル・コンピュータ)等を端末
装置とするオンライン・システムにおいてホスト装置の
RDBを問い合わせる方式に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a method for inquiring about the RDB of a host device in an online system using a PC (personal computer) or the like as a terminal device.

〔従来の技術〕[Conventional technology]

従来、ホスト装置のRDBの問い合わせにおいては、端
末装置として通常、WS(ワーク・ステーション)を用
い、RDBへの専用のユーティリティ・ソフトウェア・
パッケージを主に使用していた。
Conventionally, when querying the RDB of a host device, a WS (work station) is usually used as the terminal device, and a dedicated utility software/software for the RDB is used.
I mainly used packages.

また、端末装置としてPCを用いる場合は、問い合わせ
プログラムにあらかじめ取りこまれたRDBの表につい
てのみ、問い合わせることができ表に合わせて問い合わ
せプログラムを作成していた。
Furthermore, when a PC is used as a terminal device, it is possible to inquire only about RDB tables that have been preloaded into an inquiry program, and an inquiry program has to be created in accordance with the tables.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上述した従来のRDB問い合わせ方式では、端末装置と
してPCを用いた場合、問い合わせプログラムにあらか
じめRDBの表について取りこまれていなければならず
、任意の表に対して問い合わせできないという欠点があ
る。
The above-described conventional RDB inquiry method has the disadvantage that when a PC is used as a terminal device, the RDB table must be loaded into the inquiry program in advance, and an arbitrary table cannot be inquired.

また、RDBの表に合わせて問い合わせプログラムを作
成していたため、表の増加に伴い、プログラム作成工数
の増加という問題点がある。
Furthermore, since the inquiry program is created in accordance with the tables in the RDB, there is a problem in that the number of man-hours required to create the program increases as the number of tables increases.

これらのRDBの任意の表に対する問い合わせは、従来
ではWSを用い、専用のユーティリティを使用しなけれ
ばならなかった。
Inquiries to any table in these RDBs have conventionally required the use of a WS and a dedicated utility.

本発明の目的は、上述の欠点及び問題点を除去し、RD
Bの任意の表に対し問い合わせができ、WSよりもコス
トが安く、データの画面編集機能も豊富なPCを端末装
置としたRDB問い合わせ方式を提供することにある。
The object of the present invention is to eliminate the above-mentioned drawbacks and problems and to
The purpose of this invention is to provide an RDB inquiry method using a PC as a terminal device, which allows inquiries to be made to any table in B, is cheaper than WS, and has rich data screen editing functions.

〔課題を解決するための手段〕[Means to solve the problem]

本発明のリレーショナル・データベース問い合わせ方式
の構成は、ホスト装置とパーソナル・コンピュータやワ
ークステーション等の端末装置とを有し、前記ホスト装
置のRDB(リレーショナル・データベース)を前記端
末装置より間0合わせるオンライン処理システムにおい
て、前記ホスト装置で定義されているRDBの表定議情
報のうち、前記端末装置より指定された表の表定議情報
を検索する手段と、前記端末装置より、前記表定議情報
を基に指定された表の項目の名称データをRDBより抽
出する手段と、前記端末装置より前記表定義情報を基に
、指定された表の項目が、その指定された項目値と一致
する表の明細データをRDBより抽出する手段と、その
抽出した明細データを前記端末装置より指定された項目
をキーとしてその項目の指定順に合わせてソートする手
段とを含んで構成されることを特徴とする。
The configuration of the relational database inquiry method of the present invention includes a host device and a terminal device such as a personal computer or a workstation, and performs online processing to adjust the RDB (relational database) of the host device from the terminal device. In the system, means for searching the table council information of the table specified by the terminal device among the table council information of the RDB defined in the host device; means for extracting the name data of the item of the specified table from the RDB; The present invention is characterized in that it includes means for extracting detailed data from the RDB, and means for sorting the extracted detailed data in accordance with the specified order of the items using the items specified by the terminal device as keys.

〔実施例〕〔Example〕

次に、本発明について図面を参照して説明する。 Next, the present invention will be explained with reference to the drawings.

第1図は本発明における一実施胸構成の概略図を示し、
1はデイスプレィ、2はパーソナル・コンピュータ(P
C)、3はオンライン処理制御部、4はRDB検索処理
部、5は表定義情報検索部、6は名称データ抽出部、7
は明細データ抽出部、8は明細データソート部、9はリ
レーショナル・データベース(RDB)をそれぞれ表す
FIG. 1 shows a schematic diagram of one embodiment of the chest configuration according to the present invention;
1 is a display, 2 is a personal computer (P
C), 3 is an online processing control unit, 4 is an RDB search processing unit, 5 is a table definition information search unit, 6 is a name data extraction unit, 7
8 represents a detailed data extraction unit, 8 represents a detailed data sorting unit, and 9 represents a relational database (RDB).

デイスプレィ1は、端末装置の一部であり、ホスト装置
に対して問い合わせたRDBの表定義情報1名称データ
、明細データ及びそれらを問い合わせるために指定され
た項目を表示する。PC2は、端末装置の本体部であり
、指定した項目をホスト装置に送信したり、ホスト装置
より受信したRDBの表定義情報1名称データ、明細デ
ータを編集してダイスプレイ1に表示させる。オンライ
ン処理制御部3はホスト装置内の基本ソフトウェアであ
り、端末装置とホスト装置間のデータの通信を制御する
と共に、RDB検索処理部4とのデータの受は渡しを制
御する。RDB検索処理部4は、RDB9に対する検索
(問い合わせ)処理を行う部分で、表定義情報検索部5
9名称データ抽出部6.明細データ抽出部7.明細デー
タソート部8の4つの部分より構成される。
The display 1 is a part of the terminal device, and displays the RDB table definition information 1 name data, detail data, and items specified for inquiring the RDB table definition information 1 inquired of the host device. The PC 2 is the main body of the terminal device, and sends specified items to the host device, edits the RDB table definition information 1 name data and detail data received from the host device, and displays the edited data on the display 1. The online processing control unit 3 is basic software within the host device, and controls data communication between the terminal device and the host device, as well as data reception and transfer with the RDB search processing unit 4. The RDB search processing section 4 is a section that performs search (inquiry) processing for the RDB 9, and the table definition information search section 5
9 Name data extraction section 6. Detailed data extraction unit 7. The detailed data sorting unit 8 is composed of four parts.

PC2で指定された表(名)は、デイスプレィ1に表示
されると共に、ホスト装置に問い合わせデータとして送
信させる。受信したオンライン処理制御部3は、表(名
)を表定義情報検索部5に渡し、RDB9に対する表定
義情報の検索を行わせる。検索された表定義情報は、オ
ンライン処理制御部3を介して、PC2に送信させる。
The table (name) specified by the PC 2 is displayed on the display 1 and is also transmitted to the host device as inquiry data. The online processing control unit 3 that received the table passes the table (name) to the table definition information search unit 5 and causes the RDB 9 to search for table definition information. The retrieved table definition information is sent to the PC 2 via the online processing control unit 3.

PC2は、受信した表定義情報を編集し、デイスプレィ
1に表示する。表示された表定義情報を基に表の項目が
PC2で指定されると、受信したオンライン処理制御部
3は、表の項目を名称データ抽出部6に渡し、RDB9
に対する名称データの抽出を行わせる。また、表の項目
とそれに対応する項目値がPC2で指定されると、受信
したオンライン処理制御部3は表の項目と項目値を明細
データ抽出部7に渡し、RDB9に対する明細データの
抽出を行わせる。この時、PC2で、表の項目2項目値
と共にソートのキーとする項目も指定されていれば、明
細データ抽出部7で抽出した明細デー夕を明細データソ
ート部8でソートする。
The PC 2 edits the received table definition information and displays it on the display 1. When table items are specified on the PC 2 based on the displayed table definition information, the received online processing control unit 3 passes the table items to the name data extraction unit 6, and the RDB 9
Extract name data for . Furthermore, when table items and corresponding item values are specified on the PC 2, the received online processing control unit 3 passes the table items and item values to the detailed data extraction unit 7, and extracts detailed data from the RDB 9. let At this time, if an item to be used as a sort key is specified in the PC 2 along with the item value of item 2 in the table, the detailed data extracted by the detailed data extracting section 7 is sorted by the detailed data sorting section 8.

RDB検索処理部4の中で、検索、抽出あるいはソート
されたデータは、全てオンライン処理制御部3を介して
端末装置g(PC2,デイスプレィ1)に同様に送信さ
れて編集表示される。
All data searched, extracted, or sorted in the RDB search processing section 4 is similarly sent to the terminal device g (PC 2, display 1) via the online processing control section 3, where it is edited and displayed.

〔発明の効果〕〔Effect of the invention〕

以上説明したように本発明は、端末装置にホスト装置の
RDBの任意の表定義情報を得られるようにすることに
より、WSよりも、コストが安く、データの画面編集機
能も豊富なPCを端末装置として、RDBの任意の表に
対し、名称データ及び明細データの問い合わせができる
効果があり、また、表の増加に左右されない汎用的な問
い合わせプログラムを使用することにより、プログラム
作成工数を抑制できる効果もある。
As explained above, the present invention enables the terminal device to obtain arbitrary table definition information of the RDB of the host device, thereby making it possible to use a PC, which is cheaper than a WS and has rich data screen editing functions, as a terminal device. As a device, it has the effect of being able to query the name data and detailed data for any table in the RDB, and by using a general-purpose query program that is not affected by the increase in the number of tables, it has the effect of reducing the number of program creation steps. There is also.

ュータ(PC)、3・・・オンライン処理制御部、4・
・・RDB検索処理部、5・・・表定義情報検索部、6
・・・名称データ抽出部、7・・・明細データ抽出部、
8・・・明細データソート部、9・・・リレーションナ
ル・データベース(RDB)。
computer (PC), 3...online processing control unit, 4.
...RDB search processing unit, 5...Table definition information search unit, 6
... Name data extraction section, 7... Detailed data extraction section,
8...Detailed data sorting section, 9...Relational database (RDB).

Claims (1)

【特許請求の範囲】[Claims] ホスト装置とパーソナル・コンピュータやワークステー
ション等の端末装置とを有し、前記ホスト装置のRDB
(リレーショナル・データベース)を前記端末装置より
問い合わせるオンライン処理システムにおいて、前記ホ
スト装置で定義されているRDBの表定議情報のうち、
前記端末装置より指定された表の表定議情報を検索する
手段と、前記端末装置より、前記表定議情報を基に指定
された表の項目の名称データをRDBより抽出する手段
と、前記端末装置より前記表定義情報を基に、指定され
た表の項目が、その指定された項目値と一致する表の明
細データをRDBより抽出する手段と、その抽出した明
細データを前記端末装置より指定された項目をキーとし
てその項目の指定順に合わせてソートする手段とを含む
ことを特徴とするリレーショナル・データベース問い合
わせ方式。
It has a host device and a terminal device such as a personal computer or a workstation, and the RDB of the host device
In an online processing system in which a relational database (relational database) is inquired from the terminal device, among the RDB table convention information defined in the host device,
means for retrieving table resolution information of a table specified by the terminal device; means for extracting name data of an item of the table specified from the RDB based on the table council information from the terminal device; means for extracting detailed data of a table whose designated table item matches the designated item value from the RDB based on the table definition information from the terminal device; and means for extracting the extracted detailed data from the terminal device. A relational database query method characterized by comprising means for sorting in accordance with the specified order of the items using specified items as keys.
JP1080518A 1989-03-30 1989-03-30 Relational data base inquiring system Pending JPH02259878A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1080518A JPH02259878A (en) 1989-03-30 1989-03-30 Relational data base inquiring system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1080518A JPH02259878A (en) 1989-03-30 1989-03-30 Relational data base inquiring system

Publications (1)

Publication Number Publication Date
JPH02259878A true JPH02259878A (en) 1990-10-22

Family

ID=13720532

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1080518A Pending JPH02259878A (en) 1989-03-30 1989-03-30 Relational data base inquiring system

Country Status (1)

Country Link
JP (1) JPH02259878A (en)

Similar Documents

Publication Publication Date Title
US5634051A (en) Information management system
US6363374B1 (en) Text proximity filtering in search systems using same sentence restrictions
EP1161092A3 (en) Electronic-program-guide retrieval method and system
JPH06348755A (en) Method and system for classifying document
JPH02259878A (en) Relational data base inquiring system
JPH0581326A (en) Data base retrieving device
JPH01149127A (en) Information retrieving device
JPH11161656A (en) Data base retrieval and extraction system and recording medium in which control program for data base retrieval and extraction is recorded
JPH09185632A (en) Method and device for retrieving/editing information
JPH0619756A (en) Edi format conversion method
JPH01163826A (en) Coupling processing system for relational data base
JPH03118662A (en) Method and device for retrieving data base
JPH0514304B2 (en)
JPS60247756A (en) Data base device
JPS63296119A (en) Data input device
JPH022458A (en) Similar document retrieving device
JPS63238622A (en) Relation retrieval system
JPH0546669A (en) Hit ratio improvement system for data base retrieval system
JPS63293674A (en) Retrieving/displaying method for sentence
CN116561158A (en) Internet-based data query background management system
JPH03260863A (en) Document editing system
CN117435624A (en) Method for extracting selected material specific attribute from material management system in batches
CN113051289A (en) French retrieval method, device, equipment and storage medium
KR20010056171A (en) Apparatus and method for searching pattern matching information in information searching system
JPH04260172A (en) Data base retrieving system