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

What is the use of CASCADE CONSTRAINTS?

Answer Posted / nitesh

It is mainly used in referential integrity constraints.

When you use primary key/candidate key of one relation(say,
r1) as foreign key in other relation(say, r2), you want
changes made to primary key/candidate key of r1 must reflect
in foreign key of r2. And this can be achieved by CASCADE
constraint.
eg. consider two relations account, branch(with primary key
branch_name)

create table account(.....
foreign key branch_name references branch
on delete cascade
on update cascade
..........)

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between the application object and session object?

1011


What is the use of sql profiler in sql server 2012?

841


What are the aggregate and scalar functions?

990


Explain user defined views?

911


Explain steps of normalization?

939


How to list all stored procedures in the current database using ms sql server?

1054


What is update locks?

832


What is partition in sql server?

973


How to change a login name in ms sql server?

1024


Tell me what is difference between clustered and non clustered index?

896


What are different types of raid levels?

1070


Explain the first normal form(1nf)?

967


How to enable/disable indexes?

1014


Is it possible to run multiple publications and different type of publications from the same distribution database? : sql server replication

936


Is it possible for a stored procedure to call itself or recursive stored procedure?

892