JPH1173350A - Method and system for constructing and updating relational database system having image processing function - Google Patents

Method and system for constructing and updating relational database system having image processing function

Info

Publication number
JPH1173350A
JPH1173350A JP9249582A JP24958297A JPH1173350A JP H1173350 A JPH1173350 A JP H1173350A JP 9249582 A JP9249582 A JP 9249582A JP 24958297 A JP24958297 A JP 24958297A JP H1173350 A JPH1173350 A JP H1173350A
Authority
JP
Japan
Prior art keywords
image
update
updating
simulated
displayed
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
JP9249582A
Other languages
Japanese (ja)
Inventor
Sachiyo Arai
幸代 新井
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 JP9249582A priority Critical patent/JPH1173350A/en
Publication of JPH1173350A publication Critical patent/JPH1173350A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To reduce the occurrences of work mistakes at the time of organization and updating and to improve work efficiency, productivity and maintainability by simulatively and visibly representing the images of a table before and after updation. SOLUTION: Whether a table to be an object is a new one or an existing one is inputted and selected from an input device 100, and in the case of the existing one, an RDIR 310 is retrieved to show a list of existing tables and selection is performed by the device 100. A selection table performs image display on a display. In the case of updating, a final image is simulatively constructed with the means 100 about how to change the table and how to produce if it is a new one and is shown as an image on a displaying means 220. In the case of updating and organization without more change, how different which part of the table that is shown as an image is analyzed. A table is organized and updated by automatically performing retrieval, creation and execution of a DDL sentence group that is needed to produce the table which is simulatively organized based on the analysis result.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、リレーショナルデ
ータベースシステムの構築・更新方法に関し、特に、模
擬的かつ可視的なイメージ処理が可能なリレーショナル
データベースシステムの構築・更新方法および方式に関
する。
The present invention relates to a method for constructing and updating a relational database system, and more particularly to a method and system for constructing and updating a relational database system capable of simulated and visible image processing.

【0002】[0002]

【従来の技術】従来、この種のリレーショナルデータベ
ースシステムは構築・更新のため、種々多数のDDL文
(データ定義言語、Data Description
Language)の作成が必要であった。テーブル
のレイアウトを変更する際には、そのテーブルに付随し
て定義されているインデックス定義や利用権譲渡定義、
仮想表定義、トリガ定義等を削除し、しかる後に、テー
ブル定義を削除、再定義する。その後、先に削除したイ
ンデックス定義や利用権譲渡定義等を再び定義するとい
った手順を踏む。その各々の過程で、定義用のDDL文
を作成しなければならない。
2. Description of the Related Art Conventionally, a relational database system of this type is constructed and updated by a large number of DDL statements (data definition language, Data Description).
Language) was required. When changing the layout of a table, the index definition, usage right transfer definition,
Delete the virtual table definition, trigger definition, etc., and then delete and redefine the table definition. After that, a procedure of re-defining the previously deleted index definition, usage right transfer definition, and the like is performed. In each process, a definition DDL statement must be created.

【0003】[0003]

【発明が解決しようとする課題】上記したように、従来
のリレーショナルデータベースシステムの構築・更新の
方法は下記記載の問題点を有している。
As described above, the conventional method of constructing and updating a relational database system has the following problems.

【0004】第1の問題点は、多量のDDL文を作成し
なければならない、ということである。
[0004] The first problem is that a large number of DDL sentences must be created.

【0005】その理由は、1つのテーブルの定義だけで
も、少なくとも、DBファイル定義、ストレージ定義、
テーブル定義、インデックス定義、利用権譲渡定義の5
文が必要になるからである。これが、再定義ともなれ
ば、定義削除用のDDL文が加わり、さらに多くのDD
L文が必要になる。
[0005] The reason is that even if only one table is defined, at least a DB file definition, a storage definition,
Table definition, index definition, usage right transfer definition 5
This is because a statement is required. If this is a redefinition, a DDL statement for definition deletion is added, and more DDs are added.
L sentence is required.

【0006】第2の問題点は、更新する際にどのような
DDL文が必要になるか明確にわからない、ということ
である。
A second problem is that it is not clear what DDL statement is required for updating.

【0007】その理由は、更新内容によって、例えばイ
ンデックス定義の変更だけでよいのか、もしくは、全定
義を変更しなければならないのか等、必要になるDDL
文が相違するため、である。
The reason is that, depending on the contents of the update, for example, whether only the index definition needs to be changed or whether all the definitions need to be changed is required.
This is because the sentences are different.

