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
How to modify an existing user defined function?
How sql server executes a statement with nested subqueries?
How to list all columns in a table using odbc_columns()?
What do you understand by the data quality services in sql server?
tell me what are the steps you will take to improve performance of a poor performing query? : Sql server database administration
What is CTE in SQL
What is plan freezing?
What happens if null values are involved in arithmetic operations?
What is conditional split?
How do I find information about the install locations for the various instances running on a computer?
What is proper subset of candidate key?
What is report snapshot?
Difference between report and query parameter.
What are various ways to enhance the ssrs report?
How to select some specific rows from a table in ms sql server?