Which of the following defines entity integrity constraint?

2022

Which of the following defines entity integrity constraint?

  1. A.

    The value of primary key cannot be null.

  2. B.

    The value of foreign key cannot be null.

  3. C.

    The value of prime attribute cannot be null.

  4. D.

    The value of non-prime attribute cannot be null.

Attempted by 410 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.

Explore the full course: Up Lt Grade Assistant Teacher 2025