How to write query to Delete the records in child table
and corresponding records in parent table
Answer Posted / zackziss
delete from c from child c inner join parent
on c.childid = parentid
| Is This Answer Correct ? | 2 Yes | 11 No |
Post New Answer View All Answers
What are the different types of backups avaialabe in sql server 2005?
What is candidate key with example?
Explain Geography datatype in SQL Server
What are policy management terms?
What are the advantages of mirroring?
What is bit data type? What's the information that can be stored inside a bit column?
Explain primary key?
What is inline table-value user-defined function?
Explain a checkpoint?
How to use user defined functions in expressions?
What is t-sql script to take database offline – take database online.
In what sequence sql statement is processed?
What is transaction server explicit transaction?
List all types of constraints in sql server?
What are the various editions of sql server 2017 that are available in the market?