JP2943720B2 - Master table search means generator - Google Patents

Master table search means generator

Info

Publication number
JP2943720B2
JP2943720B2 JP8256441A JP25644196A JP2943720B2 JP 2943720 B2 JP2943720 B2 JP 2943720B2 JP 8256441 A JP8256441 A JP 8256441A JP 25644196 A JP25644196 A JP 25644196A JP 2943720 B2 JP2943720 B2 JP 2943720B2
Authority
JP
Japan
Prior art keywords
master table
data
master
definition
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.)
Expired - Fee Related
Application number
JP8256441A
Other languages
Japanese (ja)
Other versions
JPH10105564A (en
Inventor
浩士 中塩屋
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.)
NEC Corp
Original Assignee
Nippon Electric Co Ltd
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 Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP8256441A priority Critical patent/JP2943720B2/en
Publication of JPH10105564A publication Critical patent/JPH10105564A/en
Application granted granted Critical
Publication of JP2943720B2 publication Critical patent/JP2943720B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

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

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明はマスタテーブル検索
関数生成装置に関し、特にデータベースを利用するシス
テムの作成に使用するマスタテーブル検索関数生成装置
に関する。
[0001] 1. Field of the Invention [0002] The present invention relates to a master table search function generator, and more particularly to a master table search function generator used to create a system using a database.

【0002】[0002]

【従来の技術】従来、データベースを利用したシステム
開発方法の一つに、マスタテーブルを使用する開発方法
がある。
2. Description of the Related Art Conventionally, as one of system development methods using a database, there is a development method using a master table.

【0003】マスタテーブルとは、たとえばデータの中
で顧客名,商品名等のデータに対してコード化を行い、
その対応関係を示すテーブルである。このマスタテーブ
ルを利用することにより、そのデータの変更が発生した
場合、全テーブルのデータを変更せずにマスタテーブル
のデータを変更するだけでその変更処理を行うことがで
きる。また、コード化によるデータ長の縮小を行うこと
によって、データベースのデータ量を縮小することがで
きる。
[0003] A master table encodes data such as a customer name and a product name in data, for example.
It is a table showing the correspondence. By using the master table, when the data is changed, the change processing can be performed only by changing the data in the master table without changing the data in all the tables. Also, by reducing the data length by coding, the data amount of the database can be reduced.

【0004】しかしながら、アプリケーションシステム
の開発者はテーブルから取得したコードを対応するデー
タに変換する為に、マスタテーブルを検索するロジック
をコーディングする必要がある。
[0004] However, the developer of the application system needs to code logic for searching the master table in order to convert the code obtained from the table into the corresponding data.

【0005】[0005]

【発明が解決しようとする課題】上記したように、デー
タベースを利用したアプリケーションシステムの開発者
はコード化されたデータを取得する時に、コードをキー
としてマスタテーブルを検索するロジックをコーディン
グしなければならない。すなわち、従来のテーブルを定
義する機能では、同時にそのテーブルを検索する機能を
得ることができない。
As described above, a developer of an application system using a database must code logic for searching a master table using a code as a key when acquiring coded data. . That is, the conventional function of defining a table cannot provide a function of searching the table at the same time.

【0006】本発明の目的は、データベースを利用した
システムの開発者がマスタテーブルのデータ構造を意識
せず、なおかつマスタテーブルを検索するロジックのコ
ーディングをすることなく、そのコードに対応するデー
タを取得することができるマスタテーブル検索手段生成
装置を提供することにある。
SUMMARY OF THE INVENTION It is an object of the present invention to obtain data corresponding to a code of a system using a database without requiring a developer of the system to be conscious of the data structure of the master table and coding logic for searching the master table. It is an object of the present invention to provide a master table searching means generating device capable of performing the above.

【0007】[0007]

