Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Deleting some//all the child records from the child tables and th e corresponding records in the parent table(s)
The other day you sent me the query to find the direct and indirect relationship between tables. In thesame way is it possible to delete all/few lower level records based on the column value of the parent table? If so, could you please send me the SQL queries for the same?
Please note that I cannot enforce the 'ON DELETE CASCADE' rule on the foreign key constraints. Any help in this regard is very much appreciated.
Thanks and Regards,
Ranganath
--
Please see the official ORACLE-L FAQ: http://www.orafaq.net
--
Author: Krishnaswamy, Ranganath
INET: Ranganath.Krishnaswamy_at_blr.hpsglobal.com> (by way of Jared Still <jkstill_at_cybcon.com
Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services ---------------------------------------------------------------------To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Received on Fri Dec 27 2002 - 11:39:13 CST
![]() |
![]() |