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?

Answers were Sorted based on User's Feedback



What is referential integrity? What are the advantages of it?..

Answer / 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

What is referential integrity? What are the advantages of it?..

Answer / daynik

Referential integrity is a database concept that ensures
that relationships between tables remain consistent. When
one table has a foreign key to another table, the concept of
referential integrity states that you may not add a record
to the table that contains the foreign key unless there is a
corresponding record in the linked table. It also includes
the techniques known as cascading update and cascading
delete, which ensure that changes made to the linked table
are reflected in the primary table.

Is This Answer Correct ?    11 Yes 5 No

What is referential integrity? What are the advantages of it?..

Answer / rajdeo kumar

it show referance to another location with accuracy.

Is This Answer Correct ?    10 Yes 28 No

What is referential integrity? What are the advantages of it?..

Answer / ramakrishna

refrential nothing but forgein key

Is This Answer Correct ?    13 Yes 32 No

Post New Answer

More SQL Server Interview Questions

hi, i have a table called names and field name select * from names name a b c d i want to display like this name a,b,c,d how it is possible Regards Baiju

4 Answers  


What is the name of the system variable that returns the number of rows affected by a SQL statement?

0 Answers   HCL,


What are built in functions?

0 Answers  


There is a table1 with records (1,2,3,4,5,6) and table2 with records (4,5,6,7,8,9).write a query so as to get the result as 1,2,3,4,5,6,7,8,9

12 Answers   RBS,


What is the xml datatype?

0 Answers  


How to receive returning result from a query?

0 Answers  


How to retrieve data from log files in SQL SERVER ?????

1 Answers  


What is attribute relationships, why we need it? : sql server analysis services, ssas

0 Answers  


If you are working on a SQL database and if suddenly a developer changes the code and your queries results start giving errors,how will you check using a T-SQL query (on system tables) that what has changed in the database.

2 Answers   Microsoft,


What is the filtered index?

0 Answers  


After the SQL installation what are the jobs will you configure?

1 Answers   G7 CR Technologies, IBM, Satyam,


Write a SQL query to delete a table?

0 Answers   Amdocs,


Categories