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 Databases databases referential-integrity relations + – rahul sharma 5 11.0k views answer comment Share Follow Print See all 4 Comments 4 4 Comments reply Ashwin Kulkarni commented Dec 17, 2017 reply Follow flag Is it option D? 0 0 replyShare rahul sharma 5 commented Dec 17, 2017 reply Follow flag Isn't c more strong answer? D will be some specific case. 0 0 replyShare Ashwin Kulkarni commented Dec 17, 2017 i edited by Ashwin Kulkarni Dec 17, 2017 reply Follow flag Due to D option, I haven't choose C. Referential can be specified in same table also and that's what recursive self referential integrity. 0 0 replyShare rahul sharma 5 commented Dec 17, 2017 reply Follow flag But d is also not always true.If i join two different tables.Self referential also forms binary relationship with both tables same.So indirectly it also joins two tables(although both are same) 1 1 replyShare Please log in or register to add a comment.
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. RajuSri answered Dec 18, 2017 RajuSri comment Share Follow 0 reply Please log in or register to add a comment.
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 Neeraj7375 answered May 17, 2018 Neeraj7375 comment Share Follow 0 reply Please log in or register to add a comment.
1 1 vote both c) and d) are correct talha hashim answered Oct 6, 2018 talha hashim comment Share Follow 0 reply Please log in or register to add a comment.