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 strongm 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' option 1

Status
Not open for further replies.

rajsrivatsa9

Technical User
Jun 19, 2001
10
IN
If I use ondelete cascade in the child table, can this table have any references with another table..? For eg.. Customer table is a parent of Cust_products table. The I have a Product master table. If I provide 'ondelete cascade' in Cust_products table which refers both Customer table and Product master table.., How the system will accept..?
Please guide me..!
 
The simple answer is yes. If you have a on dlete cascade from a to b and then B to C, deleteing from a will cause records from B and C to be deleted.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top