9,575 views
2 votes
2 votes
select the correct statement from the following on referential integrity

Select one:

a. referential integrity constraints check whether the primary key, values are unique

b. referential integrity constraints check whether an attribute values lies in the given range

c. referential integrity constraints are specified between two relations in a schema

d. referential integrity constraints are specified between entities having recursive relationship

3 Answers

1 votes
1 votes
Answer : C - referential integrity constraints are specified between two relations in a schema.

Referential integrity constraint example : Foreign key relation. And those two relations can refer to the same relation. This constraint is used to specify that the range of values that an attribute can take depends on the referenced key(Primary key) of the relation. It can take NULL values.
1 votes
1 votes

Ans is C, referential integrity constraints are specified between two relations in a schema

Whenever two tables contain one or more common columns, RDBMS can enforce the relationship between the two tables through a referential integrity constraint. Define a PRIMARY or UNIQUE key constraint on the column in the parent table (the one that has the complete set of column values). Define a FOREIGN KEY constraint on the column in the child table (the one whose values must refer to existing values in the other table).

For more references, please refer to the link https://docs.oracle.com/cd/B10500_01/appdev.920/a96590/adg05itg.htm

Related questions

0 votes
0 votes
1 answer
1
ankitgupta.1729 asked Dec 16, 2017
1,285 views
Consider the join of a relation R with a relation S. If R has 100 tuples and S has 9 tuples then the maximum and minimum sizes of the join respectively under referential ...
0 votes
0 votes
3 answers
3
uzumzki asked Aug 17, 2015
1,961 views
R(ABC)     S(BDE)F:A->B      B ->C     B->D     D->EAND R HAS 100 TUPLES AND S HAS 200