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

What is the result of open cursor statement?

1048


How to create backup table in db2?

1056


How do I delete a column in db2?

1070


What is cursor in dbms?

1023


Which is faster delete or truncate?

1088


Name the lockable units in DB2?

1090


How do I add a column to an existing table in db2?

992


How can you classify the locks in db2?

1049


What are the full forms of spufi and dclgen and why are they used?

1035


How and when does the db2 enforces the unique key?

1057


Is it possible to alter a table – for example adding a column, when another user is accessing or updating some columns?

1050


What is performance tuning db2?

1025


What is ibm db2 database?

970


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

1155


What is difference between rollback and commit?

1117