sql imp topics
TRANSCRIPT
![Page 1: SQL Imp Topics](https://reader038.vdocument.in/reader038/viewer/2022100421/563db970550346aa9a9d54de/html5/thumbnails/1.jpg)
7/17/2019 SQL Imp Topics
http://slidepdf.com/reader/full/sql-imp-topics 1/1
Sql Imp Topics
• ON DELETE CASCADE:A Foreign Key constraint is a referential integrityconstraint. In other words, when you want to delete a row from a parent table and
that row has associated child rows in another table then you rst need to delete allassociated rows from the child table that has a relationship with the parent tablethen delete the parent table row. To avoid this situation, you can use the O !"#"T"$A%$A!" option, when you delete a row in the parent table, the database serveralso deletes any rows associated with that row &foreign 'eys( in a child table. Theprincipal advantage to the cascading)deletes feature is that it allows you to reducethe *uantity of %+# statements you need to perform delete actions for.