Method, system and computer program for inserting records into a database
AssigneeInternational Business Machines Corporation
InventorsZhimin Chen, Linqi Liu, Xiaoyan Qian, Serge Rielau
Life of this patent
Estimating the term…
Loading patent…
AssigneeInternational Business Machines Corporation
InventorsZhimin Chen, Linqi Liu, Xiaoyan Qian, Serge Rielau
Estimating the term…
For a data processing system having memory for storing a database, a method, a system and a computer program product for directing the data processing system to process a record to be inserted into the database is disclosed. The database includes a plurality of base tables. The method includes the steps of making a record copy matching the record, for each base table to be selected from the plurality of base tables: providing a base table candidate indication for a selected base table, the base table candidate indication indicating whether the selected base table is a candidate base table that may receive the record, the base table candidate indication being determined on an outcome of executing before triggers and an outcome of testing constraints in association with the record copy, the before triggers and the constraints being associated with the selected base table; and restoring the record copy so that the record copy matches the record before providing a next subsequent base table candidate indication for another base table to be selected.
For a database management system to be operatively coupled to a data processing system having memory for storing a database, a method of processing a record to be inserted into the database, the database comprising a plurality of base tables, the method comprising the steps of:
For a database management system to be operatively coupled to a data processing system having memory for storing a database, a computer program product for directing the data processing system to process a record to be inserted into the database, the database comprising a plurality of base tables, the computer program product comprising:
For a database management system to be operatively coupled to a data processing system having memory for storing a database, a method for inserting received data into the database through a view constructed from a union of two or more base tables, each base table having one or more constraints defining necessary conditions for at least one field of the data to meet for data to be inserted into the respective base table and including at least one before trigger operable to modify the data in a field before the insertion is performed, the method comprising the steps of:
For a database management system to be operatively coupled to a data processing system having memory for storing a database, a computer program product fir directing the data processing system to insert received data into the database through a view constructed from a union of two or more base tables, each base table having one or more constraints defining necessary conditions for at least one field of the data to meet for data to be inserted into the respective base table and including at least one before trigger operable to modify the data in a field before the insertion is performed, the computer program product comprising:
Dependencies are inferred from the claim text.