【0008】したがって、本発明は、上記問題点に鑑み
てなされたものであって、その目的は、DDL文を人手
で作成する手間を省き、作業効率及び操作性を向上させ
ると共に、可視的な確認を行ってから実更新を行うこと
により、保守性を向上させるリレーショナルデータベー
スシステムの構築・更新方法及び方式を提供することに
ある。
Accordingly, the present invention has been made in view of the above-mentioned problems, and has as its object to eliminate the trouble of manually creating a DDL sentence, to improve work efficiency and operability, and to improve visual efficiency. It is an object of the present invention to provide a relational database system construction / update method and method for improving maintainability by performing actual update after confirmation.

【0009】[0009]

【課題を解決するための手段】前記目的を達成するた
め、本発明のリレーショナルデータベースシステムの構
築・更新方法は、(a)入力手段から入力された情報に
基づきテーブルの更新または新規構築のイメージを模擬
的に作成してこれを表示手段に表示し、(b)前記表示
されたイメージ通りでテーブルを更新・構築するとの指
示が入力された場合、前記模擬的に作成されたイメージ
を分析し、前記分析された結果から、前記模擬的に作成
されたテーブルを作成するために必要となるDDL文群
を自動的に検索して生成する、ことを特徴とする。
In order to achieve the above object, a method for constructing / updating a relational database system according to the present invention comprises the steps of: (a) updating an image of a table or newly constructing a table based on information input from input means; (B) when an instruction to update and construct a table according to the displayed image is input, analyze the simulated image; A DDL sentence group necessary for creating the simulated table is automatically searched and generated from the analyzed result.

【0010】また本発明のリレーショナルデータベース
システムの構築・更新方式は、入力手段によってテーブ
ルの更新・構築イメージを作成するテーブルイメージ作
成手段と、前記テーブルイメージ作成手段によって作成
されたイメージを分析するテーブルイメージ分析手段
と、前記テーブルイメージ分析手段によって分析された
結果から更新・構築に必要なDDL文群を検索・作成す
るDDL文作成手段と、を備える。
[0010] The construction / update method of the relational database system according to the present invention comprises a table image creation means for creating an update / construction image of a table by input means, and a table image for analyzing the image created by the table image creation means. An analysis unit; and a DDL sentence creating unit that searches and creates a DDL sentence group required for updating / constructing from a result analyzed by the table image analyzing unit.

【0011】[発明の概要]本発明においては、リレー
ショナルデータベースのどの部分をどのように変更する
のか、更新後のテーブルのイメージを模擬的に表現する
テーブルイメージ作成手段(図1の230)と、前記更
新後のテーブルイメージを分析するテーブルイメージ分
析手段(図1の240)と、更新後のテーブルを作成す
るのに必要となるDDL文を検索し、そのDDL文を自
動的に作成するDDL文作成手段(図1の250)を備
えている。
[Summary of the Invention] In the present invention, a table image creating means (230 in FIG. 1) for simulating which part of the relational database is to be changed and how to update the image of the table, A table image analysis means (240 in FIG. 1) for analyzing the updated table image, and a DDL sentence for searching for a DDL sentence necessary for creating the updated table and automatically creating the DDL sentence It has a creating means (250 in FIG. 1).

【0012】本発明によれば、更新前のテーブルのイメ
ージをディスプレイに表示させ、そこに、テーブルイメ
ージ作成手段によって更新を行った場合のイメージを模
擬的に表示させる。これは、視覚的に表示され、利用者
はDDL文を意識する必要がない。
According to the present invention, the image of the table before the update is displayed on the display, and the image when the update is performed by the table image creating means is simulated on the display. This is displayed visually, and the user does not need to be aware of the DDL sentence.

【0013】そして模擬的に表示されたイメージが実際
のテーブルとどの部分がどう違っているのかをテーブル
イメージ分析手段によって分析する。
The difference between the simulated displayed image and the actual table is analyzed by the table image analyzing means.

【0014】分析の結果、模擬的に表示されたテーブル
を作成するために必要となるDDL文群を自動的に検索
・作成する。このため、DDL文の量や種類を一切意識
することなく、作成者が作業・操作を行える。
As a result of the analysis, a DDL sentence group necessary for creating a simulated table is automatically searched and created. For this reason, the creator can carry out operations and operations without being aware of the amount or type of the DDL sentence at all.

【0015】[0015]

【発明の実施の形態】次に、本発明の実施の形態の構成
について図面を参照して詳細に説明する。
Next, the configuration of an embodiment of the present invention will be described in detail with reference to the drawings.

【0016】図1は、本発明の実施の形態の構成を示す
ブロック図である。図1において、100はキーボード
やマウス等の入力手段であり、200はプログラム制御
により動作するデータ処理装置である。300は磁気デ
ィスクや電子ディスク上に既に構築されているリレーシ
ョナルデータベースであり、400はディスプレイ等の
出力装置である。リレーションナルデータベース300
において、310はリレーショナルデータベースシステ
ムの全定義情報を管理する『システム表』を持つディレ
クトリファイル、320は実際のテーブル・データを格
納したデータベースファイルである。
FIG. 1 is a block diagram showing a configuration of an embodiment of the present invention. In FIG. 1, reference numeral 100 denotes input means such as a keyboard and a mouse, and reference numeral 200 denotes a data processing device that operates under program control. Reference numeral 300 denotes a relational database already built on a magnetic disk or an electronic disk, and reference numeral 400 denotes an output device such as a display. Relational database 300
, 310 is a directory file having a “system table” for managing all definition information of the relational database system, and 320 is a database file storing actual table data.

