Hi!
I have two tables TABLE1 and TABLE2 each has it's own primary key. TABLE2
has a foreign key to TABLE1 and TABLE1 has foreign key to TABLE2. Now I
have done a LOAD FROM NUL REPLACE INTO TABLE1 and LOAD FROM NUL REPLACE
INTO TABLE2 and both tables are in Set Integrity Pending state.
If I do SET INTEGRITY FOR TABLE1 IMMEDIATE CHECKED first I get:
SQL3608N Cannot check a dependent table "TABLE1" using the SET
INTEGRITY statement while the parent table or underlying table
"TABLE2" is in the Set Integrity Pending state or if it will be put
into the Set Integrity Pending state by the SET INTEGRITY statement.
SQLSTATE=428A8
If I do SET INTEGRITY FOR TABLE2 IMMEDIATE CHECKED first I get:
SQL3608N Cannot check a dependent table "TABLE2" using the SET
INTEGRITY statement while the parent table or underlying table
"TABLE1" is in the Set Integrity Pending state or if it will be put
into the Set Integrity Pending state by the SET INTEGRITY statement.
SQLSTATE=428A8
Im in a magic loop here. :)))
Is there a way to get out ? :))
Best regards,
Kovi
--
-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-
| In A World Without Fences Who Needs Gates? |
| Experience Linux. |
-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-
I have two tables TABLE1 and TABLE2 each has it's own primary key. TABLE2
has a foreign key to TABLE1 and TABLE1 has foreign key to TABLE2. Now I
have done a LOAD FROM NUL REPLACE INTO TABLE1 and LOAD FROM NUL REPLACE
INTO TABLE2 and both tables are in Set Integrity Pending state.
If I do SET INTEGRITY FOR TABLE1 IMMEDIATE CHECKED first I get:
SQL3608N Cannot check a dependent table "TABLE1" using the SET
INTEGRITY statement while the parent table or underlying table
"TABLE2" is in the Set Integrity Pending state or if it will be put
into the Set Integrity Pending state by the SET INTEGRITY statement.
SQLSTATE=428A8
If I do SET INTEGRITY FOR TABLE2 IMMEDIATE CHECKED first I get:
SQL3608N Cannot check a dependent table "TABLE2" using the SET
INTEGRITY statement while the parent table or underlying table
"TABLE1" is in the Set Integrity Pending state or if it will be put
into the Set Integrity Pending state by the SET INTEGRITY statement.
SQLSTATE=428A8
Im in a magic loop here. :)))
Is there a way to get out ? :))
Best regards,
Kovi
--
-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-
| In A World Without Fences Who Needs Gates? |
| Experience Linux. |
-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-
Comment