waht is referencial integrity?
Answers were Sorted based on User's Feedback
Answer / arijitnit
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. The 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 defined by the definition of the
referential integrity constraint.
| Is This Answer Correct ? | 3 Yes | 1 No |
Answer / manisha
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 ? | 3 Yes | 2 No |
Whatz the main diff between Subquery and a Join
14 Answers Oracle, Zeta Interactive,
Explain the use of compress option in exp command.
How to resolve name conflicts between variables and columns?
what is candidate key & super key
What is backup in Oracle?
write a query that displays every Friday in a year with date?
How to use "for" statements in oracle?
In Oracle 9i what does "i" Stands for?
Explain about the analyze command in oracle?
Can any one explain me when i execute below query.. select months_between('07-JUL-12','10-FEB-12') from dual; Out put:- 4.90322581 How oracle calculate?
How to connect to oracle using service name instead of sid?
How can we create the complete backup of data in the oracle.
0 Answers IPEC, Satyam, SunTec,