JPH0498544A - Data limit control system - Google Patents

Data limit control system

Info

Publication number
JPH0498544A
JPH0498544A JP2215823A JP21582390A JPH0498544A JP H0498544 A JPH0498544 A JP H0498544A JP 2215823 A JP2215823 A JP 2215823A JP 21582390 A JP21582390 A JP 21582390A JP H0498544 A JPH0498544 A JP H0498544A
Authority
JP
Japan
Prior art keywords
null value
column
information
data
null
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
JP2215823A
Other languages
Japanese (ja)
Inventor
Masatoshi Takashima
高嶋 雅年
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 JP2215823A priority Critical patent/JPH0498544A/en
Publication of JPH0498544A publication Critical patent/JPH0498544A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To improve the retrieving performance for limit of the NULL value by providing a NULL value limit analyzing means, a non-NULL value information generating means, and a non-NULL value information storing means. CONSTITUTION:A non-NULL value information storing means 1 stores the non-NULL value information produced by a non-NULL value information gener ating means 3 into a definition information storing device 2 so that the non- NULL value information can be recognized for each table definition. A column is retrieved out of the table definition with input of a data defining language and the column No is stored if the NULL value is limited in the column. Then the column No added with the limit of the NULL value that is analyzed by a NULL value limit analyzing means 4 is retrieved. The the bit corresponding to the column No of the non-NULL value information is turned on with a column No added with the limit of the NULL value and then turned off with a column No containing no limit added to the NULL value. Thus the unitary control is attained to the presence or absence of the limit given to the NULL value contained in the table definition.

Description