【課題を解決するための手段】本発明のマスタテーブル
検索手段生成装置は、データをコード化したコードを含
むデータテーブルと,前記データと前記コードとの対応
を示すマスタテーブルとを有するデータベースシステム
において、前記マスタテーブルを生成するときに前記マ
スタテーブルを参照する検索関数を生成するようにして
構成される。
According to the present invention, there is provided a master table retrieving means generating apparatus in a database system having a data table including a code obtained by coding data, and a master table indicating a correspondence between the data and the code. , A search function that refers to the master table when the master table is generated.

【0008】また、本発明のマスタテーブル検索手段生
成装置は、データをコード化したコードを含むデータテ
ーブルと,前記データと前記コードとの対応を示すマス
タテーブルとを有するデータベースシステムにおいて、
マスタテーブルを規定する定義情報に従って前記マスタ
テーブルを生成するとともに前記マスタテーブルを参照
する検索関数を生成するマスタテーブル定義部を備えて
構成される。
[0008] In addition, the present invention provides a master table search means generating apparatus in a database system having a data table including a code obtained by coding data, and a master table indicating a correspondence between the data and the code.
A master table definition unit is configured to generate the master table in accordance with the definition information defining the master table and to generate a search function that refers to the master table.

【0009】また、本発明のマスタテーブル検索手段生
成装置は、データをコード化したコードを含むデータテ
ーブルと,前記データと前記コードとの対応を示すマス
タテーブルとを有するデータベースシステムにおいて、
任意の定義情報に従ってデータテーブルおよびマスタテ
ーブルをそれぞれ生成するテーブル定義部と、前記マス
タテーブルを規定する定義情報に従って前記マスタテー
ブルを参照する検索関数を生成するマスタテーブル定義
部とを備えて構成される。
Further, the present invention provides a master table search means generating apparatus in a database system having a data table including a code obtained by coding data, and a master table indicating a correspondence between the data and the code.
A table definition unit that generates a data table and a master table according to arbitrary definition information, and a master table definition unit that generates a search function that refers to the master table according to definition information that defines the master table .

【0010】さらに、本発明のマスタテーブル検索手段
生成装置において、前記マスタテーブル定義部はマスタ
テーブルを規定する定義情報を入力して前記マスタテー
ブルを参照する検索関数を送出するとともに前記定義情
報を前記テーブル定義部へ送付し、前記テーブル定義部
は前記定義情報に基づいてマスタテーブルを生成するよ
うにして構成される。
Further, in the master table search means generating device of the present invention, the master table definition section inputs definition information for defining a master table, sends out a search function for referring to the master table, and transmits the definition information to the master table. It is sent to a table definition unit, and the table definition unit is configured to generate a master table based on the definition information.

【0011】さらに、本発明のマスタテーブル検索手段
生成装置において、前記マスタテーブル定義部はマスタ
テーブルの検索されるデータのデータ型に対応して文字
列型の検索関数または数値型の検索関数を生成するよう
にして構成される。
Further, in the master table search means generating apparatus of the present invention, the master table definition section generates a character string type search function or a numeric type search function corresponding to the data type of data to be searched for in the master table. It is configured so that

【0012】さらに、本発明のマスタテーブル検索手段
生成装置において、前記検索関数はマスタテーブルの検
索されるデータのデータ型に対応して文字列型または数
値型である。
Further, in the master table searching means generating apparatus of the present invention, the search function is a character string type or a numerical type corresponding to a data type of data to be searched for in the master table.

【0013】また、本発明のマスタテーブル検索手段生
成装置は、入力したテーブル定義情報がデータテーブル
定義情報およびマスタテーブル定義情報のいずれである
かを識別する定義情報判別部と、前記テーブル定義情報
に基づきデータテーブルまたはマスタテーブルを生成す
るテーブル生成部と、前記マスタテーブル定義情報に基
づき前記マスタテーブルを検索する検索関数を生成する
検索関数生成部とを備えるテーブル定義部を有して構成
される。
[0013] The master table search means generating apparatus of the present invention further comprises a definition information discriminator for identifying whether the input table definition information is data table definition information or master table definition information; A table definition unit includes a table generation unit that generates a data table or a master table based on the table information, and a search function generation unit that generates a search function that searches the master table based on the master table definition information.

