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
Which autogrowth database setting is good?
What is difference between group by and having?
Tell me the phases a transaction has to undergo?
How you can get a list of all the table constraints in a database?
Can two tables share a primary key?
How to execute the cursor queries with "open" statements?
What are click through reports?
What is normalization process?
Are there any preferred steps that need to be taken care of before starting the installation of sql server 2000?
If we delete pack Spec what will be the status of pack Body ?
What is data source view or dsv? : sql server analysis services, ssas
What is equi join with example?
Can we use pragma autonomous_transaction in trigger?
What is the difference between a clustered index and a non-clustered index?
how to avoid cursors? : Sql server database administration