JPH09167163A - System for generating table of relational database - Google Patents

System for generating table of relational database

Info

Publication number
JPH09167163A
JPH09167163A JP7348458A JP34845895A JPH09167163A JP H09167163 A JPH09167163 A JP H09167163A JP 7348458 A JP7348458 A JP 7348458A JP 34845895 A JP34845895 A JP 34845895A JP H09167163 A JPH09167163 A JP H09167163A
Authority
JP
Japan
Prior art keywords
column
view
detail
master
data type
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
JP7348458A
Other languages
Japanese (ja)
Inventor
Toru Nishikawa
徹 西川
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
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP7348458A priority Critical patent/JPH09167163A/en
Publication of JPH09167163A publication Critical patent/JPH09167163A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To easily associate a detail table and a master table and to improve operability for generating the tables. SOLUTION: A view design means 11 designs the view of a table to be finally generated and a string designation means 12 designates the string to which same data is repetitively inputted among the strings of the designed view. An ID addition means 13 automatically adds ID to the designated string. A detail table/master table design means 14 combines the strings of the view of the table by using added ID, designs the detail table and the master table. A view generation means 15 generates the view of the table from the designed detail table and the master table.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明はリレーショナルデー
タベースのテーブル作成方式に関し、特にユーザインタ
ーフェースによりテーブルを自動生成するリレーショナ
ルデータベースのテーブル作成方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a relational database table generation method, and more particularly to a relational database table generation method for automatically generating a table by a user interface.

【0002】従来、この種のリレーショナルデータベー
スのテーブル作成方法では、最終的に生成したいテーブ
ルのビューを机上で設計し、それに基づいてディテール
テーブルおよびマスタテーブルを作成していた。このと
き、テーブル全体のデータ容量をできるだけ小さくする
ため、繰り返し入力される列については、一意的な番号
(以下、IDと略記する)を関連付けるためにディテー
ルテーブルを定義し、そのIDを使ってディテールテー
ブルとマスタテーブルとの関連付けを行っていた。
Conventionally, in this kind of relational database table creating method, a view of a table to be finally created is designed on a desk, and a detail table and a master table are created based on the designed view. At this time, in order to make the data capacity of the entire table as small as possible, a detail table is defined to associate a unique number (hereinafter abbreviated as ID) with the column that is repeatedly input, and the detail table is defined using that ID. The table was associated with the master table.

【0003】よって、従来のリレーショナルデータベー
スのテーブル作成方法では、マスタテーブルと関連が付
くようにディテールテーブルを作成する段階で、テーブ
ルの列名およびデータ型を一致させるように事前に設計
する必要があった。
Therefore, in the conventional relational database table creation method, at the stage of creating the detail table so as to be associated with the master table, it is necessary to design in advance so that the column names and data types of the table match. It was

【0004】次に、従来のリレーショナルデータベース
のテーブル作成方法について、図6および図7を参照し
て具体的に説明する。
Next, a conventional relational database table creating method will be described in detail with reference to FIGS. 6 and 7.

【0005】まず最初に、最終的に生成したいテーブル
のビュー71を机上で設計し、設計したビュー71を元
に同じデータが繰り返し入力される列をオペレータが検
討し、テーブル設計画面70上でマスタテーブル72を
設計する(ステップS201)。図7の例では、同じデ
ータが繰り返し入力される列は「ID_1」および「I
D_2」の名前となっている。
First, a view 71 of a table to be finally generated is designed on a desk, an operator considers a column to which the same data is repeatedly input based on the designed view 71, and a master is displayed on the table design screen 70. The table 72 is designed (step S201). In the example of FIG. 7, the columns in which the same data is repeatedly input are “ID_1” and “I
The name is "D_2".

【0006】次に、このマスタテーブル72の「ID_
1」および「ID_2」と同じ名前および同じデータ型
を持つディテールテーブル73および74を設計する
(ステップS202およびステップS203)。
Next, the "ID_
The detail tables 73 and 74 having the same names and the same data types as "1" and "ID_2" are designed (steps S202 and S203).