【発明の詳細な説明】 [産業上の利用分野コ 本発明は、情報処理システムにおいて利用者により入力
されるデータの最小単位を列とし順序づけられていない
行の集まりを表として利用者に提供し、NULL値の指
定が可能なデータベースシステムにおける非NULL値
制約判定方式に関する。
[Detailed Description of the Invention] [Industrial Field of Application] The present invention provides an information processing system in which the minimum unit of data input by a user is a column and a collection of unordered rows is provided to the user as a table. , relates to a non-NULL value constraint determination method in a database system in which NULL values can be specified.

[従来の技術] 従来、情報処理システムにおけるデータベース技術で、
利用者が入力するデータの最小単位を列とし、順序づけ
られていない行の集まりを表とし、利用者が入力するデ
ータにおいてNULL値が許されるデータベースシステ
ムにおいて、非NULL値情報は存在セず、列データに
対するデータの入力が発生した場合にその列情報にNU
LL値制約が付加されているか否かを関連する表定義情
報中の列情報を定義情報格納装置をその都度検索し、判
断していた。
[Conventional technology] Conventionally, database technology in information processing systems
In a database system where the minimum unit of data input by a user is a column, a collection of unordered rows is a table, and NULL values are allowed in the data input by the user, non-NULL value information does not exist, and columns When data input occurs, NU is added to the column information.
Whether or not an LL value constraint has been added is determined by searching the definition information storage device each time for column information in the related table definition information.

[発明が解決しようとする問題点] 従来、情報処理システムにおけるデータヘース技術では
、データの入力を行おうとする列にNULL値制約の付
加があるか否かを関連する表定義情報中の列情報をその
都度検索、判定を行っていた。
[Problems to be Solved by the Invention] Conventionally, in data hashing technology in information processing systems, column information in related table definition information is used to determine whether or not a NULL value constraint is added to a column in which data is to be input. Searches and judgments were conducted each time.

そのため、データ入力の際にNULL値が入力されると
列情報にNULL値制約があるか否かを問わず検索を行
っていたため処理の効率化に問題があった。
Therefore, when a NULL value is input during data input, a search is performed regardless of whether or not column information has a NULL value constraint, which poses a problem in improving processing efficiency.

本発明は非NULL(i情報を設定することによりNU
LL値制約の検索処理の向上が期待される。
The present invention provides non-NULL (NU by setting i information)
It is expected that the search process for LL value constraints will be improved.

[問題点を解決するための手段] 利用者が入力するデータの最小単位を列とし、順序づけ
られていない行の集まりを表とし、利用者が入力するデ
ータにおいてNULL値が許されるデータベースシステ
ムにおいて、利用者が作成したデータ定義言語を解析し
表定義情報を生成する際に利用者が列に対し入力するデ
ータにNULL値を認めないことを予め指定してあるか
否かを解析するNULL値制約解析手段と、 NULL値制約が、関係する表定義情報中のどの列に対
して指定されているかを認識するための非NULL(を
情報を作成する非NULL値情報生成手段と、 非NULL値制報生成手段で作成された非NULL値情
報を定義情報格納装置中に表定義情報側に格納する非N
ULL値情報格納手段を有し、ある列に対してデータの
入力が発生した場合定義情報格納装置中の関係する表定
義情報内の列情報をその都度参照せずとも一つの表中に
存在する列に対し一括にNULL値制約が存在するかを
判別できるデータ制約管理情報方式。
[Means for solving the problem] In a database system where the minimum unit of data input by the user is a column, a collection of unordered rows is a table, and NULL values are allowed in the data input by the user, A NULL value constraint that analyzes the data definition language created by the user and analyzes whether the user has specified in advance that NULL values are not allowed in the data input to the column when generating table definition information. an analysis means; a non-NULL value information generating means for creating non-NULL information for recognizing for which column in related table definition information a NULL value constraint is specified; Non-NULL value information created by the information generating means is stored on the table definition information side in the definition information storage device.
It has a ULL value information storage means, and when data is input to a certain column, it exists in one table without having to refer to the column information in the related table definition information in the definition information storage device each time. A data constraint management information method that can determine whether a NULL value constraint exists for a column all at once.

次に本発明について図面を参照して詳細に説明する。情
報を作成する際に列情報にNULL値制約が指定されて
いるか否かを解析するNULL値解析手段4、 一つの表定義中のどの列にNULL値制約の指定がある
か否かを管理する非NULL情報を生成する非NULL
値情報生成手段3、 非NULL値情報生成手段3で生成された非NULL値
情報を表定義毎に認識できるように格納する非NULL
値情報格納手段1によって定義情報格納装置2に格納す
る。
Next, the present invention will be explained in detail with reference to the drawings. NULL value analysis means 4 that analyzes whether a NULL value constraint is specified in column information when creating information; manages which column in one table definition has a NULL value constraint specified or not; Non-NULL that generates non-NULL information
Value information generation means 3, non-NULL value information that stores the non-NULL value information generated by the non-NULL value information generation means 3 so that it can be recognized for each table definition.
It is stored in the definition information storage device 2 by the value information storage means 1.

以下にNULL値制約解析手段、非NULL値情報生成
手段の動作詳細を図を用いて説明する。
The details of the operation of the NULL value constraint analysis means and the non-NULL value information generation means will be explained below with reference to the drawings.

■、非NULL値制約情報生成手段 第2図はNULL値制約解析手段の処理の流れを示すフ
ローチャートである。
(2) Non-NULL value constraint information generation means FIG. 2 is a flowchart showing the processing flow of the NULL value constraint analysis means.

第2図を参照すると、データ定義言語入力(ステップ2
01)があると表定義中に存在する列について検索し、
列にNULL値制約があるとその列番号を記憶しておく
 (ステップ203)。この処理を列が存在し続けるま
で行う(ステップ204)。
Referring to Figure 2, data definition language input (step 2)
01), searches for columns that exist in the table definition,
If a column has a NULL value constraint, its column number is memorized (step 203). This process is repeated until the column continues to exist (step 204).

■、非NULL値情報生成手段 1、NULL値制約解析手段で解析されNULL値制約
が付加されている列番号を検索しくステップ301) 
、NULL値制約が付加された列番号の場合非NULL
値情報の列番号対応するビットをONしくステップ30
2) 、NLILL値制約が付加されていない列番号で
あればビア・トをOFFする(ステップ303)。列番
号が表定義中に存在する全列数と等しくなるまで処理を
継続する(ステップ304)。
(3) Search for the column number to which the non-NULL value information generation means 1 and the NULL value constraint analysis means have analyzed and added the NULL value constraint (Step 301)
, non-NULL if the column number has a NULL value constraint
Turn on the bit corresponding to the column number of value information Step 30
2) If the column number does not have an NLILL value constraint attached, the via-to is turned off (step 303). Processing continues until the column number equals the total number of columns present in the table definition (step 304).

次に一般的な処理の流れを具体的な例によって説明する
Next, the general processing flow will be explained using a specific example.

第5図に示すようにデータ定義言語−401が有る場合
、NULL値制約のついている列を検索し、付加された
列の列番号を一時的に記憶する領域−402に格納する
As shown in FIG. 5, when a data definition language 401 is available, a column with a NULL value constraint is searched and the column number of the added column is stored in a temporary storage area 402.

次に第5図で示すような記憶された列番号−501を基
に非NULL値情報−502を作成する。
Next, non-NULL value information 502 is created based on the stored column number 501 as shown in FIG.

