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 is query cache in mysql? : Sql dba
How to improve the performance of a pl/sq stored procedures or functions or triggers and packages ?
12 Answers IBM, TCS, UHD,
What are the different types of PL/SQL program units that can be defined and stored in ORACLE database ?
Is sql database free?
What are the most important characteristics of pl/sql?
Can there be more than one function with a similar name in a pl/sql block?
what are all different types of collation sensitivity? : Sql dba
Wat is SGA ?
How does a trigger work?
Can you call pl/sql package functions from within a fast formula?
What is pivot table in sql?
What does t sql mean?