What is ON DELETE CASCADE?

Answer Posted / ansupriya

If child record exists user cannot delete parent record.
Using on delete cascade on foreign constraint user can delete parent record .
Same time automatically it will delete the child record.

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what are date and time intervals? : Sql dba

760


Does user triggers have entry for trigger with compilation errors?

792


What is the purpose of my sql?

684


What does fetching a cursor do?

801


What are all different types of collation sensitivity?

737






How do I make my sql query run faster?

662


Is not equal in sql?

752


what are the performance and scalability characteristics of mysql? : Sql dba

723


What is lexical units in pl sql?

761


Can I join the same table twice?

744


How to display the records between two range in Oracle SQL Plus?

870


Is sql better than access?

714


What are the parameter modes supported by pl/sql?

731


What are some predefined exceptions in pl/sql?

744


What is foreign key in sql with example?

680