Hi All,
Persons(primary key defined) ,Orders(foreign key defined with ON DELETE CASCADE)
now iam trying to delete the data using LOAD REPLACE Method in parent table
so,parent table went to Set Integrity pending state"
when i run the "SET INTEGRITY FOR Persons IMMEDIATE CHECKED"
Table2 state becomes Set Integrity Pending State"
Here'if run the "SET INTEGRITY FOR Orders IMMEDIATE CHECKED"
it is throwing error like
SQL3603N Integrity processing through the SET INTEGRITY statement has found
an integrity violation involving a constraint, a unique index, a generated
column, or an index over an XML column. The associated object is identified by
"DB2INST1.ORDERS.SQL130518172342680". SQLSTATE=23514
Please tell me that how do i delete data from parent table and also which deletes rows of child table which refernce to parent table using LOAD not DELETE because it is a large amount of data
Persons(primary key defined) ,Orders(foreign key defined with ON DELETE CASCADE)
now iam trying to delete the data using LOAD REPLACE Method in parent table
so,parent table went to Set Integrity pending state"
when i run the "SET INTEGRITY FOR Persons IMMEDIATE CHECKED"
Table2 state becomes Set Integrity Pending State"
Here'if run the "SET INTEGRITY FOR Orders IMMEDIATE CHECKED"
it is throwing error like
SQL3603N Integrity processing through the SET INTEGRITY statement has found
an integrity violation involving a constraint, a unique index, a generated
column, or an index over an XML column. The associated object is identified by
"DB2INST1.ORDERS.SQL130518172342680". SQLSTATE=23514
Please tell me that how do i delete data from parent table and also which deletes rows of child table which refernce to parent table using LOAD not DELETE because it is a large amount of data