Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: affected rows on delete cascade
You may use triggers on child table - "after/before delete".
Rgds
Abhay
Manhattan Assoicates
Phone: 40418080 Ext: 4635
-----Original Message-----
From: oracle-l-bounce_at_freelists.org
[mailto:oracle-l-bounce_at_freelists.org] On Behalf Of Johan Eriksson
Sent: Tuesday, January 09, 2007 3:12 PM
To: oracle-l_at_freelists.org
Subject: affected rows on delete cascade
Hi
Is there a way to see how many rows a delete cascade deletes in the different tables affected by the statement? Seems it only return the number of the parent table and not the child and I need a way to make sure the it only deletes the rows I previously has been exported and counting the numbers in the tables before and after doesn't seem possible since new data is added all the time.
/johan
--
http://www.freelists.org/webpage/oracle-l
--
http://www.freelists.org/webpage/oracle-l
Received on Tue Jan 09 2007 - 05:22:12 CST
![]() |
![]() |