【0007】続いて、マスタテーブル72とディテール
テーブル73および74との列を関連付ける(ステップ
S204)。具体的には、オペレータがマスタテーブル
72の「ID_1」および「ID_2」の列にディテー
ルテーブル73の「ID_1」およびディテールテーブ
ル74の「ID_2」にマウス等でそれぞれドラッグ&
ドロップすると、関連付けを示す線が表示され、関連付
けられる。
Subsequently, the columns of the master table 72 and the detail tables 73 and 74 are associated (step S204). Specifically, the operator drags the mouse to “ID_1” of the detail table 73 and “ID_2” of the detail table 74 to the “ID_1” and “ID_2” columns of the master table 72, respectively.
When dropped, a line showing the association is displayed and associated.

【0008】最後に、テーブルのビュー71が生成され
る(ステップS205)。
Finally, the table view 71 is generated (step S205).

【0009】このように、従来のリレーショナルデータ
ベースのテーブル作成方法では、マスタテーブル72か
らそれと関連付けるディテールテーブル73および74
を設計するために、対応する列に同じ名前およびデータ
型を定義する必要があるが、これを定義するときにオペ
レータが覚えておくか、マスタテーブル72を再度参照
する必要があるために手間がかかっていた。
As described above, in the conventional relational database table creating method, the detail tables 73 and 74 associated with the master table 72 are associated with the table.
In order to design the same, it is necessary to define the same name and data type in the corresponding columns, but it is troublesome because the operator has to remember when defining this or need to refer to the master table 72 again. It was hanging.

【0010】[0010]

【発明が解決しようとする課題】上述した従来のリレー
ショナルデータベースのテーブル作成方法では、ディテ
ールテーブル73および74を作成するときにマスタテ
ーブル72と関連付けるために、ディテールテーブル7
3および74とマスタテーブル72とで対応する列に同
じ名前およびデータ型を使用する必要があるので、テー
ブルの設計時にあらかじめ名前およびデータ型を決めて
おかなければならないという問題点があった。その理由
は、ディテールテーブル73および74とマスタテーブ
ル72とで対応する列に同じ名前を使用することにより
テーブルを関連付ける必要があるためである。
In the above-mentioned conventional relational database table creating method, the detail table 7 is used in order to associate it with the master table 72 when creating the detail tables 73 and 74.
Since it is necessary to use the same name and data type for the corresponding columns in 3 and 74 and the master table 72, there is a problem in that the name and data type must be determined in advance when designing the table. The reason is that the detail tables 73 and 74 and the master table 72 need to be associated by using the same names for corresponding columns.

【0011】本発明の目的は、ディテールテーブルとマ
スタテーブルとの関連付けを簡単に行えるようにして、
テーブルを生成するための操作性を向上させるようにし
たリレーショナルデータベースのテーブル作成方式を提
供することにある。
An object of the present invention is to make it possible to easily associate a detail table with a master table,
It is to provide a table creation method for a relational database that improves the operability for creating a table.

【0012】なお、先行技術文献としては、特開平4−
238573号公報があるが、この公報に開示された
「連結データベース検索装置」は、複数のデータベース
の連結情報を定義して同時に検索処理を行うことが目的
であるのに対して、本願発明はテーブル全体のデータ容
量をできるだけ小さくするためのテーブル生成方法を前
提としており、両者は前提および構成が異なる。
As a prior art document, Japanese Unexamined Patent Publication No.
Although there is Japanese Patent No. 238573, the purpose of the "concatenated database search device" disclosed in this publication is to define concatenated information of a plurality of databases and to perform a search process at the same time. It is premised on the table generation method for minimizing the total data capacity, and the premise and the configuration are different.

【0013】[0013]