【0017】データ処理装置200は、テーブル選択手
段210、表示手段220、テーブルイメージ作成手段
230、テーブルイメージ分析手段240、DDL文作
成手段250、及び、実行手段260を備えている。
The data processing device 200 includes a table selecting means 210, a display means 220, a table image creating means 230, a table image analyzing means 240, a DDL sentence creating means 250, and an executing means 260.

【0018】テーブル選択手段210は、入力手段10
0により入力されたテーブル名が既存しているか否かを
ディレクトリファイル(RDIR)310を検索するこ
とで判断する。入力されたテーブル名がRDIR310
に存在すれば、当該テーブルに関する全ての定義情報
を、RDIR310からセレクト(選択)する。
The table selecting means 210 is provided with the input means 10
It is determined by searching the directory file (RDIR) 310 whether the table name input by “0” already exists. The input table name is RDIR310
, All the definition information relating to the table is selected (selected) from the RDIR 310.

【0019】表示手段220は、関連した定義情報を基
に、選択されたテーブルを出力装置400に可視的に表
現する。
The display means 220 visually displays the selected table on the output device 400 based on the related definition information.

【0020】テーブルイメージ作成手段230は、実際
にそのテーブルをどのように変更したいのか、また、新
規に構築する場合にはどのようなテーブルを作りたいの
か、について、最終的なイメージを、入力手段100か
らの入力情報によって、模擬的に構築し、模擬的に構築
したテーブルのイメージを、表示手段220に表示す
る。
The table image creating means 230 inputs the final image as to how the table is actually changed and what kind of table is to be created when newly constructing the table. Based on the input information from 100, the table is constructed simulated, and the image of the simulated table is displayed on the display means 220.

【0021】テーブルイメージ分析手段240は、テー
ブルイメージ作成手段230によって模擬的に構築され
たテーブルが、実際に構築されているテーブルと、どの
部分がどのように違っているのかを分析する。
The table image analysis means 240 analyzes which part of the table simulated by the table image creation means 230 differs from the table actually constructed, and how.

【0022】DDL文作成手段250は、テーブルイメ
ージ分析手段240によって分析された結果を基に、テ
ーブルイメージ作成手段230で模擬的に構築されたテ
ーブルを作成するために必要となるDDL文群を自動的
に検索・作成する。
The DDL sentence creating means 250 automatically creates a DDL sentence group necessary for creating a table simulated by the table image creating means 230 based on the result analyzed by the table image analyzing means 240. Search / Create.

【0023】実行手段260は、DDL文作成手段25
0によって、作成されたDDL文を実際に実行して、テ
ーブルを構築・更新する。
The execution means 260 includes the DDL statement creation means 25
With 0, the created DDL statement is actually executed to build and update the table.

【0024】図2(A)は、本発明の実施の形態の処理
フローを説明するための図である。次に、本発明の実施
の形態の動作について図1及び図2(A)を参照して説
明する。
FIG. 2A is a diagram for explaining a processing flow according to the embodiment of the present invention. Next, the operation of the embodiment of the present invention will be described with reference to FIG. 1 and FIG.

【0025】対象となるテーブルが新規のものか、既存
のものかを入力手段100から入力して選択する(ステ
ップ211)。
Whether the target table is new or existing is input from the input means 100 and selected (step 211).

【0026】既存のテーブルであれば、RDIR310
を検索することで、既存テーブルの一覧を表示し(ステ
ップ212)、入力手段100を介して一覧の中から選
択する(ステップ213)。この際、選択されたテーブ
ルに関するすべての定義情報をRDIR310からセレ
クトしておき、この情報を基に、選択したテーブルをイ
メージ表示する(ステップ221)。
For an existing table, RDIR 310
To display a list of existing tables (step 212), and select from the list via the input means 100 (step 213). At this time, all the definition information relating to the selected table is selected from the RDIR 310, and based on this information, the selected table is displayed as an image (step 221).

【0027】一方、ステップ211の登録済みか否かの
判定において、新規テーブルの場合には、テーブル名を
入力手段100から入力し、この段階では、イメージ表
示はなされない。
On the other hand, if it is determined in step 211 whether or not the table has been registered, in the case of a new table, the table name is input from the input means 100, and no image is displayed at this stage.

