How to write query to Delete the records in child table
and corresponding records in parent table
Answer Posted / satyanarayana
I think using ON DELETE CASCADE we can delete the records
from both child and parent table
| Is This Answer Correct ? | 4 Yes | 4 No |
Post New Answer View All Answers
Where does the copy job runs in the log shipping primary or secondary? : sql server database administration
What is a trigger what are the advantages of trigger?
How to implement service broker?
can we have a nested transaction? : Sql server database administration
What are dml triggers and types of dml triggers?
What is the cartesian product of the table?
Does index slows down insert statements?
What are the difference between “where” and “having” clause in sql server?
What are the difference between data mart and data warehouse? : sql server analysis services, ssas
What are the advantages of passing name-value pairs as parameters?
What options are there to delete rows on the publisher and not on the subscriber? : sql server replication
Explain how to maintain a fill factor in existing indexes?
What are the types of database schema? : sql server analysis services, ssas
Define primary key?
How do I partition a table in sql server?