Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ON DELETE CASCADE query

Status
Not open for further replies.

vissesh

Technical User
Jun 15, 2012
8
US
Hi,

How do I get the list of all child tables and it's corresponding count of number of rows that got deleted when I use ON DELETE CASCADE option to delete the rows.

An audit of the counts against every table whose rows got deleted.
Table Master 100
Table child1 50
Table child2 5
Table child3 30


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top