【0014】すなわち、本発明のマスタテーブル検索手
段生成装置によれば、マスタテーブル定義用の機能を作
成しマスタテーブルを定義する時に、同時にそのマスタ
テーブルを検索する関数を定義する。開発者は、マスタ
テーブルからコードに対応するデータを取得する処理を
その関数によって行うようにする。したがって、開発者
はその関数を使用することにより、マスタテーブルの構
造を意識することなく、又マスタテーブルを検索するロ
ジックのコーディングをする必要なくマスタテーブルを
利用することができる。
That is, according to the master table searching means generating device of the present invention, when a function for defining a master table is created and a master table is defined, a function for searching the master table is also defined. The developer causes the function corresponding to the process of acquiring data corresponding to the code from the master table. Therefore, by using the function, the developer can use the master table without being aware of the structure of the master table and without coding logic for searching the master table.

【0015】[0015]

【発明の実施の形態】以下、本発明について図面を参照
しながら説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described below with reference to the drawings.

【0016】図1は本発明の実施の第一の形態を示すブ
ロック図である。同図において、本発明によるマスタテ
ーブル検索手段生成装置は、それぞれの定義情報に従っ
てデータテーブル3,第一マスタテーブル4,および第
二マスタテーブル6をそれぞれ生成するテーブル定義部
1と、それぞれのマスタテーブルを規定する定義情報に
従ってそれぞれのマスタテーブルを参照する検索関数5
および7を生成するマスタテーブル定義部2とを備え
る。
FIG. 1 is a block diagram showing a first embodiment of the present invention. In the figure, a master table search means generating device according to the present invention includes a table definition section 1 for generating a data table 3, a first master table 4, and a second master table 6 according to respective definition information, and a master table for each. Search function 5 that refers to each master table according to definition information that defines
And a master table definition unit 2 that generates the data items 7 and 7.

【0017】上記のマスタテーブル定義部2は各マスタ
テーブルを規定する定義情報を入力して各マスタテーブ
ルを参照する検索関数5および7を送出するとともに各
定義情報を前記テーブル定義部1へ送付し、前記テーブ
ル定義部1は各定義情報に基づいて第一マスタテーブル
4および第二マスタテーブル6を生成する。
The master table definition section 2 inputs definition information defining each master table, sends search functions 5 and 7 for referring to each master table, and sends each definition information to the table definition section 1. The table definition unit 1 generates a first master table 4 and a second master table 6 based on each definition information.

【0018】また、上記のテーブル定義部1はRDBM
S(リレーショナルデータベースマネージメントシステ
ム。以下、RDBMSという。)が標準的に提供するテ
ーブル定義機能である。そしてデータテーブル3はデー
タテーブルの定義に基づいてテーブル定義部1によって
生成される。さらに、第一マスタテーブル4および第二
マスタテーブル6はそれぞれの定義に基づいてテーブル
定義部1によって生成される。これらのマスタテーブル
はいずれもコードデータの対応関係を示すテーブルであ
る。
Further, the above-mentioned table definition section 1 stores the RDBM
S (relational database management system; hereinafter, referred to as RDBMS) is a table definition function provided as standard. The data table 3 is generated by the table definition unit 1 based on the definition of the data table. Further, the first master table 4 and the second master table 6 are generated by the table definition unit 1 based on the respective definitions. Each of these master tables is a table indicating the correspondence between code data.

【0019】図2はマスタテーブル定義部2の動作の例
を示す説明図である。同図において、マスタテーブルの
定義2aに基づいて、マスタテーブル定義部2はテーブ
ル定義部1を介してマスタテーブル4aを生成する。同
時にマスタテーブル定義部2はマスタテーブル検索関数
5aまたは5bを生成する。ここで、マスタテーブル検
索関数はマスタテーブルの検索されるデータのデータ型
に対応して文字列型用または数値型用が作成される。
FIG. 2 is an explanatory diagram showing an example of the operation of the master table definition unit 2. In the figure, a master table definition unit 2 generates a master table 4a via a table definition unit 1 based on a master table definition 2a. At the same time, the master table definition unit 2 generates a master table search function 5a or 5b. Here, a master table search function is created for a character string type or a numeric type corresponding to the data type of data to be searched for in the master table.