【課題を解決するための手段】本発明のリレーショナル
データベースのテーブル作成方式は、最終的に生成した
いテーブルのビューを設計するビュー設計手段と、この
ビュー設計手段により設計されたビューの列の中で繰り
返し同じデータが入力される列を指定する列指定手段
と、この列指定手段により指定された列に対してIDを
自動的に付加するID付加手段と、このID付加手段に
より付加されたIDを用いてそのテーブルのビューの列
を組み合わせてディテールテーブルおよびマスタテーブ
ルを設計するディテールテーブル・マスタテーブル設計
手段と、このディテールテーブル・マスタテーブル設計
手段により設計されたディテールテーブルおよびマスタ
テーブルからテーブルのビューを生成するビュー生成手
段とを有することを特徴とする。
A relational database table creation method according to the present invention includes a view designing means for designing a view of a table to be finally created and a view column designed by the view designing means. A column designating unit that designates a column to which the same data is repeatedly input, an ID adding unit that automatically adds an ID to the column designated by this column specifying unit, and an ID that is added by this ID adding unit. A detail table / master table design means for designing a detail table and a master table by combining the columns of the view of the table and a view of the table from the detail table / master table designed by this detail table / master table design means Having a view generating means for generating And butterflies.

【0014】[0014]

【発明の実施の形態】次に、本発明について図面を参照
して詳細に説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, the present invention will be described in detail with reference to the drawings.

【0015】[0015]

【実施例】図1は、本発明の一実施例に係るリレーショ
ナルデータベースのテーブル作成方式が適用されたデー
タベースアクセスソフトウェアの構成を示すブロック図
である。このデータベースアクセスソフトウェアは、リ
レーショナルデータベース2のテーブルまたはビューを
生成するテーブル・ビュー設計機能1と、リレーショナ
ルデータベース2のテーブルにデータを入力するデータ
入力機能3と、必要に応じてリレーショナルデータベー
ス2中のテーブルのデータの検索および表示を行うデー
タアクセス機能4とから、その主要部が構成されてい
る。
DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 is a block diagram showing the structure of database access software to which a relational database table creation method according to an embodiment of the present invention is applied. This database access software includes a table / view design function 1 for generating a table or a view of the relational database 2, a data input function 3 for inputting data to the table of the relational database 2, and a table in the relational database 2 as necessary. And a data access function 4 for searching and displaying the data of FIG.

【0016】テーブル・ビュー設計機能1は、ビュー設
計手段11と、列指定手段12と、ID付加手段13
と、ディテールテーブル・マスタテーブル設計手段14
と、ビュー生成手段15とを含んで構成されている。
The table / view designing function 1 includes a view designing unit 11, a column designating unit 12, and an ID adding unit 13.
And the detail table / master table design means 14
And a view generation unit 15.

【0017】ビュー設計手段11は、最終的に生成した
いテーブルのビューをユーザインターフェースにより設
計する手段である。
The view design means 11 is a means for designing a view of a table to be finally generated by a user interface.

【0018】列指定手段12は、ビュー設計手段11に
より設計されたビューの列の中で繰り返し同じデータが
入力される列を指定する手段である。これにより、テー
ブル全体の容量を小さくするためにIDを付加する列を
指定することができる。
The column designating unit 12 is a unit for designating a column to which the same data is repeatedly input among the columns of the view designed by the view designing unit 11. This makes it possible to specify the column to which the ID is added in order to reduce the capacity of the entire table.

【0019】ID付加手段13は、列指定手段12によ
り指定された列に対してディテールテーブルとマスタテ
ーブルとを関連付けるためのIDをオペレータが操作し
なくても自動的に付加する手段である。
The ID adding means 13 is means for automatically adding an ID for associating the detail table and the master table to the column designated by the column designating means 12 without an operator's operation.

