Which of the following defines entity integrity constraint?
2022
Which of the following defines entity integrity constraint?
Answer: A. The value of primary key cannot be null. — Entity integrity ensures that every row in a table is uniquely identifiable. This constraint mandates that the primary key column cannot contain null values,…
- A.
The value of primary key cannot be null.
- B.
The value of foreign key cannot be null.
- C.
The value of prime attribute cannot be null.
- D.
The value of non-prime attribute cannot be null.
Attempted by 1032 students.
Show answer & explanation
Correct answer: A
Entity integrity ensures that every row in a table is uniquely identifiable. This constraint mandates that the primary key column cannot contain null values, as nulls would prevent unique identification of records.
Loading lesson…