【0028】テーブルイメージ作成手段230は、テー
ブルの更新・新規構築を行うか否かを問い合わせ(ステ
ップ231)、更新を行う場合には、実際に、そのテー
ブルをどのように変更したいのか、また、新規に構築す
る場合には、どのようなテーブルを作りたいのか、最終
的なイメージを入力手段100によって模擬的に構築し
(ステップ232)、表示手段220によって表現する
(ステップ233)。
The table image creation means 230 inquires whether or not to update or newly construct a table (step 231). When updating, how to actually change the table is described. In the case of newly constructing, what kind of table is desired to be constructed, a final image is constructed simulated by the input means 100 (step 232), and expressed by the display means 220 (step 233).

【0029】次に、表示手段220に表示されたイメー
ジ通りに、更新(又は新規に構築する)か否かを問い合
わせ(ステップ241)、変更がある場合には、ステッ
プ231からの処理を繰り返す。
Next, as in the image displayed on the display means 220, it is inquired whether or not to update (or newly construct) (step 241). If there is a change, the processing from step 231 is repeated.

【0030】ステップ241において、変更がなく、こ
のイメージ通りに更新・構築する場合には、テーブルイ
メージ分析手段240は、ステップ221で表示された
テーブルと、ステップ233で表示されたテーブルとに
ついて、どの部分がどのように違っているのか相違点を
分析する(ステップ242)。
If it is determined in step 241 that there is no change and update / construction is performed according to this image, the table image analysis means 240 determines which table is displayed in step 221 and which table is displayed in step 233. The differences are analyzed for how the parts differ (step 242).

【0031】DDL文作成手段250は、ステップ24
2の分析結果を基に、ステップ232で模擬的に構築さ
れたテーブルを作成するために必要となるDDL文群を
自動的に検索・作成する(ステップ251)。
The DDL sentence creating means 250 executes step 24
Based on the analysis result of step 2, a DDL sentence group required to create the table simulated in step 232 is automatically searched and created (step 251).

【0032】ステップ251によって作成されたDDL
文を実行手段260で実際に実行して、テーブルを構築
・更新する(ステップ261)。なお、上記処理ステッ
プは、データ処理装置200で実行されるプログラムの
制御により実現するようにしてもよい。
The DDL created in step 251
The statement is actually executed by the execution means 260 to construct and update the table (step 261). Note that the above processing steps may be realized by control of a program executed by the data processing device 200.

【0033】[0033]

【実施例】上記した本発明の実施の形態について更に詳
細に説明すべく、本発明の一実施例について図1及び図
2を参照して詳細に説明する。
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram showing an embodiment of the present invention; FIG.

【0034】図1において、100は、キーボードやマ
ウス等の入力装置であり、200はプログラム制御によ
り動作するデータ処理装置である。300は磁気ディス
クや電子ディスク上に既に構築されているリレーショナ
ルデータベースであり、400はディスプレイ等の出力
装置である。310はリレーショナルデータベースシス
テムの全定義情報を管理する『システム表』を持つディ
レクトリファイル、320は実際のテーブル・データを
もつデータベースファイルである。
In FIG. 1, reference numeral 100 denotes an input device such as a keyboard and a mouse, and reference numeral 200 denotes a data processing device that operates under program control. Reference numeral 300 denotes a relational database already built on a magnetic disk or an electronic disk, and reference numeral 400 denotes an output device such as a display. Reference numeral 310 denotes a directory file having a “system table” for managing all definition information of the relational database system, and 320 denotes a database file having actual table data.

【0035】テーブル選択手段210は、入力手段10
0により入力されたテーブル名が既存しているか否かを
RDIR(ディレクトリファイル)310を検索するこ
とで判断する。既存テーブルであれば、そのテーブルに
関するすべての定義情報をRDIR310からセレクト
する。
The table selecting means 210 is provided with the input means 10
It is determined whether or not the table name input by “0” already exists by searching the RDIR (directory file) 310. If the table is an existing table, all the definition information related to the table is selected from the RDIR 310.

【0036】表示手段220は、関連定義情報を基に、
選択されたテーブルを、例えば図2(B)に示すよう
に、可視的に表現する。図2(B)は選択されたテーブ
ルの表示イメージを示す図である。
The display means 220, based on the related definition information,
The selected table is visually represented, for example, as shown in FIG. FIG. 2B shows a display image of the selected table.

【0037】テーブルイメージ作成手段230は、実際
に、そのテーブルをどのように変更したいのか、また、
新規に構築する場合にはどのようなテーブルを作りたい
のか、最終的なイメージを入力手段100によって模擬
的に構築し、表示手段220によって、例えば図2
(C)に示すように表現する。図2(C)は、模擬的に
構築されたテーブルの表示イメージを示す図である。
The table image creating means 230 determines how to actually change the table,
In the case of newly constructing, what kind of table is desired to be created, a final image is simulated by the input means 100, and the final image is displayed by the display means 220, for example, as shown in FIG.
Expressed as shown in (C). FIG. 2C is a diagram showing a display image of a simulated table.