【0020】ディテールテーブル・マスタテーブル設計
手段14は、ID付加手段13により付加されたIDを
用いてそのテーブルのビューの列を組み合わせてディテ
ールテーブルおよびマスタテーブルを自動的に設計する
手段である。
The detail table / master table design means 14 is means for automatically designing the detail table and the master table by combining the view columns of the table using the ID added by the ID adding means 13.

【0021】ビュー生成手段15は、ディテールテーブ
ル・マスタテーブル設計手段14により設計されたディ
テールテーブルおよびマスタテーブルからテーブルのビ
ューを生成する手段である。
The view generating means 15 is means for generating a view of the table from the detail table and the master table designed by the detail table / master table designing means 14.

【0022】図2を参照すると、本実施例のリレーショ
ナルデータベースのテーブル作成方法の処理手順は、ビ
ュー設計ステップS101と、列指定ステップS102
と、ID付加ステップS103と、ディテールテーブル
生成ステップS104と、マスタテーブル生成ステップ
S105とからなる。
Referring to FIG. 2, the processing procedure of the relational database table creating method according to the present embodiment includes a view designing step S101 and a column specifying step S102.
And an ID addition step S103, a detail table generation step S104, and a master table generation step S105.

【0023】図3を参照すると、ビュー設計ステップS
101のより詳しい処理手順は、列名入力ステップS1
11と、データ型入力ステップS112と、列入力終了
判定ステップS113とからなる。
Referring to FIG. 3, view design step S
More detailed processing procedure of 101 is the column name input step S1.
11, a data type input step S112, and a column input end determination step S113.

【0024】図4を参照すると、ID付加ステップS1
03,ディテールテーブル生成ステップS104および
マスタテーブル生成ステップS105のより詳しい処理
手順は、カウンタ初期設定ステップS121と、列名お
よびデータ型自動入力ステップS122と、列名および
データ型自動入力ステップS123と、ディテールテー
ブル生成ステップS124と、指定列有無判定ステップ
S125と、カウンタインクリメントステップS126
と、列名およびデータ型自動入力ステップS127と、
列名およびデータ型自動入力ステップS128と、繰り
返し終了判定ステップS129と、マスタテーブル生成
ステップS130とからなる。
Referring to FIG. 4, an ID adding step S1
03, the detail table generation step S104 and the master table generation step S105, the counter initialization step S121, column name and data type automatic input step S122, column name and data type automatic input step S123, detail Table generation step S124, designated column presence / absence determination step S125, counter increment step S126
And column name and data type automatic input step S127,
It includes a column name and data type automatic input step S128, a repetition end determination step S129, and a master table generation step S130.

【0025】図5は、本実施例のリレーショナルデータ
ベースのテーブル作成方式によるテーブル作成の順次の
工程を示す画面の状態遷移図である。
FIG. 5 is a state transition diagram of the screen showing the sequential steps of table creation by the table creation method of the relational database of this embodiment.

【0026】次に、このように構成された本実施例のリ
レーショナルデータベースのテーブル作成方法につい
て、図5を参照しながら具体的に説明する。
Next, the method of creating the table of the relational database of the present embodiment thus constructed will be specifically described with reference to FIG.

【0027】まず、ビュー設計手段11により、テーブ
ル設計画面50上で最終的に生成したいテーブルのビュ
ー51をオペレータがビュー51の列(名前およびデー
タ型)を入力することにより設計する(ステップS10
1)。詳しくは、ビュー設計手段11は、列名を入力し
(ステップS111)、データ型を入力し(ステップS
112)、列の入力が終了すると(ステップS11
3)、処理を終了する。具体的には、最終的に生成した
いビュー51において、「取引No」,「会社名」およ
び「担当者」の列を入力する。
First, the view design means 11 designs the view 51 of the table to be finally generated on the table design screen 50 by the operator inputting the columns (name and data type) of the view 51 (step S10).
1). Specifically, the view designing unit 11 inputs a column name (step S111) and a data type (step S111).
112), when the input of the column is completed (step S11)
3), end the process. Specifically, in the view 51 to be finally generated, the columns of “transaction No.”, “company name” and “person in charge” are input.

