write a query to delete similar records in particular
fields(columns) in different tables

Answer Posted / ram

Guys, Please see the question again. It is related to
deleting different tables. I guess, the question is
intented to get the answer - ON DELETE CASCADE. We give
foreign constraints on tables and when the parent record is
deleted, the child records are automatically deleted when
you give command as ON DELETE CASCADE

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why does sql need a server?

554


What is implicit cursor in pl sql?

533


How do I partition in sql?

531


How to return multiple rows from the stored procedure?

511


Can we create index on primary key?

514






What is sql clause?

535


What is a variable in sql?

505


Which join is default?

511


what are the drivers in mysql? : Sql dba

544


What action do you have to perform before retrieving data from the next result set of a stored procedure ?

2080


How you improve the performance of sql*loader? : aql loader

566


what is query cache in mysql? : Sql dba

567


How is data stored on a disk?

526


What is the difference between row level and statement level trigger?

508


what is a composite primary key ? : Sql dba

573