JPH0362241A - Generation system for table name train data - Google Patents
Generation system for table name train dataInfo
- Publication number
- JPH0362241A JPH0362241A JP1198201A JP19820189A JPH0362241A JP H0362241 A JPH0362241 A JP H0362241A JP 1198201 A JP1198201 A JP 1198201A JP 19820189 A JP19820189 A JP 19820189A JP H0362241 A JPH0362241 A JP H0362241A
- Authority
- JP
- Japan
- Prior art keywords
- record
- directory information
- table name
- storage means
- input
- 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
Links
- 238000000605 extraction Methods 0.000 claims description 22
- 238000000034 method Methods 0.000 claims description 20
- 239000000284 extract Substances 0.000 abstract description 3
- 238000010586 diagram Methods 0.000 description 8
- 238000004590 computer program Methods 0.000 description 2
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Description
〔産業上の利用分野〕
本発明は同一形式のレコードの集まりである表のレコー
ドすべてについて新たな項目(フィールド)およびデー
タを追加する方式に関し、特に同一形式のレコードの集
まりの名称である表名を各レコード中にデータとして挿
入する表名列データ生成方式に関する。
〔従来の技術〕
従来、同一形式のレコードの集まりを表す表名はレコー
ド自体の中には存在しておらず、もし表名を新たな項目
(列〉のデータとしてレコード中に挿入する場合には、
利用者が項目に関するディレクトリ情報を定義したり、
表名を列データとして1つ1つ入力したりしなければな
らなかった。
〔発明が解決しようとする課題〕
上述した従来の技術では、表名がレコード中に存在しな
かったので、表名を列データとしてレコード中に明示的
に挿入しなければ、複数の表のレコードを1つの表にま
とめたときにどのレコードがどの表からのものなのかが
わからなくなってしまったり、表名を条件として指定す
ることができなくなったりするという欠点がある。
また、明示的に表名を列データとしてレコード中に挿入
するときには、挿入する表名列のディレクトリ情報およ
び列データを明示的に指定しなければならず、手間がか
かるという欠点がある。
本発明の目的は、上述の点に鑑み、表名列データ生成コ
マンドが入力されたときに表名を列データとして保持す
る新たな列のディレクトリ情報を表のディレクトリ情報
に追加して表名を表中の各レコードに挿入することによ
り、表名列データの生成後の複数の表のレコードを同一
の表にまとめたときに各レコードがどの表から取り出さ
れてきたものかを識別可能とし、レコードの表名列に対
して表の他の項目と同様の条件を指定可能にする表名列
データ生成方式を提供することにある。
〔課題を解決するための手段〕
本発明の表名列データ生成方式は、コマンドを入力する
入力手段と、この入力手段から入力されたコマンドを解
析して表名をデータとして新たに列データを生成する表
名列データ生成コマンドを識別するコマンド解析手段と
、一定形式のレコードを1つの表として記憶するレコー
ド記憶手段と、このレコード記憶手段に記憶されている
表全体およびレコードの各項目のディレクトリ情報を記
憶するディレクトリ情報記憶手段と、前記コマンド解析
手段から入力した対象表識別情報をもとに前記ディレク
トリ情報記憶手段から対象とする表全体のディレクトリ
情報を取り出す表名抽出手段と、前記コマンド解析手段
から入力した対象表識別情報をも乙に前記ディレクトリ
情報記憶手段から対象表のディレクトリ情報を入力し表
名列のディレクトリ情報を追加して前記ディレクトリ記
憶手段に記tすされている対象表のディレクトリ情報を
更新するディレクトリ情報更新手段と、前記コマンド解
析手段から入力した対象表識別情報をもとに前記レコー
ド記憶手段に記憶されている対象表のレコードを抽出し
抽出した各レコードに前記表名抽出手段により抽出され
た表名列データを追加して前記レコード記憶手段に記憶
されているレコードを更新するレコード更新手段とを有
する。[Industrial Application Field] The present invention relates to a method for adding new items (fields) and data to all records in a table that is a collection of records in the same format, and particularly relates to a method for adding new items (fields) and data to all records in a table that is a collection of records in the same format. This paper relates to a table name column data generation method that inserts data into each record as data. [Prior Art] Conventionally, a table name representing a collection of records in the same format did not exist in the record itself, and if the table name was inserted into the record as new item (column) data, teeth,
Users can define directory information about items,
I had to enter table names one by one as column data. [Problem to be Solved by the Invention] In the conventional technology described above, the table name did not exist in the record, so unless the table name was explicitly inserted into the record as column data, records of multiple tables could be The disadvantages are that when the records are combined into one table, it becomes difficult to tell which records come from which table, and it becomes impossible to specify the table name as a condition. Furthermore, when explicitly inserting a table name into a record as column data, the directory information and column data of the table name column to be inserted must be explicitly specified, which is a disadvantage in that it is time consuming. In view of the above points, an object of the present invention is to add directory information of a new column that holds the table name as column data to the directory information of the table when a table name column data generation command is input. By inserting it into each record in the table, when records from multiple tables are combined into the same table after table name column data is generated, it is possible to identify which table each record was retrieved from. The object of the present invention is to provide a table name column data generation method that allows the same conditions as for other items in a table to be specified for the table name column of a record. [Means for Solving the Problems] The table name column data generation method of the present invention includes an input means for inputting a command, and a command input from the input means is analyzed to generate new column data using the table name as data. A command analysis means for identifying a table name column data generation command to be generated, a record storage means for storing records in a fixed format as one table, and a directory for the entire table and each item of the record stored in this record storage means. a directory information storage means for storing information, a table name extraction means for extracting directory information of the entire target table from the directory information storage means based on the target table identification information input from the command analysis means, and the command analysis means. The target table identification information input from the means is inputted into the directory information of the target table from the directory information storage means, and the directory information of the table name column is added to the target table recorded in the directory storage means. Directory information updating means for updating directory information; extracting records of the target table stored in the record storage means based on the target table identification information input from the command analysis means; and assigning the table name to each extracted record. and record updating means for updating the record stored in the record storage means by adding the table name column data extracted by the extraction means.
本発明の表名列データ生成方式では、入力手段がコマン
ドを入力し、コマンド解析手段が入力手段から入力され
たコマンドを解析して表名をデータとして新たに列デー
タを生成する表名列データ生成コマンドを識別し、レコ
ード記憶手段が一定形式のレコードを1つの表として記
憶し、ディレクトリ情報記憶手段がレコード記憶手段に
記憶されている表全体およびレコードの各項目のディレ
クトリ情報を記憶し、表名抽出手段がコマンド解析手段
から入力した対象表識別情報をもとにディレクトリ情報
記憶手段から対象とする表全体のディレクトリ情報を取
り出し、ディレクトリ情報更新手段がコマンド解析手段
から入力した対象表識別情報をもとにディレクトリ情報
記憶手段から対象表のディレクトリ情報を入力し表名列
のディレクトリ情報を追加してディレクトリ記憶手段に
記憶されている対象表のディレクトリ1#1報を更新し
、レコード更新手段がコマンド解析手段から入力した対
象表識別情報をもとにレコード記憶手段に記憶されてい
る対象表のレコードを抽出し抽出した各レコードに表名
抽出手段により抽出された表名列データを追加してレコ
ード記憶手段に記憶されているレコーFを更新する。
〔実施例〕
次に、本発明について図を参照しながら詳細に説明する
。
第1図は、本発明の一実施例に係る表名列データ生成方
式のfit或を示すプロンク図である。本実施例の表名
列データ生成方式は、入力手段11と、コマンド解析手
段12と、レコード記憶手段13と、ディレクトリ情報
記憶手段14と、表名抽出手段15と、ディレクトリ情
報更新手段16と、レコード更新手段17とから構成さ
れている。
入力手段11は、表のデータおよびディレクトリに関す
る操作を行うためのコマンドを入力する手段である。
コマンド解析手段12は、入力手段11から入力された
コマンドを解析し、指定された機能を果たす手段に対象
表識別情報を出力する手段である。
第2図を参照すると、表名列データ生成コマンドが入力
されたときのコマンド解析手段12の処理は、コマンド
解析ステップ201と、表名列データ生成コマンド判定
ステップ202と、表名抽出手段への対象表識別情報出
力ステップ203と、ディレクトリ情報更新手段への対
象表識別情報出力ステップ204と、レコード更新手段
への対象表識別情報出力ステップ205とからなる。
レコード記憶手段13は、検索、更新等の対象となるレ
コードを保持している手段である。
ディレクトリ18報記憶手段14は、レコード記憶手段
13に記憶されているレコードの各項目および表全体に
関係するディレクトリ情報を保持している手段である。
表名抽出手段15は、コマンド解析手段12が表名列デ
ータ生成コマンドを識別したときに呼び出され、ディレ
クトリ情報記憶手段14から対象の表全体に関するディ
レクトリ情報を抽出する手段である。第3図を参照する
と、表名抽出手段15における処理は、コマンド解析手
段からの対象表識別情報入力ステップ301と、ディレ
クトリ情報記憶手段からの対象表の表全体のディレクト
リ情報入力ステップ302と、対象表の表全体のディレ
クトリ情報のレコード更新手段への出力ステップ303
とからなる。
ディレクトリ情報更新手段16は、コマンド解析手段1
2から対象表識別情報を入力し、入力した対象表識別情
報をもとにディレクトリ情報記憶手段14に記憶されて
いるディレクトリ情報に新たな列のディレクトリ情報を
末尾の列のディレクトリ情報として追加し、追加後のデ
ィレクトリ情報でディレクトリ情報記憶手段14に記憶
されているディレクトリ情報を更新する手段である。第
4図を参照すると、ディレクトリ情報更新手段16にお
ける処理は、コマンド解析手段からの対象表識別情報入
力ステ7プ401と、ディレクトリ情報記憶手段からの
対象表ディレクトリ情報人カステップ402と、表名列
追加ディレクトリ情報作成ステップ403と、ディレク
トリ情報記憶手段のディレクトリ情報更新ステップ40
4とからなる。
レコード更新手段17は、表名抽出手段15により抽出
された表名をもとにレコード記憶手段13に記憶されて
いる対象表のすべてのレコードに末尾の項目として表名
を追加し、表名を追加した後のレコードでレコード記憶
手段13のレコードを更新する手段である。第5図を参
照すると、レコード更新手段17に゛おける処理は、コ
マンド解析手段からの対象表識別情報入力ステップ50
1と、表名抽出手段からの対象表ディレクトリ情報入カ
ステップ502と、レコード記憶手段からの対象表レコ
ード入力ステップ503と、対象表レコード終了判定ス
テップ504と、表名列データのレコード追加ステップ
505と、レコード記憶手段のレコード更新ステップ5
06とからなる。
次に、このように構成された本実施例の表名列データ生
成方式の動作について説明する。
入力手段11からコマンドが入力されると、コマンド解
析手段12は、入力手段11から入力されたコマンドを
解析しくステップ201)、表名列データ生成コマンド
であるかどうかを判定しくステップ202)、表名列デ
ータ生成コマンドでなければ処理を終了し、表名列デー
タ生成コマンドであれば表名抽出手段15に対象表識別
情報を出力しくステップ203)、ディレクトリ情報更
新手段16に対象表識別情報を出力しくステンプ204
)、レコード更新手段17に対象表識別情報を出力しく
ステップ205)、処理を終了する。
表名抽出手段15は、コマンド解析手段12から対象表
識別情報を入力しくステップ301)、ディレクトリ情
報記憶手段14から対象表の表全体のディレクトリ情報
を入力しくステップ302)、対象表の表全体のディレ
クトリ情報をレコード更新手段17に出力しくステップ
303)、処理を終了する。
ディレクトリ情報更新手段16は、コマンド解析手段1
2から対象表識別情報を入力しくステップ401)、デ
ィレクトリ情報記憶手段14から対象表のディレクトリ
情報を入力しくステップ402)、表名列のディレクト
リ情報を末尾の列のディレクトリ情報として追加した新
しいディレクトリ情報を作成しくステップ403)、作
成したディレクトリ情報でディレクトリ情報記憶手段1
4に記憶されているディレクトリ情報を更新しくステッ
プ404)、処理を終了する。
レコード更新手段17は、コマンド解析手段12から対
象表識別情報を入力しくステップ501〉、表名抽出手
段15から対象表の表全体のディレクトリ情報を入力し
くステップ502)、レコード記憶手段13から対象表
のレコードを入力しくステップ503)、対象表のレコ
ードの終了かどうかを判断しくステップ504)、レコ
ードの終了であれば処理を終了し、レコードの終了でな
ければ対象表の表全体のディレクトリ情報中の表名をレ
コードの末尾の項目の表名列データとしてレコードに追
加しくステップ505)、表名列データの追加後のレコ
ードでレコード記憶手段13に記憶されているレコード
を更新しくステップ506)、ステップ503にI11
御を戻す。
次に、本実施例の表名列データ生成方式の動作について
、第6図〜第11図を参照しながらより具体的に説明す
る。なお、ここでは、例えば、入力手段11をキーボー
ド、コマンド解析手段12をコンピュータのプログラム
、レコード記憶手段13およびディレクトリ情報記憶手
段14を磁気ディスクを使ったリレーショナルデータベ
ース管理システム、表名抽出手段15.ディレクトリ情
報更新手段16およびレコード更新手段17をすべてコ
ンピュータのプログラムと想定することができる。
レコード記憶手段13が記憶している第6図に示すよう
な表に対して入力手段11を通して表名列データ生成コ
マンドが入力されると、コマンド解析手段12は、“東
京部民”という表名を対象表識別情報として表名抽出手
段15.ディレクトリ情報記憶手段16およびレコード
更新手段17に出力する。
表名抽出手段15は、ディレクトリ情報記憶手段14に
記憶されている第7図に示すようなディレクトリ情報か
ら、第8図に示すような表全体のディレクトリ情報を抽
出し、これをレコード更新手段17に出力する。
ディレクトリ情報更新手段16は、コマンド解析手段1
2から入力された“東京部民”という表名をもとに、デ
ィレクトリ情報記憶手段14からディレクトリ情報をサ
ーチし、第9図に示すように第4列のディレクトリ情報
(列定義情報)を作成し、表全体の項目名等を第4列の
列名等にし、ディレクトリ情報記憶手段14に記憶され
ているディレクトリ情報を更新する。
レコード更新手段17は、コマンド解析手段12から入
力した“東京部民”という表名をもとにレコード記憶手
段13から対象表のレコードを取り出し、第4列のデー
タとして“東京部民”というデータを全てのレコードに
ついて挿入し、第10図に示すような新しい表を作成す
る。
このようにして作成された新たな表と別の表名列データ
生成コマンドにより得られた別の表とを第11図に示す
ように1つの表にまとめても、各レコードに表名列デー
タが挿入されているので、どのレコードがどの表から得
られたものであるかが識別できる。
〔発明の効果〕
辺上説明したように本発明は、表名列データ生成コマン
ドで表名をデータとして持つレコードを生成することに
より、利用者が明示的に表名を列データとしてレコード
中に挿入する手間をかけることなしに、複数の表のレコ
ードを1つの表にまとめたときにコマンドの入力のみで
各レコードがどの表から出てきたものかを識別すること
ができ、条件中に表名を指定することが可能になるとい
う効果がある。In the table name column data generation method of the present invention, the input means inputs a command, and the command analysis means analyzes the command input from the input means to generate new column data using the table name as data. A generation command is identified, the record storage means stores records in a fixed format as one table, the directory information storage means stores directory information of the entire table stored in the record storage means and each item of the record, The name extraction means retrieves the directory information of the entire target table from the directory information storage means based on the target table identification information input from the command analysis means, and the directory information update means extracts the directory information of the entire target table from the directory information storage means based on the target table identification information input from the command analysis means. The record updating means inputs the directory information of the target table from the directory information storage means and adds the directory information of the table name column to update the directory 1#1 information of the target table stored in the directory storage means. Based on the target table identification information input from the command analysis means, records of the target table stored in the record storage means are extracted, and table name column data extracted by the table name extraction means is added to each extracted record. Update record F stored in record storage means. [Example] Next, the present invention will be described in detail with reference to the drawings. FIG. 1 is a diagram showing the fit of a table name column data generation method according to an embodiment of the present invention. The table name column data generation method of this embodiment includes an input means 11, a command analysis means 12, a record storage means 13, a directory information storage means 14, a table name extraction means 15, a directory information update means 16, It is composed of record updating means 17. The input means 11 is means for inputting commands for performing operations regarding table data and directories. The command analysis means 12 is a means for analyzing a command input from the input means 11 and outputting target table identification information to a means that performs a designated function. Referring to FIG. 2, when a table name column data generation command is input, the processing of the command analysis means 12 includes a command analysis step 201, a table name column data generation command judgment step 202, and a process to the table name extraction means. It consists of a step 203 for outputting target table identification information, a step 204 for outputting target table identification information to the directory information updating means, and a step 205 for outputting target table identification information to the record updating means. The record storage means 13 is means for holding records to be searched, updated, etc. The directory 18 information storage means 14 is means for holding directory information related to each item of the record stored in the record storage means 13 and the entire table. The table name extraction means 15 is called when the command analysis means 12 identifies a table name string data generation command, and is means for extracting directory information regarding the entire target table from the directory information storage means 14. Referring to FIG. 3, the processing in the table name extraction means 15 includes a step 301 of inputting target table identification information from the command analysis means, a step 302 of inputting directory information of the entire target table from the directory information storage means, and a step 302 of inputting directory information of the entire target table from the directory information storage means. Step 303 of outputting directory information of the entire table to the record updating means
It consists of. The directory information update means 16 is the command analysis means 1
input the target table identification information from 2, add a new column of directory information as the last column of directory information to the directory information stored in the directory information storage means 14 based on the input target table identification information, This is means for updating the directory information stored in the directory information storage means 14 with added directory information. Referring to FIG. 4, the process in the directory information updating means 16 includes a step 401 for inputting target table identification information from the command analysis means, a step 402 for inputting target table directory information from the directory information storage means, and a step 402 for inputting table name information from the directory information storage means. Column addition directory information creation step 403 and directory information update step 40 of directory information storage means
It consists of 4. The record update means 17 adds the table name as the last item to all records of the target table stored in the record storage means 13 based on the table name extracted by the table name extraction means 15, and This is means for updating the record in the record storage means 13 with the added record. Referring to FIG. 5, the process in the record update means 17 includes a step 50 of inputting target table identification information from the command analysis means.
1, step 502 of inputting target table directory information from table name extraction means, step 503 of inputting target table record from record storage means, step 504 of determining end of target table record, and step 505 of adding record of table name column data. and record update step 5 of the record storage means.
It consists of 06. Next, the operation of the table name column data generation method of this embodiment configured as described above will be explained. When a command is input from the input means 11, the command analysis means 12 analyzes the command input from the input means 11 (step 201), determines whether it is a table name column data generation command (step 202), and If the command is not a name column data generation command, the process is terminated, and if it is a table name column data generation command, the target table identification information is output to the table name extraction means 15 (step 203), and the target table identification information is output to the directory information update means 16. Output step 204
), the target table identification information is output to the record updating means 17 (step 205), and the process ends. The table name extraction means 15 inputs the target table identification information from the command analysis means 12 (step 301), inputs the directory information of the entire table of the target table from the directory information storage means 14 (step 302), and inputs the directory information of the entire table of the target table (step 302). The directory information is output to the record updating means 17 (step 303), and the process ends. The directory information update means 16 is the command analysis means 1
Step 401) to input the target table identification information from 2), step 402) to input the directory information of the target table from the directory information storage means 14, and new directory information in which the directory information in the table name column is added as the directory information in the last column. Step 403), the directory information storage means 1 is created using the created directory information.
The directory information stored in step 404 is updated (step 404), and the process ends. The record updating means 17 inputs the target table identification information from the command analysis means 12 (step 501), inputs the directory information of the entire table of the target table from the table name extraction means 15 (step 502), and inputs the target table from the record storage means 13 (step 502). Step 503) to input the record of the target table, and determine whether or not the record of the target table has ended.Step 504), if the record has ended, the process ends; Add the table name to the record as table name column data of the last item of the record (step 505), update the record stored in the record storage means 13 with the record after adding the table name column data (step 506), I11 in step 503
return control. Next, the operation of the table name column data generation method of this embodiment will be explained in more detail with reference to FIGS. 6 to 11. Here, for example, the input means 11 is a keyboard, the command analysis means 12 is a computer program, the record storage means 13 and the directory information storage means 14 are a relational database management system using magnetic disks, the table name extraction means 15. It is possible to assume that the directory information updating means 16 and the record updating means 17 are all computer programs. When a table name column data generation command is input through the input means 11 for a table as shown in FIG. Table name extraction means 15. using as target table identification information. The information is output to the directory information storage means 16 and the record updating means 17. The table name extraction means 15 extracts the directory information of the entire table as shown in FIG. 8 from the directory information as shown in FIG. Output to. The directory information update means 16 is the command analysis means 1
Based on the table name "Tokyo residents" input from step 2, directory information is searched from the directory information storage means 14, and the fourth column of directory information (column definition information) is created as shown in FIG. Then, the item names of the entire table are changed to the column names of the fourth column, and the directory information stored in the directory information storage means 14 is updated. The record updating means 17 retrieves the record of the target table from the record storage means 13 based on the table name "Tokyo residents" inputted from the command analysis means 12, and stores the data "Tokyo residents" as the fourth column data. is inserted for all records, and a new table as shown in FIG. 10 is created. Even if the new table created in this way and another table obtained by another table name column data generation command are combined into one table as shown in Figure 11, each record will have table name column data. is inserted, so you can identify which records come from which tables. [Effects of the Invention] As explained above, the present invention allows the user to explicitly write the table name into the record as column data by generating a record with the table name as data using the table name column data generation command. When records from multiple tables are combined into one table, you can identify which table each record comes from just by entering a command, without having to go through the trouble of inserting records into a condition. This has the effect of making it possible to specify a name.
第1図は本発明の一実施例に係る表名列データ生成方式
の構成を示すブロフク図、
第2図は第1図中のコマンド解析手段の表名列データ生
成コマンドの入力時の処理を示す流れ図、第3図は第1
図中の表名抽出手段の処理を示す流れ図、
第4図は第1図中のディレクトリ情報更新手段の処理を
示す流れ図、
第5図は第1図中のレコード更新手段の処理を示す流れ
図、
第6図は表名列データ生成の対象となる表の一例を示す
図、
第7図は第6図に示した表のディレクトリ情報の一例を
示す図、
第8図は第7図に示したディレクトリ情報から第1図中
の表名抽出手段により抽出された表全体のディレクトリ
情報の一例を示す図、
第9図は第7図に示したディレクトリ情報に対して第1
図中のディレクトリ情報更新手段により表名列のディレ
クトリ情報が末尾に追加されたディレクトリ情報の一例
を示す図、
第1O図は第6図に示した表に対して第1図中のレコー
ド更新手段により末尾に表名列データを追加された表の
一例を示す図、
第11図は第10図に示した表と第10図と同様にして
作成された表とを1つの表にまとめた一例を示す図であ
る。
図において、
11・・・入力手段、
12・・・コマンド解析手段、
13・・・レコード記憶手段、
14・・・ディレクトリ情報記憶手段、15・・・表名
抽出手段、
16・・・ディレクトリ情報更新手段、17・・・レコ
ード更新手段である。FIG. 1 is a block diagram showing the configuration of a table name column data generation method according to an embodiment of the present invention, and FIG. 2 shows the processing when a table name column data generation command is input to the command analysis means in FIG. The flowchart shown in Figure 3 is
4 is a flowchart showing the processing of the table name extraction means in FIG. 1; FIG. 5 is a flowchart showing the processing of the record updating means in FIG. 1; Figure 6 is a diagram showing an example of a table for which table name column data is generated. Figure 7 is a diagram showing an example of directory information for the table shown in Figure 6. Figure 8 is a diagram showing an example of directory information for the table shown in Figure 7. A diagram showing an example of the directory information of the entire table extracted from the directory information by the table name extraction means in FIG. 1.
A diagram showing an example of directory information in which the directory information in the table name column is added to the end by the directory information updating means in the diagram. Figure 1O is the record updating means in Figure 1 for the table shown in Figure 6 Figure 11 is an example of a table in which the table shown in Figure 10 and a table created in the same way as Figure 10 are combined into one table with table name column data added to the end by FIG. In the figure, 11... Input means, 12... Command analysis means, 13... Record storage means, 14... Directory information storage means, 15... Table name extraction means, 16... Directory information Update means, 17: record update means.
Claims (1)
データとして新たに列データを生成する表名列データ生
成コマンドを識別するコマンド解析手段と、 一定形式のレコードを1つの表として記憶するレコード
記憶手段と、 このレコード記憶手段に記憶されている表全体およびレ
コードの各項目のディレクトリ情報を記憶するディレク
トリ情報記憶手段と、 前記コマンド解析手段から入力した対象表識別情報をも
とに前記ディレクトリ情報記憶手段から対象とする表全
体のディレクトリ情報を取り出す表名抽出手段と、 前記コマンド解析手段から入力した対象表識別情報をも
とに前記ディレクトリ情報記憶手段から対象表のディレ
クトリ情報を入力し表名列のディレクトリ情報を追加し
て前記ディレクトリ記憶手段に記憶されている対象表の
ディレクトリ情報を更新するディレクトリ情報更新手段
と、 前記コマンド解析手段から入力した対象表識別情報をも
とに前記レコード記憶手段に記憶されている対象表のレ
コードを抽出し抽出した各レコードに前記表名抽出手段
により抽出された表名列データを追加して前記レコード
記憶手段に記憶されているレコードを更新するレコード
更新手段とを有することを特徴とする表名列データ生成
方式。[Scope of Claims] An input means for inputting a command, and a command analysis means for identifying a table name column data generation command for analyzing the command input from the input means and generating new column data using the table name as data. a record storage means for storing records in a fixed format as one table; a directory information storage means for storing directory information of the entire table and each item of the record stored in the record storage means; and the command analysis means. table name extraction means for extracting the directory information of the entire target table from the directory information storage means based on the target table identification information input from the command analysis means; Directory information updating means inputting directory information of the target table from the information storage means and adding directory information of a table name column to update the directory information of the target table stored in the directory storage means; and from the command analysis means. Based on the input target table identification information, records of the target table stored in the record storage means are extracted, table name column data extracted by the table name extraction means is added to each extracted record, and the table name column data extracted by the table name extraction means is added to the extracted records. 1. A table name column data generation method comprising: record updating means for updating records stored in storage means.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1198201A JPH0362241A (en) | 1989-07-31 | 1989-07-31 | Generation system for table name train data |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1198201A JPH0362241A (en) | 1989-07-31 | 1989-07-31 | Generation system for table name train data |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH0362241A true JPH0362241A (en) | 1991-03-18 |
Family
ID=16387162
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP1198201A Pending JPH0362241A (en) | 1989-07-31 | 1989-07-31 | Generation system for table name train data |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0362241A (en) |
-
1989
- 1989-07-31 JP JP1198201A patent/JPH0362241A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP4045399B2 (en) | Structured document management apparatus and structured document management method | |
| CN110334326B (en) | A kind of method and system for identifying recipe file and being converted into XML file | |
| US7792851B2 (en) | Mechanism for defining queries in terms of data objects | |
| AU4098700A (en) | Circuit arrangement for measuring the resistances of a pressure-sensitive resistance mat | |
| JP2003162545A (en) | File search device, index file creation device, and file search program | |
| US20040078355A1 (en) | Information management system | |
| JP3529301B2 (en) | Automatic data file converter | |
| CN109739835A (en) | Method and device for saving data version | |
| JPH0232470A (en) | Thesaurus editing device | |
| JPH11161656A (en) | Database search / extraction system and recording medium storing database search / extraction control program | |
| JPS6284337A (en) | Specification information analysis method | |
| CA2359079A1 (en) | Program reproducing method and device, and medium on which a program for program reproduction recording | |
| JPH04319771A (en) | On-line information retrieving/updating system | |
| JP2000322295A (en) | Programming support method and apparatus for database stored subprogram | |
| US7873659B2 (en) | Database management system, database management method and database management program | |
| JP2798147B2 (en) | Database input / output method and input / output device | |
| JP2641402B2 (en) | DML object management method | |
| JP2008077285A (en) | SQL management system, SQL management method and program | |
| JPH09101886A (en) | Automatic extraction / reuse device for program parts | |
| JPH11195036A (en) | Component part information search device, component part information search method, and storage medium | |
| JPH01286020A (en) | Program retrieving system | |
| JPH02112024A (en) | Program processing pattern estimation method | |
| JP2002183142A (en) | Data storage device, data storage method, and computer-readable recording medium storing program for causing computer to execute data storage method | |
| JPH02141828A (en) | Correspondence definition support method between expert system and database system and knowledge processing system using the same | |
| JPH06203078A (en) | Information retrieval method and device |