Offline validation of data in a database system for foreign key constraints
Abstract
An aspect of the present invention performs offline validation of data in database system for foreign key constraints. In an embodiment, a foreign key constraint defined for a database system is identified and an SQL script designed to verify whether data values stored in a foreign key column of a detail table is present in a primary key column of a master table (corresponding to the identified foreign key constraint), is generated. The SQL script is executed to determine whether the data stored in the database system satisfies the identified foreign key constraint.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 20 · Forward citations: 8.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A non-transitory machine readable medium storing one or more sequences of instructions for causing a digital processing system to validate foreign key constraints on data stored in a database system, wherein execution of said one or more sequences of instructions by one or more processors contained in said system causes said system to perform the actions of: populating data in a database of said database system without enforcement of foreign key constraints defined for said database; identifying a foreign key constraint defined for said database, wherein said foreign key constraint comprises a
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (8 of 8 total)
References Cited — Backward Prior Art (20)
Non-Patent Literature (5)
- "DTM Data Generator-Realistic Data for Database Testing Purposes", "http://www.sqledit.com/dg/", Copyright Date: 2004-2008, p. 1.
- "DTM Data Generator—Realistic Data for Database Testing Purposes", "http://www.sqledit.com/dg/", Copyright Date: 2004-2008, p. 1.
- "LDC's Automated Data Validation (ADV)", "http://www.lab-data.com/adv.htm", Downloaded Circa: Nov. 11, 2008, p. 1.
- "Lihua Ran et al.,", "AUTODBT: A Framework for Automatic Testing of Web Database Applications", "http://cat.inist.fr/?aModele=afficheN&cpsidt=16368005", Dated: Nov. 22, 2004, p. 1, vol. 3306.
- "Michael Kelly et al.,", "Effective Database Testing With IBM Rational Functional Tester 6.1", "http://www.ibm.com/developerworks/rational/library/05/0906-kelly/index.html", Updated Date: Nov. 10, 2005, pp. 1-12.