What is ON DELETE CASCADE?
Answers were Sorted based on User's Feedback
Answer / tulsi
The main use of ON DELETE CASCADE is to delete the child
records automatically from a table when the related records
from master table is deleted.
Assign the ON DELETE CASCADE clause while creating the
foreign key
Is This Answer Correct ? | 17 Yes | 0 No |
Answer / vilas
Yes,its true and won't display any error while deleting the
master table.
Is This Answer Correct ? | 5 Yes | 1 No |
Answer / 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 |
what are the advantages of using stored procedures? : Sql dba
What is faster join or subquery?
explain commit and rollback in mysql : sql dba
What is trigger in pl sql?
How to display Row Number with Records in Oracle SQL Plus?
What is oracle sql developer?
What are the indexing methods?
What is pl/sql language case sensitive?
How many sql commands are there?
What are the different schemas objects that can be created using pl/sql?
Is sql a microsoft product?
How much does sqlite cost?