【0020】また、マスタテーブル検索関数は複数の引
数を有し、第一引数は検索対象のカラム名を示し、第二
引数以下の引数は検索したいデータのコードを示す。こ
のコードはマスタテーブルのキーに対応する。なお、戻
り値は第二引数以下の引数をキーとして検索されたデー
タである。
The master table search function has a plurality of arguments. The first argument indicates a column name to be searched, and the second and subsequent arguments indicate a code of data to be searched. This code corresponds to the key in the master table. The return value is data retrieved using the second argument or less as a key.

【0021】図3は上記のマスタテーブル検索関数の処
理を示す流れ図である。同図において、まず、ステップ
51は入力された引数が正常な値であるか否かをチェッ
クする。
FIG. 3 is a flowchart showing the processing of the master table search function. In the figure, first, a step 51 checks whether or not the input argument is a normal value.

【0022】次にステップ52は第一引数で指定された
項目について第二引数以下の引数をキーとして対象のマ
スタテーブルを検索する。そしてステップ53において
検索されたデータが正常であるか否かをチェックする。
ここでエラーがなければ、このデータを戻り値として処
理を終了する。
Next, a step 52 searches the target master table for the item specified by the first argument, using the arguments below the second argument as keys. Then, in step 53, it is checked whether or not the retrieved data is normal.
If there is no error here, this data is used as a return value and the process ends.

【0023】さらに、ステップ54では上記の各ステッ
プで発生したエラーについてそれぞれに該当するエラー
処理を行う。
Further, in step 54, error processing corresponding to each of the errors generated in the above steps is performed.

【0024】なお、マスタテーブル検索関数は文字列型
と数値型に区別されるが、処理の流れはいずれも同じで
ある。
The master table search function is classified into a character string type and a numerical type, but the processing flow is the same.

【0025】図4は上記のようにして作成されたデータ
テーブルおよびマスタテーブルを使用したアプリケーシ
ョンシステムの例を示すブロック図である。同図を参照
すると、アプリケーションプログラム8において、ま
ず、データテーブル検索部81がデータテーブル3を検
索してデータを取得する。
FIG. 4 is a block diagram showing an example of an application system using the data table and the master table created as described above. Referring to FIG. 8, in the application program 8, first, the data table search unit 81 searches the data table 3 to acquire data.

【0026】次に、第一マスタテーブル検索関数コール
部82は上記の取得データのなかで第一マスタテーブル
4に関するコードを第一マスタテーブル検索関数5によ
ってデータに変換する。
Next, the first master table search function calling unit 82 converts a code relating to the first master table 4 into data by the first master table search function 5 in the acquired data.

【0027】さらに、第二マスタテーブル検索関数コー
ル部83は上記の取得データのなかで第二マスタテーブ
ル6に関するコードを第二マスタテーブル検索関数7に
よってデータに変換する。
Further, the second master table search function calling unit 83 converts a code relating to the second master table 6 into data in the acquired data by the second master table search function 7.

【0028】そして処理部84は上記のようにして取得
されたデータを使用して所定の処理を実行する。
The processing unit 84 executes a predetermined process using the data obtained as described above.

【0029】図5は本発明の実施の形態の具体例を示す
説明図である。同図において、テーブル定義部1は売上
テーブルの定義に基づいて売上テーブル3aを生成す
る。同様にして顧客マスタの定義および商品マスタの定
義に基づいてそれぞれ顧客マスタ4bおよび商品マスタ
6aを生成する。
FIG. 5 is an explanatory diagram showing a specific example of the embodiment of the present invention. In the figure, a table definition unit 1 generates a sales table 3a based on the definition of a sales table. Similarly, a customer master 4b and a product master 6a are generated based on the definition of the customer master and the definition of the product master, respectively.

