How to write query to Delete the records in child table
and corresponding records in parent table
Answer Posted / vaishali
delete from child_table, parent_table where
child_table.parent_id=parent_table.parent_id
| Is This Answer Correct ? | 14 Yes | 26 No |
Post New Answer View All Answers
What is report server project?
What are the reporting services components?
How to drop an existing table?
What are the advantages of using cte?
what are the disadvantages of cursors? : Sql server database administration
How to verify a login name with sqlcmd tool?
What is replication and database mirroring?
What is tablesample?
Explain the difference between HTTP and HTTPS in database?
When you should use a low fill factor?
What is transaction server implicit?
What is built-in/administrator?
What is after dml trigger?
What is de-normalization and what are some of the examples of it?
What part does database design plays a role in performance of an sql server-based application?