【0038】テーブルイメージ分析手段240は、テー
ブルイメージ作成手段230によって模擬的に構築され
たテーブル(図2(C)参照)が、実際に、構築されて
いるテーブル(図2(B)参照)と、どのように相違し
ているのかを分析する。
The table image analysis means 240 compares the table (see FIG. 2C) simulated by the table image creation means 230 with the actually constructed table (see FIG. 2B). And analyze how they differ.

【0039】DDL文作成手段250は、テーブルイメ
ージ分析手段240によって分析された結果を基に、テ
ーブルイメージ作成手段230で模擬的に構築されたテ
ーブル(図2(C)参照)を作成するために必要となる
DDL文群を自動的に検索・作成する。
The DDL sentence creating means 250 creates a table (see FIG. 2C) simulated by the table image creating means 230 based on the result analyzed by the table image analyzing means 240. The required DDL sentence group is automatically searched and created.

【0040】実行手段260は、DDL文作成手段25
0によって作成されたDDL文を実際に実行して、テー
ブル(図2(C)参照)を実際に構築・更新する。
The execution means 260 includes the DDL statement creation means 25
0 is actually executed to actually construct and update the table (see FIG. 2C).

【0041】次に、本発明の一実施例の動作について図
1及び図2を参照し説明する。
Next, the operation of one embodiment of the present invention will be described with reference to FIGS.

【0042】対象となるテーブルが新規のものか既存の
ものかを入力装置100から入力し選択する(ステップ
211)。既存のテーブルであれば、RDIR310を
検索することで既存テーブルの一覧を表示し(ステップ
212)、入力装置100にて一覧の中からテーブルを
選択する(ステップ213)。この際、選択されたテー
ブルに関するすべての定義情報をRDIR310からセ
レクトしておき、これを基に選択テーブルを、図2
(B)に示すように、ディスプレイにイメージ表示する
(ステップ221)。一方、新規テーブルの場合はテー
ブル名を入力装置100から入力し、この段階ではイメ
ージ表示は行われない。
Whether the target table is new or existing is inputted from the input device 100 and selected (step 211). If the table is an existing table, a list of existing tables is displayed by searching the RDIR 310 (step 212), and the table is selected from the list by the input device 100 (step 213). At this time, all the definition information relating to the selected table is selected from the RDIR 310, and based on this, the selected table is changed to the one shown in FIG.
As shown in (B), an image is displayed on the display (step 221). On the other hand, in the case of a new table, the table name is input from the input device 100, and no image is displayed at this stage.

【0043】テーブルの更新・新規構築を行うかどうか
を問い合わせ(ステップ231)、更新等行う場合に
は、実際にそのテーブルをどのように変更したいのか、
また、新規に構築する場合にはどのようなテーブルを作
りたいのか、最終的なイメージを入力手段100によっ
て、例えば図2(C)に示すように、模擬的に構築し
(ステップ232)、模擬的に作成されたテーブルを表
示手段220にイメージとして表示する(ステップ22
2)。
An inquiry is made as to whether the table is to be updated or newly constructed (step 231). When the table is to be updated, how to actually change the table is described.
In addition, in the case of newly constructing, what kind of table is desired to be created, a final image is simulated by the input means 100 as shown in FIG. 2C, for example (step 232). The created table is displayed as an image on the display means 220 (step 22).
2).

【0044】図2(C)を参照すると、テーブル項目W
のレコードサイズを小さく、項目Vは削除、項目Zはレ
コードサイズを拡張している。
Referring to FIG. 2C, table item W
, The item V is deleted, and the item Z is expanded in record size.

【0045】次に表示手段220に表示された通りに
(図2(C)参照)、テーブルを更新・構築するか否か
を問い合わせ(ステップ241)、変更がある場合には
ステップ231からの動作を繰り返す。
Next, as displayed on the display means 220 (see FIG. 2C), an inquiry is made as to whether the table is to be updated or constructed (step 241). If there is a change, the operation from step 231 is started. repeat.

【0046】ステップ241の問い合わせにおいて、変
更がなく、例えば図2(C)に示す通り、更新・構築す
る場合には、ステップ221でイメージ表示されたテー
ブル(図2(B)参照)とステップ222でイメージ表
示されたテーブル(図2(C)参照)について、どの部
分がどのように相違しているのかを分析する(ステップ
242)。すなわち、テーブルイメージ分析手段240
において、項目W、V、Zが、それぞれ前述したように
変化していることが分析される。
In the inquiry of step 241, when there is no change and, for example, as shown in FIG. 2C, the table is updated and constructed, the table (see FIG. 2B) displayed in step 221 and the step 222 are displayed. In the table (see FIG. 2 (C)) displayed as an image, what part is different and how is analyzed (step 242). That is, the table image analysis means 240
In the analysis, it is analyzed that the items W, V, and Z change as described above.