【0030】また、マスタテーブル定義部2は顧客マス
タの定義および商品マスタの定義に基づいてそれぞれ文
字列型用顧客マスタ検索関数5c,文字列型用商品マス
タ検索関数7a,および数値型用商品マスタ検索関数7
bを生成する。ここで、顧客マスタ4bには数値型デー
タが存在しないので、数値型用顧客マスタ検索関数は生
成されない。
The master table definition unit 2 also stores a character string type customer master search function 5c, a character string type product master search function 7a, and a numeric type product master based on the customer master definition and the product master definition. Search function 7
Generate b. Here, since no numeric data exists in the customer master 4b, no numeric customer master search function is generated.

【0031】上記売上テーブル3aは売上関連のデータ
を示し、顧客コードおよび商品コードを含むデータテー
ブルである。また、顧客マスタ4bは顧客コードと顧客
名および住所の対応を示すマスタテーブルである。さら
に、商品マスタ6aは商品コードと商品名および単価の
対応を示すマスタテーブルである。
The sales table 3a shows sales-related data and is a data table including a customer code and a product code. The customer master 4b is a master table showing the correspondence between customer codes, customer names, and addresses. Further, the product master 6a is a master table showing correspondence between product codes, product names, and unit prices.

【0032】上記の文字列型用顧客マスタ検索関数5c
は文字列型データを検索対象とし、顧客コードをキーに
して顧客マスタ4bを検索し顧客名または住所を抽出す
る。また、文字列型用商品マスタ検索関数7aは文字列
型データを検索対象とし、商品コードをキーにして商品
マスタ6aを検索し商品名を抽出する。さらに、数値型
用商品マスタ検索関数7bは数値型データを検索対象と
し、商品コードをキーにして商品マスタ6aを検索し単
価を抽出する。
The character string type customer master search function 5c
Searches the customer master 4b using character string data as a search target and uses the customer code as a key to extract the customer name or address. The character string type product master search function 7a searches the product master 6a by using the product code as a key with the character string type data as a search target, and extracts a product name. Further, the numeric-type product master search function 7b searches for the product master 6a by using the product code as a key, and extracts the unit price using the numeric-type data as a search target.

【0033】図6は図5によって作成されたデータベー
スを使用するアプリケーションシステムの例を示す説明
図である。同図を参照すると、アプリケーションプログ
ラム8aにおいて、ステップ81は売上テーブル3aか
らSales No.をキーにしてデータ(レコード)
を取得する。
FIG. 6 is an explanatory diagram showing an example of an application system using the database created in FIG. Referring to the figure, in the application program 8a, a step 81 is performed from the sales table 3a in the Sales No. (Record) with key as key
To get.

【0034】次に、ステップ82aは文字列型用顧客マ
スタ検索関数5cをコールして顧客マスタ4bを検索
し、該当する顧客コードに対応する顧客名を取得する。
さらに、ステップ83aは数値型用商品マスタ検索関数
7bをコールして商品マスタ6aを検索し、該当する商
品コードに対応する単価を取得する。
Next, a step 82a calls the character string type customer master search function 5c to search the customer master 4b and obtain the customer name corresponding to the corresponding customer code.
Further, a step 83a calls the numeric type product master search function 7b to search the product master 6a, and obtains a unit price corresponding to the corresponding product code.

【0035】そしてステップ84aは上記の各ステップ
で取得したデータを使用して顧客名ごとに売上票を作成
する。同図の例示では、Sales No.1002の
レコードに基づいて顧客マスタ4bおよび商品マスタ6
aを参照し顧客名「山田」および単価「80」を得て、
売上票に売上高400(数量5×単価80)を出力す
る。
In step 84a, a sales slip is created for each customer name using the data obtained in each of the above steps. In the example of FIG. 1002, the customer master 4b and the product master 6
a, the customer name “Yamada” and the unit price “80” are obtained,
The sales amount 400 (quantity 5 × unit price 80) is output to the sales slip.

