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 is the difference between subquery and correlated query?

1111


How many joins in sql?

1053


What is primary key and foreign key?

1009


Is primary key clustered index?

990


What is the best partition size for windows 10?

1049


How many databases can sql express handle?

1026


How to create a menu in sqlplus or pl/sql?

1161


What are the qualities of 2nf?

1094


What are the two virtual tables available at the time of database trigger execution?

1266


How can I tell if sql is running?

1126


What normalization means?

1010


what is an extent ? : Sql dba

1155


what is a foreign key ? : Sql dba

1108


How many sql are there?

1047


Does inner join return duplicate rows?

1034