Which of the following constraints enforces that the value of the primary key…

2017

Which of the following constraints enforces that the value of the primary key cannot be Null?

  1. A.

    Key constraint

  2. B.

    Foreign key constraint

  3. C.

    Domain constraint

  4. D.

    Entity integrity constraint

Attempted by 531 students.

Show answer & explanation

Correct answer: D

The correct option is D: Entity integrity constraint. The entity integrity constraint is a fundamental rule in the relational database model which strictly states that no primary key value can be NULL. This ensures that every row in a table can be uniquely identified.

Explore the full course: Niacl Ao It Specialist