write a query to delete similar records in different tables
with same structure
Answer Posted / radha sri seshu.kolla
while creating table and giving foreign key constraint give
the key word 'on delete cascade'.automatically when the
record in the master table is delated the relaeted record
in the detail table will also be deleted.
| Is This Answer Correct ? | 3 Yes | 3 No |
Post New Answer View All Answers
What is sqlerrm?
What are stored procedures used for?
What is a crud api?
What is triggering circuit?
Which is better trigger or stored procedure?
What are the different ways to optimize a sql query?
Is sql similar to python?
ERROR:Insert or update on table"accnt" violates foreign key constraints "acct_to_curr_symbol" DETAILS:KEY(accnt_curr_id)(-2)is not present in the table "curr_symbol" ......solve The Problem..
What is sql constant?
How do I count duplicates in sql?
What is compilation error in pl sql?
What is rename in sql?
What is the use of primary key?
what is a record in a database ? : Sql dba
Is oracle and sql same?