What is Referential Integrity?

Answer Posted / suriyaraj

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 ?    7 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is it possible to create the following trigger: before or after update trigger for each row?

722


What is an index? What are the types of indexes? How many clustered indexes can be created on a table?

554


How to rename a column in the output of sql query?

539


how to use regular expression in pattern match conditions? : Sql dba

530


What are the different types of functions in sql?

515






What is structural independence and why is it important?

551


how to use like conditions? : Sql dba

578


Enlist some predefined exceptions?

587


What are the two types of periodical indexes?

507


Is left join faster than inner join?

620


Can we use loop in sql?

537


What is rownum and rowid?

572


Is hadoop a nosql?

579


What are the parameter modes supported by pl/sql?

536


what are date and time functions in mysql? : Sql dba

541