Database relationship constraint
Abstract
According to the preferred embodiments, a database relationship constraint is defined for a first column that specifies a set of allowable values for the first column that depend on a set of data values in a second column that may be of a different type than data in the first column. In a first embodiment, a database relationship constraint specifies allowable values for one column in a database table based on one or more data values in a different column in the same database table. In a second embodiment, a database relationship constraint specifies a set of allowable values in a first column based on one or more data values in a second column in a different database table. In both cases, the data in the second column may be of a different type than data in the second column.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 7 · Forward citations: 5.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
An apparatus comprising: at least one processor; a memory coupled to the at least one processor; a first database table residing in the memory; a relationship constraint defined for a first column in the first database table, the relationship constraint specifying a set of allowable values for the first column that depends on data in a second column that may be of a different type than data in the first column; and a database manager residing in the memory and executed by the at least one processor, the database manager comparing data to be entered into the first column with the set of allowab
- Claim 2Depends on #1
The apparatus of claim 1 wherein the second column is in the first database table.
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (5 of 5 total)
References Cited — Backward Prior Art (7)
Non-Patent Literature (5)
- "Constraints and Triggers", pp. 1-3, http://www.cs.toronto.edu/db/courses/db2/constraints.html.
- Advance Table Techniques, pp. 1-11.
- Carole Goble, Integrity Constraints in Oracle 8i, Feb. 23, 2001, pp. 1-7.
- Oracle, Data Integrity, 1996, pp. 1-16.
- US patent application filed Dec. 11, 2003, U.S. Appl. No. 10/733,752; "Database Range Constraint that is Dynamically Limited by Data in the Database".