【0036】図7は本発明の実施の第二の形態を示すブ
ロック図である。同図において、本発明によるマスタテ
ーブル検索手段作成装置は、入力したテーブル定義情報
10aがデータテーブル定義情報およびマスタテーブル
定義情報のいずれであるかを識別する定義情報判別部1
1と、前記テーブル定義情報に基づきデータテーブル3
0またはマスタテーブル40を生成するテーブル生成部
12と、前記マスタテーブル定義情報に基づき前記マス
タテーブルを検索する検索関数50を生成する検索関数
生成部13とを備えるテーブル定義部10を有する。
FIG. 7 is a block diagram showing a second embodiment of the present invention. In the figure, a master table search means creating device according to the present invention provides a definition information discriminating unit 1 for identifying whether input table definition information 10a is data table definition information or master table definition information.
1 and a data table 3 based on the table definition information.
The table definition unit 10 includes a table generation unit 12 that generates 0 or a master table 40, and a search function generation unit 13 that generates a search function 50 that searches the master table based on the master table definition information.

【0037】上記のテーブル定義部10において、テー
ブル生成部12は図1に示すテーブル定義部1の機能を
実現しており、検索関数生成部13および定義情報判別
部11は図1に示すマスタテーブル定義部2の機能を実
現している。上記のように構成することによって、デー
タテーブルおよびマスタテーブルを含むテーブル定義機
能を統合的に取扱うことができる。
In the above-described table definition unit 10, the table generation unit 12 realizes the function of the table definition unit 1 shown in FIG. 1, and the search function generation unit 13 and the definition information discrimination unit 11 operate in the master table shown in FIG. The function of the definition unit 2 is realized. With the above configuration, a table definition function including a data table and a master table can be handled in an integrated manner.

【0038】[0038]

【発明の効果】以上、詳細に説明したように、本発明は
マスタテーブルを検索する手段をマスタテーブルの定義
情報から生成することができる。したがって、この手段
(検索関数)を利用することによって、開発者はマスタ
テーブルに直接アクセスせずにマスタテーブルのデータ
を取得できる。これにより、マスタテーブルの構造を意
識することなく、又マスタテーブルを検索するロジック
のコーディングをする必要なくマスタテーブルを利用す
ることができるという効果がある。
As described above, according to the present invention, the means for searching the master table can be generated from the definition information of the master table. Therefore, by using this means (search function), the developer can acquire the data of the master table without directly accessing the master table. As a result, there is an effect that the master table can be used without being aware of the structure of the master table and without having to code logic for searching the master table.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の実施の第一の形態を示すブロック図。FIG. 1 is a block diagram showing a first embodiment of the present invention.

【図2】マスタテーブル定義部の動作を示す説明図。FIG. 2 is an explanatory diagram showing an operation of a master table definition unit.

【図3】マスタテーブル検索関数の処理を示す流れ図。FIG. 3 is a flowchart showing processing of a master table search function.

【図4】本発明を利用したアプリケーションシステムの
例を示すブロック図。
FIG. 4 is a block diagram showing an example of an application system using the present invention.

【図5】本発明の具体例を示す説明図。FIG. 5 is an explanatory view showing a specific example of the present invention.

【図6】本発明の具体例を示す説明図(つづき)。FIG. 6 is an explanatory view showing a specific example of the present invention (continued).

【図7】本発明の実施の第二の形態を示すブロック図。FIG. 7 is a block diagram showing a second embodiment of the present invention.

【符号の説明】[Explanation of symbols]

1 テーブル定義部 2 マスタテーブル定義部 3 データテーブル 4,6 マスタテーブル 5,7 マスタテーブル検索関数 8 アプリケーションプログラム 1 Table definition part 2 Master table definition part 3 Data table 4, 6 Master table 5, 7 Master table search function 8 Application program

