×

System and method for constraint checking bulk data in a database

  • US 5,706,494 A
  • Filed: 02/10/1995
  • Issued: 01/06/1998
  • Est. Priority Date: 02/10/1995
  • Status: Expired due to Fees
First Claim
Patent Images

1. In a relational database management system (RDMS) having a query compiler with a constraint engine and memory including mass storage for storing a database that has at least one table Ti containing a plurality of data records, each data record being uniquely identifiable in the RDMS, wherein the RDMS system further has a data processor for processing queries represented by a query graph, a method for checking for constraint violations in a data record in the table Ti, the method comprising the steps of:

  • generating an insert query QMAIN for inserting one or more records into the table Ti ;

    compiling the insert query QMAIN to produce compiled insert commands including insert code and checking code to check for constraint violations in one or more records specified by the insert query QMAIN ;

    modifying the query QMAIN by replacing the insert code with compiled select commands to produce modified code having select code and the checking code; and

    ,constraint checking each record in the table Ti with the modified code.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×