【0028】次に、列指定手段12により、テーブル設
計画面50上でビュー51の列の中で同じデータが繰り
返し入力される列を指定する(ステップS102)。こ
こで、「取引No」の列は一意の番号であるが、「取引
No」が異なれば「会社名」および「担当者」は同じ列
の中で同じデータが入力される場合があるものとする。
よって、「会社名」および「担当者」の列に対して繰り
返し同じデータが入力される列であることを指定する
と、指定された列が反転表示される。
Next, the column designating means 12 designates a column in the view 51 on which the same data is repeatedly input on the table design screen 50 (step S102). Here, the "Transaction No." column is a unique number, but if the "Transaction No." is different, the "Company Name" and "Person in Charge" may have the same data entered in the same column. To do.
Therefore, if it is specified that the same data is repeatedly input to the columns of “company name” and “person in charge”, the designated column is highlighted.

【0029】このとき、ID付加手段13により、指定
した列に順にディテールテーブル52,53とマスタテ
ーブル51とを関連付けるためのIDが付加される(ス
テップS103)。具体的には、「ID_1」および
「ID_2」が付加される。
At this time, the ID adding means 13 adds an ID for associating the detail tables 52 and 53 and the master table 51 in order to the designated column (step S103). Specifically, "ID_1" and "ID_2" are added.

【0030】次に、ディテールテーブル・マスタテーブ
ル設計手段14により、指定した列を含むディテールテ
ーブル52,53とマスタテーブル51とを設計する。
Next, the detail table / master table design means 14 designs the detail tables 52 and 53 including the designated columns and the master table 51.

【0031】詳しくは、ディテールテーブル・マスタテ
ーブル設計手段14は、カウンタnを1に初期化し(ス
テップS121)、列指定手段12により繰り返し同じ
データが入力されると指定された列の列名およびデータ
型をディテールテーブルの列名およびデータ型として自
動的に入力し(ステップS122)、「ID_n」の列
名およびデータ型「ID」でテーブルの列名およびデー
タ型を自動的に入力し(ステップS123)、ディテー
ルテーブル52を生成する(ステップS124)。具体
的には、繰り返し同じデータが入力される列として指定
された「会社名」の列には、「ID_1」という名前の
IDが自動的に付加され、ディテールテーブル52が設
計される。
More specifically, the detail table / master table design means 14 initializes the counter n to 1 (step S121), and the column name and data of the column designated when the same data is repeatedly input by the column designation means 12. The type is automatically input as the column name and data type of the detail table (step S122), and the column name and data type of the table are automatically input by the column name and data type "ID" of "ID_n" (step S123). ), And the detail table 52 is generated (step S124). Specifically, the detail table 52 is designed by automatically adding the ID “ID_1” to the “company name” column designated as the column to which the same data is repeatedly input.

【0032】次に、ディテールテーブル・マスタテーブ
ル設計手段14は、列指定手段12により繰り返し同じ
データが入力されると指定された列が他にも存在するか
どうかを判定し(ステップS125)、存在するので、
カウンタnを1つインクリメントして(ステップS12
6)、ステップS122に制御を戻し、ステップS12
2〜124を繰り返すことにより、ディテールテーブル
53を生成する。具体的には、「担当者」の列に「ID
_2」という名前のIDが自動的に付加され、ディテー
ルテーブル53が設計される。
Next, the detail table / master table designing means 14 judges whether or not there is another designated column when the same data is repeatedly input by the column designating means 12 (step S125), and the presence is determined. Because
The counter n is incremented by 1 (step S12
6), control is returned to step S122, and step S12
The detail table 53 is generated by repeating steps 2 to 124. Specifically, in the column of "Person in charge", "ID
An ID named "_2" is automatically added, and the detail table 53 is designed.

