Question
Easy

Let for any relation R, IR represents operation insert into R and DR represents operation delete from R. Assume that a relation R2 has a foreign key that refers to primary key of another relation R1. Two operations that may cause violation of referential integrity constraints are:

1
IRI and IR2
2
DRI and DR2
3
IR1 and DR2
4
IR2 and DRI
Question Details
Time to Solve: 12
Exam: HTET
Level/Paper: Level 3
Chapter: Database Management System (DBMS) & SQL
Topic: Database Concepts
Correct Answer
Option D
Explanation

The correct option is (4): The two fundamental operations that can violate the principle of Referential Integrity are inserting a record into the child table or deleting a record from the parent table. The operation IR2 (Insert into R2) can cause a violation if the value supplied for the foreign key in the new R2 record does not match any existing value in the primary key of the parent table…Read More