【0047】ステップ242の分析結果を基に、ステッ
プ232で模擬的に構築されたテーブル(図2(C)参
照)を作成するために必要となるDDL文群を自動的に
検索・作成する(ステップ251)。
Based on the analysis result of step 242, a DDL sentence group required to create a table (see FIG. 2C) simulated in step 232 is automatically searched and created ( Step 251).

【0048】ステップ251によって作成されたDDL
文を実際に実行して、テーブルを構築・更新する(ステ
ップ261)。
The DDL created in step 251
The statement is actually executed to construct and update the table (step 261).

【0049】[0049]

【発明の効果】以上説明したように、本発明によれば下
記記載の効果を奏する。
As described above, according to the present invention, the following effects can be obtained.

【0050】本発明の第1の効果は、リレーショナルデ
ータベースのどの部分をどのように変更するのか、更新
前後のテーブルのイメージを模擬的に可視化表現するこ
とを可能としており、これにより、構築・更新の際の作
業ミスの発生を低減し、作業効率、生産性、及び保守性
を向上する、という効果を奏する。
The first effect of the present invention is that it is possible to simulate and visualize which part of a relational database is to be changed and how the image of the table before and after the update is performed. In this case, it is possible to reduce the occurrence of work mistakes and to improve work efficiency, productivity, and maintainability.

【0051】その理由は、本発明においては、実際に、
構築・更新後のイメージをDDL文によってではなく、
視覚的に把握できるようにしたためである。また、一度
イメージで確認した後に、実更新を行うように構成した
ことによる。
The reason is that, in the present invention, actually,
The image after construction / update is not created by DDL statements,
This is because it can be grasped visually. In addition, this is because the actual update is performed after confirming the image once.

【0052】本発明の第2の効果は、DDL文を自動で
検索して自動生成し、これにより、必要になるDDL文
の種類や量を意識せずに実更新を行うことができ、作業
効率、及び生産性を向上する、ということである。
A second effect of the present invention is that a DDL sentence is automatically searched for and automatically generated, whereby actual updating can be performed without being conscious of the type and amount of the required DDL sentence. Improving efficiency and productivity.

【0053】その理由は、本発明においては、模擬的な
更新テーブルと既存テーブルとのテーブルイメージの相
違点を分析し、更新テーブルを作成するためのDDL文
を検索して自動生成するように構成したことによる。
The reason is that, in the present invention, the difference between the table image of the simulated update table and the table image of the existing table is analyzed, and a DDL statement for creating the update table is searched and automatically generated. It depends.

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

【図1】本発明の一実施例の構成を示すブロック図であ
る。
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention.

【図2】(A)は本発明の一実施例の処理フローを示す
フローチャートである。(B)は本発明の一実施例を説
明するための図であり、選択されたテーブルのイメージ
表示の一例を示す図である。(C)は本発明の一実施例
を説明するための図であり、模擬的に構築されたテーブ
ルのイメージ表示の一例を示す図である。
FIG. 2A is a flowchart illustrating a processing flow according to an embodiment of the present invention. (B) is a diagram for explaining an embodiment of the present invention, and is a diagram showing an example of an image display of a selected table. (C) is a diagram for describing an embodiment of the present invention, and is a diagram illustrating an example of an image display of a simulated table.

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