【0033】続いて、ディテールテーブル・マスタテー
ブル設計手段14は、列指定手段12により繰り返し同
じデータが入力されると指定された列が他にも存在する
かどうかを判定し(ステップS125)、存在しないの
で、指定されていない列名およびデータ型をマスタテー
ブルの列名およびデータ型として自動的に入力し(ステ
ップS127)、「ID_n」の列名およびデータ型
「ID」でテーブルの列名およびデータ型を自動的に入
力し(ステップS128)、n回繰り返しが終了したか
どうかを判定し(ステップS129)、終了していなけ
ればステップS128に制御を戻して、ステップS12
8をn回繰り返し、マスタテーブル51を生成する(ス
テップS130)。具体的には、「取引No」を含むマ
スタテーブル51が生成される。
Subsequently, the detail table / master table designing means 14 judges whether or not there is another designated column when the same data is repeatedly input by the column designating means 12 (step S125), and the presence is determined. Therefore, unspecified column names and data types are automatically input as the column names and data types of the master table (step S127), and the column names of "ID_n" and the column names of the data type "ID" The data type is automatically input (step S128), and it is determined whether or not the n-th repetition is completed (step S129). If not completed, the control is returned to step S128, and step S12 is executed.
8 is repeated n times to generate the master table 51 (step S130). Specifically, the master table 51 including “transaction No.” is generated.

【0034】最後に、ビュー生成手段15により、指定
された列とIDとを組み合わせてテーブルのビュー51
が生成される。
Finally, the view generation means 15 combines the designated column and ID to create a view 51 of the table.
Is generated.

【0035】[0035]

【発明の効果】以上説明したように、本発明の第1の効
果は、ビュー設計手段により最終的に生成したいテーブ
ルのビューをテーブル設計画面上で作成できるというこ
とである。
As described above, the first effect of the present invention is that the view design means can create a view of a table to be finally created on the table design screen.

【0036】第2の効果は、列指定手段により最終的に
生成したいテーブルのビューで繰り返し同じデータが入
力される列を指定でき、これによりディテールテーブル
とマスタテーブルとの関連付けを行うことができるとい
うことである。
The second effect is that the column designating means can designate the column to which the same data is repeatedly input in the view of the table to be finally generated, whereby the detail table and the master table can be associated with each other. That is.

【0037】第3の効果は、ID付加手段により使用す
る列にIDを自動的に付加するため、ディテールテーブ
ルとマスタテーブルとの関連付けを自動的に行うことが
できるということである。
A third effect is that since the ID is automatically added to the column used by the ID adding means, the detail table and the master table can be automatically associated with each other.

【0038】第4の効果は、テーブルの名前および関連
付けが設定されているから、ビュー生成手段によりテー
ブルのビューを自動生成できることである。
The fourth effect is that since the table name and association are set, the view generating means can automatically generate a view of the table.

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

【図1】本発明の一実施例に係るリレーショナルデータ
ベースのテーブル作成方式が適用されたデータベースア
クセスソフトウェアの機能構成を示すブロック図であ
る。
FIG. 1 is a block diagram showing a functional configuration of database access software to which a relational database table creation method according to an embodiment of the present invention is applied.

【図2】本実施例のリレーショナルデータベースのテー
ブル作成方式の処理手順を示すフローチャートである。
FIG. 2 is a flowchart showing a processing procedure of a relational database table creation method according to the present embodiment.

【図3】図2中のビュー設計ステップのより詳しい処理
手順を示すフローチャートである。
3 is a flowchart showing a more detailed processing procedure of a view design step in FIG.

【図4】図2中のID付加ステップ,ディテールテーブ
ル生成ステップおよびマスタテーブル生成ステップのよ
り詳しい処理手順を示すフローチャートである。
FIG. 4 is a flowchart showing a more detailed processing procedure of an ID addition step, a detail table generation step, and a master table generation step in FIG.

