发明名称 Method for loading rows into a database table while enforcing constraints
摘要 Data to be loaded into a table of a database is read from an input file by a LOAD utility including a CHECK subutility that performs constraint checking on each row prior to loading the row into the table. During initialization of the CHECK subutility, the DB2 catalog is read to identify any constraints that apply to the data to be loaded. If any check constraints apply, check constraint routines are built and compiled by the CHECK subutility. If any referential integrity constraints apply, the key values for the parent index of each referential integrity constraint are read and stored in an additional dataspace allocated by the CHECK subutility so that the foreign key values from each row to be loaded can be located by the CHECK subutility and compared against the parent index values prior to loading the data into the table. When the constraint checking for the loading of data is complete, the additional dataspace allocated by the CHECK subutility is released.
申请公布号 US6427143(B1) 申请公布日期 2002.07.30
申请号 US19980058754 申请日期 1998.04.10
申请人 COMPUTER ASSOCIATES THINK, INC. 发明人 ISIP, JR. AMANDO B.;WEAVER STEPHEN J.;RAMOS LIZA N.;DONOVAN STEVE
分类号 G06F17/30;(IPC1-7):G06F17/30 主分类号 G06F17/30
代理机构 代理人
主权项
地址