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 is the command used to fetch the first 5 characters of a string?

711


How to add a column ‘salary’ to a table employee_details?

595


What is the difference between local variables and global variables?

615


What are the types of functions in sql?

569


What is bulk compiling in pl/sql.?

612






What are some predefined exceptions in pl/sql?

552


What is self-join and what is the requirement of self-join?

637


Is not equal in sql?

572


Explain clause in sql?

564


Write the order of precedence for validation of a column in a table? I. Done using database triggers. Ii. Done using integarity constraints

646


What is a stored procedure in sql with example?

606


What are all the different normalization?

564


What is program debugging?

572


What is restrict in sql?

561


What are the different types of dbms?

554