【図5】本実施例のリレーショナルデータベースのテー
ブル作成方式の処理工程を示す画面の状態遷移図であ
る。
FIG. 5 is a state transition diagram of a screen showing the processing steps of the relational database table creation method of the present embodiment.

【図6】従来のリレーショナルデータベースのテーブル
作成方法の処理手順を示すフローチャートである。
FIG. 6 is a flowchart showing a processing procedure of a conventional relational database table creation method.

【図7】従来のリレーショナルデータベースのテーブル
作成方法の処理工程を示す画面の状態遷移図である。
FIG. 7 is a screen state transition diagram showing processing steps of a conventional relational database table creation method.

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

1 テーブル・ビュー設計機能 2 リレーショナルデータベース 3 データ入力機能 4 データアクセス機能 11 ビュー設計手段 12 列指定手段 13 ディテールテーブル・マスタテーブル設計手段 14 ID付加手段 15 ビュー生成手段 50 テーブル設計画面 51 マスタテーブル 52,53 ディテールテーブル S101 ビュー設計ステップ S102 列指定ステップ S103 ID付加ステップ S104 ディテールテーブル生成ステップ S105 マスタテーブル生成ステップ S111 列名入力ステップ S112 データ型入力ステップ S113 列入力終了判定ステップ S121 カウンタ初期設定ステップ S122 列名およびデータ型自動入力ステップ S123 列名およびデータ型自動入力ステップ S124 ディテールテーブル生成ステップ S125 指定列有無判定ステップ S126 カウンタインクリメントステップ S127 列名およびデータ型自動入力ステップ S128 列名およびデータ型自動入力ステップ S129 繰り返し終了判定ステップ S130 マスタテーブル生成ステップ 1 table view design function 2 relational database 3 data input function 4 data access function 11 view design means 12 column designating means 13 detail table / master table designing means 14 ID adding means 15 view generating means 50 table designing screen 51 master table 52, 53 Detail Table S101 View Design Step S102 Column Designation Step S103 ID Addition Step S104 Detail Table Generation Step S105 Master Table Generation Step S111 Column Name Input Step S112 Data Type Input Step S113 Column Input End Determination Step S121 Counter Initial Setting Step S122 Column Name and Data type automatic input step S123 Column name and data type automatic input step S124 Detail table Generation step S125 column specified presence judgment step S126 the counter increment step S127 column names and data types autofill step S128 column names and data types autofill step S129 repeat end determination step S130 master table generation step

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 最終的に生成したいテーブルのビューを
設計するビュー設計手段と、 このビュー設計手段により設計されたビューの列の中で
繰り返し同じデータが入力される列を指定する列指定手
段と、 この列指定手段により指定された列に対してIDを自動
的に付加するID付加手段と、 このID付加手段により付加されたIDを用いてそのテ
ーブルのビューの列を組み合わせてディテールテーブル
およびマスタテーブルを設計するディテールテーブル・
マスタテーブル設計手段と、 このディテールテーブル・マスタテーブル設計手段によ
り設計されたディテールテーブルおよびマスタテーブル
からテーブルのビューを生成するビュー生成手段とを有
することを特徴とするリレーショナルデータベースのテ
ーブル作成方式。
1. A view design means for designing a view of a table to be finally generated, and a column designating means for designating a column to which the same data is repeatedly input among the columns of the view designed by this view designing means. , A detail table and a master by combining an ID adding means for automatically adding an ID to a column specified by this column specifying means, and a view row of the table using the ID added by this ID adding means Detail table designing table
A table creating method for a relational database, comprising: a master table designing unit; and a view creating unit that creates a view of the table from the detail table and the master table designed by the detail table / master table designing unit.
【請求項2】 前記ディテールテーブル・マスタテーブ
ル設計手段が、前記列指定手段により指定された列の列
名およびデータ型をディテールテーブルの列名およびデ
ータ型として自動的に入力し、ディテールテーブルの列
名およびデータ型に前記ID付加手段により付加された
IDでテーブルの列名およびデータ型を自動的に入力し
てディテールテーブルを生成し、前記列指定手段により
指定された列が存在しなくなると、指定されていない列
名およびデータ型をマスタテーブルの列名およびデータ
型として自動的に入力し、マスタテーブルの列名および
データ型に前記ID付加手段により付加されたIDでテ
ーブルの列名およびデータ型を自動的に入力してマスタ
テーブルを生成する請求項1記載のリレーショナルデー
タベースのテーブル作成方式。
2. The detail table / master table designing unit automatically inputs the column name and data type of the column designated by the column designating unit as the column name and data type of the detail table, and the column of the detail table. When the column name and data type of the table are automatically input by the ID added by the ID adding means to the name and data type to generate the detail table, and the column specified by the column specifying means does not exist, A column name and data type not specified are automatically entered as the column name and data type of the master table, and the column name and data of the table are identified by the ID added by the ID adding means to the column name and data type of the master table. The relational database table according to claim 1, wherein a type is automatically input to generate a master table. Creation method.
JP7348458A 1995-12-18 1995-12-18 System for generating table of relational database Pending JPH09167163A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7348458A JPH09167163A (en) 1995-12-18 1995-12-18 System for generating table of relational database

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7348458A JPH09167163A (en) 1995-12-18 1995-12-18 System for generating table of relational database