100 入力装置(キーボード) 200 データ処理装置 210 テーブル選択手段 220 表示手段 230 テーブルイメージ作成手段 240 テーブルイメージ分析手段 250 DDL文作成手段 260 実行手段 300 記憶装置 310 ディレクトリファイル 320 データベースファイル 400 ディスプレイ REFERENCE SIGNS LIST 100 input device (keyboard) 200 data processing device 210 table selection means 220 display means 230 table image creation means 240 table image analysis means 250 DDL sentence creation means 260 execution means 300 storage device 310 directory file 320 database file 400 display

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】(a)入力手段から入力された情報に基づ
きテーブルの更新または新規構築のイメージを模擬的に
作成してこれを表示手段で表示し、 (b)前記表示されたイメージ通りでテーブルを更新・
構築するとの指示が入力された場合、前記模擬的に作成
されたイメージを分析し、前記分析された結果から、前
記模擬的に作成されたテーブルを作成するために必要と
なるDDL(データ定義言語)文群を自動的に検索して
生成する、 ことを特徴とするリレーショナルデータベースシステム
の構築・更新方法。
1. An image of a table update or a newly constructed table is simulated based on information input from an input unit, and the created image is displayed on a display unit. (B) According to the displayed image, Update table
When an instruction to construct is input, the simulated image is analyzed, and a DDL (data definition language) required to create the simulated table from the analyzed result is created. ) A method for constructing and updating a relational database system, which automatically searches and generates sentences.
【請求項2】(a)対象となるテーブルがデータベース
に登録済みのテーブルである場合には、該テーブルに関
する定義情報を基に前記テーブルを表示手段にイメージ
表示し、 (b)更新または新たに構築したいテーブルに関する情
報を入力し、該情報に基づき更新・構築対象のテーブル
を模擬的に作成して、これを表示手段にイメージ表示
し、 (c)前記模擬的に作成されたイメージ通りに前記テー
ブルを更新・構築するかを利用者に問い合わせ、 (d)変更がある場合には再び前記工程(b)、(c)
の処理を繰り返し、 (e)前記模擬的に作成されたイメージ通りにテーブル
を更新・構築する場合、前記模擬的に作成されたイメー
ジを分析し、その際、既存テーブルが存在する場合に
は、前記工程(a)で表示された更新前のイメージと前
記工程(b)で表示された更新後のイメージとの相違点
を分析し、 (f)前記分析の結果に基づき、前記模擬的に作成され
たイメージのテーブルを作成するのに必要なDDL(デ
ータ定義言語)文群を検索して自動作成し、 (g)前記作成されたDDL文を実行して前記テーブル
の更新・構築を行う、ことを特徴とするリレーショナル
データベースシステムの構築・更新方法。
(A) If the target table is a table registered in a database, the table is displayed as an image on a display means based on definition information on the table, and (b) updated or newly updated. Information on a table to be constructed is input, and a table to be updated / constructed is simulated based on the information, and this is displayed on a display means as an image. (C) The table is displayed as the simulated image. Inquires the user whether to update or build the table. (D) If there is a change, repeat the above steps (b) and (c)
(E) When updating and constructing the table according to the simulated image, the simulated image is analyzed. At this time, if an existing table exists, Analyzing the difference between the image before the update displayed in the step (a) and the image after the update displayed in the step (b), (f) creating the simulation based on the result of the analysis Searching and automatically creating a DDL (data definition language) statement group necessary to create a table of the created image; and (g) executing the created DDL statement to update / construct the table. A method for constructing and updating a relational database system.
【請求項3】入力手段から入力された情報に基づきテー
ブルの更新及び構築のイメージを作成するテーブルイメ
ージ作成手段と、 前記テーブルイメージ作成手段によって作成されたイメ
ージを分析するテーブルイメージ分析手段と前記テーブ
ルイメージ分析手段によって分析された結果から、前記
テーブルの更新・構築に必要なDDL(データ定義言
語)文群を検索して自動作成するDDL文作成手段と、 を備えたことを特徴とするリレーショナルデータベース
システムの構築・更新方式。
3. A table image creating means for creating an image for updating and constructing a table based on information input from an input means, a table image analyzing means for analyzing an image created by the table image creating means, and the table. A relational database comprising: a DDL (data definition language) sentence group necessary for updating / constructing the table from a result analyzed by the image analyzing means; System construction / update method.
【請求項4】前記DDL文作成手段によって作成された
DDL文を実際に実行して前記テーブルを構築・更新す
る手段を備えたことを特徴とする請求項3記載のリレー
ショナルデータベースシステムの構築・更新方式。
4. The relational database system according to claim 3, further comprising means for actually executing the DDL statement created by said DDL statement creating means to construct and update said table. method.
【請求項5】リレーショナルデータベースシステムの構
築・更新を行うための手段であって、 (a)入力された情報に基づきテーブルの更新及び構築
のイメージを作成するテーブルイメージ作成手段、 (b)前記テーブルイメージ作成手段によって作成され
たイメージを分析するテーブルイメージ分析手段、及
び、 (c)前記テーブルイメージ分析手段によって分析され
た結果から、前記テーブルの更新・構築に必要なDDL
文(データ定義言語)群を検索して自動作成するDDL
文作成手段、 の上記(a)から(c)の各手段をコンピュータで機能
させるためのプログラムを記録した記録媒体。
5. A means for constructing / updating a relational database system, comprising: (a) table image creating means for creating an image for updating and building a table based on input information; and (b) said table. A table image analyzing means for analyzing the image created by the image creating means, and (c) a DDL necessary for updating / constructing the table from a result analyzed by the table image analyzing means.
DDL that searches and automatically creates sentences (data definition language) group
A recording medium on which a program for causing a computer to function each of the above (a) to (c) is described.
【請求項6】(a)対象となるテーブルがデータベース
に登録済みのテーブルである場合には、該テーブルに関
する定義情報を基に前記テーブルを表示手段でイメージ
表示する処理、 (b)更新または新たに構築したいテーブルに関する情
報を入力し、該情報に基づき更新・構築対象のテーブル
を模擬的に作成して、これを前記表示手段でイメージ表
示する処理、 (c)前記模擬的に作成されたイメージ通りに前記テー
ブルを更新・構築するかを利用者に問い合わせる処理、 (d)変更がある場合には再び前記(b)の処理に移行
する処理、 (e)前記模擬的に作成されたイメージ通りにテーブル
を更新・構築する場合、前記模擬的に作成されたイメー
ジを分析し、その際、既存デーブルが存在する場合に
は、前記工程(a)で表示された更新前のイメージと前
記工程(b)で表示された更新後のイメージとの相違点
を分析する処理、 (f)前記(e)の分析の結果に基づき、前記模擬的に
作成されたイメージのテーブルを作成するのに必要なD
DL(データ定義言語)文群を検索して自動作成する処
理、及び、 (g)前記作成されたDDL文を実行して前記テーブル
の更新・構築を行う処理、 の上記(a)から(g)の各処理をコンピュータで機能
させるためのプログラムを記録した記録媒体。
(A) when the target table is a table already registered in the database, a process of displaying the table on a display means based on definition information relating to the table; (b) updating or updating the table; A process of inputting information relating to a table to be constructed to the user, simulating a table to be updated / constructed based on the information, and displaying the simulated table on the display means, and (c) the simulated image. (D) processing for inquiring the user whether to update or construct the table as described above, (d) processing for shifting to the processing of (b) again when there is a change, (e) according to the simulated image When the table is updated and constructed, the simulated image is analyzed. At this time, if there is an existing table, the image displayed in the step (a) is displayed. A process of analyzing a difference between the image before update and the image after update displayed in the step (b); (f) a process of analyzing the simulated image based on the result of the analysis in (e). D required to create a table
(G) a process of searching and automatically creating a DL (data definition language) sentence group; and (g) a process of executing the created DDL sentence to update / construct the table. A) a recording medium on which a program for causing each of the processes of the above to function by a computer is recorded.
JP9249582A 1997-08-29 1997-08-29 Method and system for constructing and updating relational database system having image processing function Pending JPH1173350A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9249582A JPH1173350A (en) 1997-08-29 1997-08-29 Method and system for constructing and updating relational database system having image processing function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9249582A JPH1173350A (en) 1997-08-29 1997-08-29 Method and system for constructing and updating relational database system having image processing function