フロントページの続き (56)参考文献 特開 平7−110832(JP,A) 特開 平7−160558(JP,A) 特開 平6−223118(JP,A) 特開 平2−144671(JP,A) 特開 昭63−298626(JP,A) 特開 平7−73199(JP,A) 穂鷹良介,「図解コンピュータシリー ズ データベース入門」p.7,オーム 社(昭和53年12月25日)日経バイト D ECEMBER 1987,PP.183− 189,FIG1 (58)調査した分野(Int.Cl.6,DB名) G06F 17/30 G06F 12/00 512 Continuation of the front page (56) References JP-A-7-110832 (JP, A) JP-A-7-160558 (JP, A) JP-A-6-223118 (JP, A) JP-A-2-1444671 (JP) , A) JP-A-63-298626 (JP, A) JP-A-7-73199 (JP, A) Ryosuke Hotaka, "Introduction to Illustrated Computer Series Database" p. 7. Ohmsha (December 25, 1978) Nikkei Byte D ECEMBER 1987, PP. 183-189, FIG1 (58) Fields investigated (Int. Cl. 6 , DB name) G06F 17/30 G06F 12/00 512

Claims (7)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 データをコード化したコードを含むデー
タテーブルと,前記データと前記コードとの対応を示す
マスタテーブルとを有するデータベースシステムにおい
て、前記マスタテーブルを生成するときに前記マスタテ
ーブルを参照する検索関数を生成することを特徴とする
マスタテーブル検索手段生成装置。
1. In a database system having a data table including a code obtained by coding data and a master table indicating a correspondence between the data and the code, the master table is referred to when the master table is generated. A master table search means generating device for generating a search function.
【請求項2】 データをコード化したコードを含むデー
タテーブルと,前記データと前記コードとの対応を示す
マスタテーブルとを有するデータベースシステムにおい
て、マスタテーブルを規定する定義情報に従って前記マ
スタテーブルを生成するとともに前記マスタテーブルを
参照する検索関数を生成するマスタテーブル定義部を備
えることを特徴とするマスタテーブル検索手段生成装
置。
2. In a database system having a data table including a code obtained by coding data and a master table indicating a correspondence between the data and the code, the master table is generated according to definition information defining the master table. And a master table definition unit for generating a search function that refers to the master table.
【請求項3】 データをコード化したコードを含むデー
タテーブルと,前記データと前記コードとの対応を示す
マスタテーブルとを有するデータベースシステムにおい
て、任意の定義情報に従ってデータテーブルおよびマス
タテーブルをそれぞれ生成するテーブル定義部と、前記
マスタテーブルを規定する定義情報に従って前記マスタ
テーブルを参照する検索関数を生成するマスタテーブル
定義部とを備えることを特徴とするマスタテーブル検索
手段生成装置。
3. In a database system having a data table including a code obtained by coding data and a master table indicating a correspondence between the data and the code, a data table and a master table are generated according to arbitrary definition information. A master table search means generation device, comprising: a table definition unit; and a master table definition unit that generates a search function that refers to the master table according to definition information that defines the master table.
【請求項4】 請求項3記載のマスタテーブル検索手段
生成装置において、前記マスタテーブル定義部はマスタ
テーブルを規定する定義情報を入力して前記マスタテー
ブルを参照する検索関数を送出するとともに前記定義情
報を前記テーブル定義部へ送付し、前記テーブル定義部
は前記定義情報に基づいてマスタテーブルを生成するこ
とを特徴とするマスタテーブル検索手段生成装置。
4. The master table search means generating apparatus according to claim 3, wherein said master table definition section inputs definition information defining a master table, sends out a search function referring to said master table, and outputs said definition information. Is sent to the table definition unit, and the table definition unit generates a master table based on the definition information.
【請求項5】 請求項2,3,または4記載のマスタテ
ーブル検索手段生成装置において、前記マスタテーブル
定義部はマスタテーブルの検索されるデータのデータ型
に対応して文字列型の検索関数または数値型の検索関数
を生成することを特徴とするマスタテーブル検索手段生
成装置。
5. The master table search means generating apparatus according to claim 2, wherein said master table definition unit includes a character string type search function or a character string type search function corresponding to a data type of data to be searched for in a master table. A master table search means generating device for generating a numerical search function.
【請求項6】 請求項1記載のマスタテーブル検索手段
生成装置において、前記検索関数はマスタテーブルの検
索されるデータのデータ型に対応して文字列型または数
値型であることを特徴とするマスタテーブル検索手段生
成装置。
6. The master table search means generating apparatus according to claim 1, wherein said search function is a character string type or a numeric type corresponding to a data type of data to be searched for in a master table. Table search means generation device.
【請求項7】 入力したテーブル定義情報がデータテー
ブル定義情報およびマスタテーブル定義情報のいずれで
あるかを識別する定義情報判別部と、前記テーブル定義
情報に基づきデータテーブルまたはマスタテーブルを生
成するテーブル生成部と、前記マスタテーブル定義情報
に基づき前記マスタテーブルを検索する検索関数を生成
する検索関数生成部とを備えるテーブル定義部を有する
ことを特徴とするマスタテーブル検索手段生成装置。
7. A definition information discriminator for identifying whether the input table definition information is data table definition information or master table definition information, and table generation for generating a data table or a master table based on the table definition information. A master table search means generation apparatus, comprising: a table definition unit including a unit and a search function generation unit that generates a search function for searching the master table based on the master table definition information.
JP8256441A 1996-09-27 1996-09-27 Master table search means generator Expired - Fee Related JP2943720B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8256441A JP2943720B2 (en) 1996-09-27 1996-09-27 Master table search means generator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8256441A JP2943720B2 (en) 1996-09-27 1996-09-27 Master table search means generator

