10,986 views
2 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 1 vote
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 1 vote

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

Position:
Show:

Related questions

3 3 votes
0 0 answers
361
361 views
ramcharan2410 asked Dec 2, 2024
361 views
In the case of referential integrity in RDBMS, there are solutions for INSERT, DELETE, and UPDATE operation problems on Referenced Table (or) Base Table like ON DELETE CA...
0 0 votes
1 1 answer
2.5k
2.5k views
ankitgupta.1729 asked Dec 16, 2017
2,487 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 ...
1 1 vote
2 2 answers
5.3k
5.3k views
Purple asked Jan 19, 2017
5,333 views
We can convert any weak entity set to a strong entity set by simply adding appropriate attributes. Why, then, do we have weak entity sets at all? $1)$ We want to avoid th...
0 0 votes
3 3 answers
3.3k
3.3k views
uzumzki asked Aug 17, 2015
3,288 views
R(ABC)     S(BDE)F:A->B      B ->C     B->D     D->EAND R HAS 100 TUPLES AND S HAS 200