What is the use of CASCADE CONSTRAINTS?

Answer Posted / naresh

If you specify this option, later when you delete a row in
the parent table, the database server also deletes any rows
associated with that row (foreign keys) in a child table.
The principal advantage to the cascading-deletes feature is
that it allows you to reduce the quantity of SQL statements
you need to perform delete actions.

Is This Answer Correct ?    14 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Tell me the use of keyword with encryption. Create a store procedure with encryption?

554


What is partition in sql server?

529


Explain the difference between delete,drop and truncate in SQL Server?

591


what are the Prerequisites for Replication?

10570


what are the reporting service components in SSRS?

118






How can you append an identity column to a temporary table?

451


Explain Capacity planning to create a database? and how to monitor it?

3753


What is implicit cursors?

553


how we use window authentication connection with sql server.?

630


What security features are available for stored procedure?

589


Define right outer join?

546


What is sql server programming?

553


Can we add our custom code in ssis?

550


How to use clusters?

550


What is rtm version in sql server?

525