What is referential integrity ?

Answers were Sorted based on User's Feedback



What is referential integrity ?..

Answer / rajesh

To establish a parent child relationship between two tables
and to prevent invalid data entry into the table , we make
set of rules on a column is called Referential integrity.

Is This Answer Correct ?    5 Yes 0 No

What is referential integrity ?..

Answer / mallikarjuna.anumala

A rule defined on a column (or set of columns) in one table
that allows the insert or update of a row only if the value
for the column or set of columns (the dependent value)
matches a value in a column of a related table (the
referenced value). It also specifies the type of data
manipulation allowed on referenced data and the action to
be performed on dependent data as a result of any action on
referenced data.

Is This Answer Correct ?    3 Yes 0 No

What is referential integrity ?..

Answer / pravin kadam

A rule defined on a column (or set of columns) in one table
that allows the insert or update of a row only if the value
for the column or set of columns (the dependent value)
matches a value in a column of a related table (the
referenced value). It also specifies the type of data
manipulation allowed on referenced data and the action to
be performed on dependent data as a result of any action on
referenced data.

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More SQL PLSQL Interview Questions

wt is the diff b/w greast and max ,least and min? wt is the diff b/w case and decod?

4 Answers   Oracle, TCS, Tecnics,


Explain aggregate functions are available there in sql?

0 Answers  


what is julian date in oracle

2 Answers  


Is a foreign key always unique?

0 Answers  


What are the types of variables use in pl sql?

0 Answers  






What are aggregate and scalar functions?

0 Answers  


What are the disadvantages of not performing database normalization?

0 Answers  


Explain the uses of a database trigger?

0 Answers  


write a query to display diference between two dates in sql server

2 Answers  


What is difference between sql and excel?

0 Answers  


how to create table with in the procedure or function?

2 Answers   Genpact, HCL,


a table has 2 classifications 1)liabilities 2)earnings this liabitity has 2 elements with 2 input values and the earnings have 2 elements with 2 input values i wrote a query so that my input is liability savings amount1 amount2 xxxx null xxxxxx 0 xxx1 null xxxxx1 0 null yyyy 0 yyyy null yyy1 0 yyy1 my problem is --when i developed a report(d2k) with this data my o/p is liabilities,amount1,savings,amount2 xxxx xxxxxx xxx1 xxxxx1 yyyy yyyy yyy1 yyy1 how could i move this savings,savings values 2 palces up. can any body provide me witha better solution

0 Answers   TCS,


Categories