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
Do you know what are acid properties?
How to convert character strings into numeric values?
Why you need indexing? Where that is stored and what you mean by schema object? For what purpose we are using view?
Define outer join?
What are the advantages of log shipping?
What is SQL Azure Data sync?
What is dimension table? : sql server analysis services, ssas
Show Practically Sql Server Views are updatable?
How to call a function from a stored procedure in SQL Server ?
List the various tools available for performance tuning?
What is merge statement?
How to recreate an existing index in ms sql server?
Can we add a cpu to sql server?
How to create a testing table with test data in ms sql server?
What is report snapshot?