How to write query to Delete the records in child table
and corresponding records in parent table
Answer Posted / arijitnit
delete from child_table where values=...
on delete cascade..
U have to set the foreign key as the parent super key
| Is This Answer Correct ? | 11 Yes | 7 No |
Post New Answer View All Answers
What is usually the first word in a sql query?
How to create an multi-statement table-valued function?
What is the difference between set and select?
What is intellisense?
Is null in sql server?
What are the steps you must follow to hide sql server instances?
What is filestream?
tell me the disaster recovery plan
What is use of attribute hierarchy ordered ? : sql server analysis services, ssas
What is difference between getdate and sysdatetime in sql server 2008?
between cast and convert which function would you prefer and why?
Explain different types of self contained sub query?
What is default port number for sql server 2000?
What is the most common type of join?
You want to use bids to deploy a report to a different server than the one you chose in the report wizard. How can you change the server url?