Publications (1)

Publication Number Publication Date
JPH1173350A true JPH1173350A (en) 1999-03-16

Family

ID=17195162

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9249582A Pending JPH1173350A (en) 1997-08-29 1997-08-29 Method and system for constructing and updating relational database system having image processing function

Country Status (1)

Country Link
JP (1) JPH1173350A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0668032A (en) * 1992-08-19 1994-03-11 Toshiba Corp Data base system
JPH06187202A (en) * 1992-03-09 1994-07-08 Internatl Business Mach Corp <Ibm> User interface for definition of structure of relational database and method for generation of said user interface ondisplay of computer system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06187202A (en) * 1992-03-09 1994-07-08 Internatl Business Mach Corp <Ibm> User interface for definition of structure of relational database and method for generation of said user interface ondisplay of computer system
JPH0668032A (en) * 1992-08-19 1994-03-11 Toshiba Corp Data base system

Similar Documents

Publication Publication Date Title
US5301313A (en) Manipulating data in a relational data base having operational manipulations defined in an input table and displayed results in an output table with a line displayed designating direction of data flow
CN100461158C (en) Method for processing data using application program
RU2406115C2 (en) Accessing complex data
JPH08255075A (en) Software design support device supporting task division
JPH0855019A (en) Visual programming method
US5781905A (en) Program generating method combining data item part with database manipulation part
JPH11265368A (en) Working procedure management system
JPH1173350A (en) Method and system for constructing and updating relational database system having image processing function
US5553278A (en) Method and system for manipulation of database and issuing report thereof
JP2007026389A (en) Data input device
JP2000235561A (en) Simulation model editor and machine readable recording medium recording program
KR101765324B1 (en) Sources code generating apparatus using structured query language and diagram, and method for processing thereof
JPH11184687A (en) Software document preparation system using hierarchical structure and relationship of software document and operation method of the system
JPH06501576A (en) dynamic information management computer system
JPH1020984A (en) Simplified function selection menu system
JP3167412B2 (en) Database search processor
JPH0588863A (en) Program development supporting system
JPH0668183A (en) Design supporting device
JP2003186670A (en) Automatic generation device, automatic generation method and automatic generation program for database access component
JP3424558B2 (en) Object management method
JP3824468B2 (en) Data management system
JPH06301668A (en) Method for constructing simulation data
JP2735921B2 (en) Address definition operation device
JP3015418B2 (en) System development equipment
JPH0773030A (en) Dynamic model design support method

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20001219