Publications (2)

Publication Number Publication Date
JPH10105564A JPH10105564A (en) 1998-04-24
JP2943720B2 true JP2943720B2 (en) 1999-08-30

Family

ID=17292707

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8256441A Expired - Fee Related JP2943720B2 (en) 1996-09-27 1996-09-27 Master table search means generator

Country Status (1)

Country Link
JP (1) JP2943720B2 (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
穂鷹良介,「図解コンピュータシリーズ データベース入門」p.7,オーム社(昭和53年12月25日)日経バイト DECEMBER 1987,PP.183−189,FIG1

Also Published As

Publication number Publication date
JPH10105564A (en) 1998-04-24

Similar Documents

Publication Publication Date Title
US6954748B2 (en) Remote data access and integration of distributed data sources through data schema and query abstraction
US6502112B1 (en) Method in a computing system for comparing XMI-based XML documents for identical contents
US6928431B2 (en) Dynamic end user specific customization of an application's physical data layer through a data repository abstraction layer
US9171056B2 (en) System and method for retrieving and normalizing product information
US7096229B2 (en) Dynamic content generation/regeneration for a database schema abstraction
US8886617B2 (en) Query-based searching using a virtual table
US7269593B2 (en) Data processing apparatus and method
US7089235B2 (en) Method for restricting queryable data in an abstract database
US20080071777A1 (en) Iterative data analysis enabled through query result abstraction
EP1639503A1 (en) A data processing method and system
JP3452531B2 (en) Method and system for data mining
US7668807B2 (en) Query rebinding for high-availability database systems
US20210390102A1 (en) Query generation from a natural language input
US7085760B2 (en) Data query differential analysis
JP4855080B2 (en) Schema integration support apparatus, schema integration support method of schema integration support apparatus, and schema integration support program
CN115080537A (en) Multi-tenant data partitioning method, program product and electronic device
JP5789236B2 (en) Structured document analysis method, structured document analysis program, and structured document analysis system
JPH11265395A (en) Data base access system
JP2943720B2 (en) Master table search means generator
KR20020066151A (en) Spatial information distributing system based on open gis and method thereof
JP2785317B2 (en) Software standardization method
JP2605402B2 (en) Data derivation method in dictionary system
JP3289003B2 (en) Database search device and database search method
JP2004013906A (en) Multiple database heterogeneity elimination searching method and device, and recording medium recorded with multiple database heterogeneity elimination searching program
JPH05314190A (en) Normalized data base extracting condition interface system

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19990525

LAPS Cancellation because of no payment of annual fees