Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: MASTER-DETAIL UPDATE
Have you tried this way?
Disable the constraint executing:
ALTER TABLE TABLE_2 DISABLE CONSTRAINT <The constraint that fails>;
then update table_1 and every row in table_2 that references the row
you've updated in table_1. But be sure to update the right rows.
And finally ALTER TABLE TABLE_" ENABLE CONSTRAINT <the same one>
If you've updated them correctly there should not be any problem.
Regards.
-- Julio Negueruela mailto:julio.negueruela_at_si.unirioja.esReceived on Mon Mar 09 1998 - 00:00:00 CST