[発明の効果コ 以上説明したように本発明はデータ定義言語入力時に列
に指定されたNULL値制約を解析し、非NULL値情
報を作成することにより表定義中のNULL値制約の有
無を一元的に管理することが出来る。
[Effects of the Invention] As explained above, the present invention analyzes the NULL value constraints specified in a column when inputting a data definition language, and creates non-NULL value information, thereby unifying the presence or absence of NULL value constraints in a table definition. can be managed effectively.

そのため、列に入力が発生した場合などは、NrJLL
値制約の検索が即座に可能となり処理効第1図は本発明
の一実施例を示す図である。
Therefore, if an input occurs in a column, NrJLL
Value constraints can be searched immediately and processing efficiency is achieved. FIG. 1 is a diagram showing an embodiment of the present invention.

1・・・非NULL値情報格納手段、2・・・定義情報
格納装置、3・・・非NLILL値情報生成手段、4・
・・NULL値制約解析手段、5・・・処理開始指示装
置第2図はNULL値制約の解析処理を示す図。
1... Non-NULL value information storage means, 2... Definition information storage device, 3... Non-NLILL value information generation means, 4.
. . . NULL value constraint analysis means, 5 . . . processing start instructing device FIG. 2 is a diagram showing analysis processing of NULL value constraints.

第3図は非NULL値情報生成処理を示す図。FIG. 3 is a diagram showing non-NULL value information generation processing.

第4図、第5図は非NULL値情報を生成する状態モデ
ル。
4 and 5 are state models that generate non-NULL value information.

Claims (1)

【特許請求の範囲】 利用者が入力するデータの最少単位を列とし、順序づけ
られていない行の集まりを表とし、利用者が入力するデ
ータにおいて値不定のデータ(以降、NULL値と称す
)が許されるデータベースシステムにおいて、 利用者が作成したデータ定義言語を解析し表定義情報を
生成する際に利用者が列に対し入力するデータにNUL
L値を認めないことを予め指定してあるか否かを解析す
るNULL値制約解析手段と、 NULL値制約が、関係する表定義情報中のどの列に対
して指定されているかを認識するための非NULL値情
報を作成する非NULL値情報生成手段と、 非NULL値制報生成手段で作成された非NULL値情
報を定義情報格納装置中に表定義情報別に格納する非N
ULL値情報格納手段を有し、 ある列に対してデータの入力が発生した場合定義情報格
納装置中の関係する表定義情報内の列情報をその都度参
照せずとも一つの表中に存在する列に対し一括にNUL
L値制約が存在するかを判別できることを特長とするデ
ータ制約管理情報方式。
[Claims] The minimum unit of data input by the user is a column, a collection of unordered rows is a table, and data with undefined values (hereinafter referred to as NULL values) in the data input by the user is defined as a column. In permitted database systems, when a data definition language created by a user is analyzed and table definition information is generated, data entered by the user for a column must contain NUL.
A NULL value constraint analysis means for analyzing whether it has been specified in advance that L values are not allowed, and a method for recognizing which column in the related table definition information the NULL value constraint is specified for. non-NULL value information generation means for creating non-NULL value information of the non-NULL value information;
It has a ULL value information storage means, and when data is input to a certain column, it exists in one table without having to refer to the column information in the related table definition information in the definition information storage device each time. NUL for columns all at once
A data constraint management information method characterized by being able to determine whether an L value constraint exists.
JP2215823A 1990-08-17 1990-08-17 Data limit control system Pending JPH0498544A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2215823A JPH0498544A (en) 1990-08-17 1990-08-17 Data limit control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2215823A JPH0498544A (en) 1990-08-17 1990-08-17 Data limit control system

Publications (1)

Publication Number Publication Date
JPH0498544A true JPH0498544A (en) 1992-03-31

Family

ID=16678851

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2215823A Pending JPH0498544A (en) 1990-08-17 1990-08-17 Data limit control system

Country Status (1)

Country Link
JP (1) JPH0498544A (en)

Similar Documents

Publication Publication Date Title
US7610263B2 (en) Reusing intermediate workflow results in successive workflow runs
US6263345B1 (en) Histogram synthesis modeler for a database query optimizer
Manaf et al. Comparison of carp rabin algorithm and Jaro-Winkler distance to determine the equality of Sunda languages
CN109918391A (en) A kind of streaming transaction methods and system
JPH0498544A (en) Data limit control system
JPH11272709A (en) File retrieval system
JPS617936A (en) Information retrieving system
JP2000250921A (en) Method and system for managing database
JPH08115336A (en) Multimedia processor
JP3167412B2 (en) Database search processor
US20060048126A1 (en) Method and a system thereof for generating a homepage content file capable of dynamically linking with a plurality of on-demand knowledge bases
JP5514682B2 (en) Batch processing program analysis method and apparatus
JP2006343798A (en) Method, device and program for generating materialized view table
JPH04281558A (en) Document retrieving device
JPH06119331A (en) Document parts controller for structured document
JPS63204434A (en) Electronic document retrieving device
JP2943643B2 (en) Semantic relation search device
JPH10124357A (en) Device and method for automatically loading data onto rdb (relational data base) table
JPH02116972A (en) Retrieval system for program data base
JPH05313971A (en) Key word managing system in relational data base
JP3156343B2 (en) Data dependency information processing method
JPH06222913A (en) Program analyzer
JPH04155437A (en) Case retrieving device
JPH04219855A (en) Command information analysing system
JPH04241672A (en) Character string retrieving system