Publications (1)

Publication Number Publication Date
JPH09167163A true JPH09167163A (en) 1997-06-24

Family

ID=18397146

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7348458A Pending JPH09167163A (en) 1995-12-18 1995-12-18 System for generating table of relational database

Country Status (1)

Country Link
JP (1) JPH09167163A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006018607A (en) * 2004-07-01 2006-01-19 Fujitsu Ltd Metadata editor program, recording medium thereof, metadata editing method and metadata editor

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63298626A (en) * 1987-05-29 1988-12-06 Matsushita Electric Ind Co Ltd Managing method for data base

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63298626A (en) * 1987-05-29 1988-12-06 Matsushita Electric Ind Co Ltd Managing method for data base

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006018607A (en) * 2004-07-01 2006-01-19 Fujitsu Ltd Metadata editor program, recording medium thereof, metadata editing method and metadata editor

Similar Documents

Publication Publication Date Title
US5418950A (en) System for interactive clause window construction of SQL queries
US7844618B2 (en) Techniques for managing interdependent data objects
JP4965088B2 (en) Relationship management in data abstraction model
US5261093A (en) Interactive relational database analysis with successive refinement steps in selection of ouput data from underlying database
US5764973A (en) System for generating structured query language statements and integrating legacy systems
US20060116999A1 (en) Sequential stepwise query condition building
US8010530B2 (en) Presentation of multilingual metadata
JP5192634B2 (en) Declaration order report parameterization
JP2000090098A (en) Data base querying method, its implementing device, and medium recording processing program thereof
US20050114282A1 (en) Method for problem formulation and for obtaining solutions from a data base
EP0740258B1 (en) Data management system
US20050154756A1 (en) Method of generating database transaction statements based on existing queries
JP2792287B2 (en) Information retrieval device
US20060095407A1 (en) Methods and apparatus for adding parenthetical expression capability to a tabular query user interface
US7617236B2 (en) Method and system for displaying results of a dynamic search
JPH09167163A (en) System for generating table of relational database
US20060235828A1 (en) User interface method for grouping conditions without editing
JP3366257B2 (en) Data warehouse test data creation device
JP2798118B2 (en) Database query statement creation device
JP3167412B2 (en) Database search processor
JPH052611A (en) Sentence generation system
JP2004126680A (en) Sql masking type database access method and computer program
JPH05150970A (en) Program generation supporting device
JPH01244521A (en) Data manipulation system
EP0569188A1 (en) Accessing a computer database