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...

How to write query to Delete the records in child table
and corresponding records in parent table

Answer Posted / krishnakumar

create table employee(id int references authors(au_id) ON
DELETE CASCADE,firstname(30))



this is chilld table .in this query use on first child table
constraints values delete next parent table constrains value
delete ... this is ON DELETE CASCADE CONCEPT

Is This Answer Correct ?    7 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between resultset and resultsetmetadata?

981


What is policy based management (pbm)? : sql server database administration

992


Why olap is used?

979


What are the differences between sql server and mysql.

1101


What are actions, how many types of actions are there, explain with example? : sql server analysis services, ssas

1032


What are the 2 types of classifications of constraints in the sql server?

1127


What is 3nf normalization?

1004


What are binary string data types in ms sql server?

1303


What is an execution plan?

1155


How you trouble shoot when any job fails

1937


Explain few examples of RDBMS?

1045


What is the difference between nvl and nvl2?

982


How to return the top 5 rows from a select query in ms sql server?

1146


What is ms sql server index?

1109


What is difference between equi join and natural join?

1046