Enforcing constraints from a parent table to a child table

Data processing: database and file management or data structures – Database design – Data structure types

Reexamination Certificate

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

C707S793000, C707S793000

Reexamination Certificate

active

07440956

ABSTRACT:
A method, apparatus, system, and signal-bearing medium that, in an embodiment, receive a constraint command that specifies a parent table, a primary key in the parent table, a child table, and a foreign key in the child table, and enforce that all values for the primary key in the parent table are present in the foreign key in the child table. In an embodiment, the enforcing may include receiving an insert command, wherein the insert command specifies a target key, a target value for the target key, and a target table; determining whether the target table matches the parent table and whether, within a transaction that includes the insert command, the child table includes at least one row with a foreign key value that equals the target value of the primary key; inserting the target value in the target table if the determining is true; and returning an error otherwise.

REFERENCES:
patent: 5133068 (1992-07-01), Crus et al.
Elmasri et al., “Fundamentals of Database Systems”, 1994, Addison-Wesley, Second Edition, (146-150, 189, and 213).
Transact-SQL User's Guide, “Check”, Accessed Jun. 3, 2008, pp. 1-2.
Yang et al., “Mapping Referential Integrity Constraints from Relational Databases to XML”, 2001, Springer-Verlag, pp. 329-340.

LandOfFree

Say what you really think

Search LandOfFree.com for the USA inventors and patents. Rate them and share your experience with other people.

Rating

Enforcing constraints from a parent table to a child table does not yet have a rating. At this time, there are no reviews or comments for this patent.

If you have personal experience with Enforcing constraints from a parent table to a child table, we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Enforcing constraints from a parent table to a child table will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFUS-PAI-O-3996180

  Search
All data on this website is collected from public sources. Our data reflects the most accurate information available at the time of publication.