Answer Posted / 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 |
Post New Answer View All Answers
Do prepared statements prevent sql injection?
Which one is better subquery or joins?
How do sql triggers work?
Can we use loop in sql?
What is the difference between a primary key and a clustered index?
What is nvarchar in sql?
Which is better varchar or nvarchar?
What is normalisation and its types?
Which tcp/ip port does sql server run?
What is the requirement of self-join?
What is scalar data type in pl sql?
How do you write an inner join query?
Is sql an operating system?
what is the difference between ereg_replace() and eregi_replace()? : Sql dba
What are the advantages of sql?