How to alter the constraint for on delete cascade
PrafullaDec 13 2011 — edited Dec 13 2011Hi Guys,
I have a table which has 5 level of child tables .But all the child tables have the foreign keys without on delete cascade.But I have to delete a data in the parent table .One method I thought to change the child table constraints to ON DELETE CASCADE then delete the record and after that again to change the constraints with out the ON DELETE CASCADE.Please let me know wheather these is possible or not .If not is there any other alternatives to achive this.
Any suggestions would be highly appreciated.
Thanks in advance
Prafulla