Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What are the advantages of stored procedure?

946


Is it possible to read/write files to-and-from PL/SQL?

1035


describe mysql connection using mysql binary. : Sql dba

993


How do I know if I have sql express or standard?

976


How can you load microsoft excel data into oracle? : aql loader

1128


What is %s in sql?

972


Is left join faster than inner join?

1063


How do I run sql profiler?

1007


What is a sql statement?

900


What is trigger in sql? Explain

941


Explain dml and ddl?

920


What are the types of variables use in pl sql?

969


what is heap table? : Sql dba

1046


What is sql injection vulnerability?

869


What kind of join is join?

903