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 referential integrity?

Answer Posted / renu gupta

Referential integrity refers to the consistency that must
be maintained between primary and foreign keys.

1.An insert into primary key table cannot violate
referential integrity and no checking is required
2.A deletion of foreign key value can not violate
referential integrity and no checking is required
3.Changes in primary key is allowed only when those values
are not in foreign key.
4.Insert and updates in foreign key is allowed only when it
has a matching value in primary key
5. If RESTRICT is specified on foreign key definition,
deletion of primary key is not allowed
6. If CASCADE is specified, both primary and foerign keys
values can be deleted together only
7. If SET NULL is specified, then the foreign key value is
set null , provided nulls are allowed in the foreign key
column

Is This Answer Correct ?    12 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

For a db2 column that is being defined as decimal (11, 2), discuss the cobol picture clause.

1094


Define check constraint.

1066


DB2 can implement a join in three ways using a merge join, a nested join or a hybrid join. Explain the differences?

2827


Is the primary key a clustered index?

1127


What is null value in db2?

1004


Explain package in db2 and its advantages?

1190


What are the benefits of using the db2 database?

1210


What is the role of schema in the db2 database?

1249


What are db2 tables?

1097


How do I delete a table in database?

1005


Is db2 relational database?

962


What is ibm db2 database?

991


What is the function of logging in the db2 database?

1102


Mention a credible reason why select* is never given preference in an sql program that has been embedded.

1179


Mention the various locks that are available in db2.

1024