goodfriend
Programmer
for a given set of tables?
Here is a description of my problem:
Tables:
A B C
COL-PK COL-PK COL-PK
COL-A1 COL-A1 COL-A1
COL-B1 COL-B1 COL-A2
I have the relationships defined in the following way:
1.A.COL-PK=COL-A1
2.C.COL-A1=COL.PK
Now I know how to turn off constraint 1, however, because I am iterating through all 3 tables , I do not know how to turn off the constraint 2 while working on Table A.
I know that before execution I can turn off constraints on all the tables in the schema and then enable all of them but its too slow.
Therefore in summary the question is given Table A how can I turn off all the constraints that are dependent on Table A?
Please advice.
Here is a description of my problem:
Tables:
A B C
COL-PK COL-PK COL-PK
COL-A1 COL-A1 COL-A1
COL-B1 COL-B1 COL-A2
I have the relationships defined in the following way:
1.A.COL-PK=COL-A1
2.C.COL-A1=COL.PK
Now I know how to turn off constraint 1, however, because I am iterating through all 3 tables , I do not know how to turn off the constraint 2 while working on Table A.
I know that before execution I can turn off constraints on all the tables in the schema and then enable all of them but its too slow.
Therefore in summary the question is given Table A how can I turn off all the constraints that are dependent on Table A?
Please advice.