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? What are the advantages of it?

Answer Posted / anand

Referential integrity
Referential integrity in a relational database is
consistency between coupled tables. Referential integrity
is usually enforced by the combination of a primary key or
candidate key (alternate key) and a foreign key. For
referential integrity to hold, any field in a table that is
declared a foreign key can contain only values from a
parent table's primary key or a candidate key. For
instance, deleting a record that contains a value referred
to by a foreign key in another table would break
referential integrity. A relational database management
system (RDBMS) enforces referential integrity, normally
either by deleting the foreign key rows as well to maintain
integrity, or by returning an error and not performing the
delete. Which method is used would be determined by the
referential integrity constraint, as defined in the data
dictionary.

Is This Answer Correct ?    44 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which event (check constraints, foreign key, rule, trigger, primary key check) will be performed last for an integrity check?

1007


What is SQL Azure Federations?

112


How global temporary tables are represented and its scope?

977


what is raid? : Sql server database administration

1041


What are basics of policy management?

1105


Explain the steps to use transact-sql cursor?

1063


What is clustered index

1010


Which feature in sql server 2008 has surprised you? You can name just one. : sql server database administration

946


What are drilldown reports?

154


What is the order by used for?

1024


what is the sql equivaent of the dataset relation object ?

2027


query processing

2175


What is scalar user-defined function?

1103


Where the sql logs gets stored? : sql server database administration

965


What is a subquery in a select query statement in ms sql server?

1132