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
Explain steps of normalization?
Where views are stored in sql server?
How to insert new line characters into strings?
What is resource db in sql server?
what is an extended stored procedure? : Sql server database administration
How to implement service broker?
Can we use where and having clause together?
What are the difference between “where” and “having” clause in sql server?
what are the different ways to return the rowcount of a table?
Does transparent data encryption provide encryption when transmitting data across the network?
what is dbcc? : Sql server database administration
Explain an automatic checkpoint
Can a table have 2 foreign keys?
List all the types of user-defined functions?
define and explain the differences between clustered and non-clustered indexes.