All Exams Test series for 1 year @ ₹349 only
Question

In RDBMS, the constraint that no key attribute (column) may be NULL is referred to as :

The correct answer is
Entity Integrity

RDBMS Constraint: Key Attributes Cannot Be NULL

In a Relational Database Management System (RDBMS), tables use keys (specifically primary keys) to uniquely identify each record (row). A fundamental rule is that these key attributes must always contain a value; they cannot be left empty or set to NULL.

Understanding Entity Integrity

The constraint ensuring that no primary key attribute can have a NULL value is known as Entity Integrity. This rule guarantees that each row in a table represents a unique entity that can be identified.

  • Primary Key Rule: Every table must have a primary key.
  • Non-NULL Rule: The primary key column(s) cannot contain NULL values.

This constraint is crucial for maintaining the uniqueness and identify-ability of records within a database table.

Evaluating Other Options

The other constraints mentioned are distinct concepts:

  • Referential Integrity: Focuses on maintaining valid relationships between tables using foreign keys. It ensures that foreign key values must match existing primary key values in the referenced table or be NULL (if allowed for the foreign key column itself).
  • Functional Dependency: Describes a relationship where the value of one or more attributes determines the value of another attribute (e.g., a student ID determines the student's name).
  • Multi-valued Dependency: A more complex dependency related to normalization, where an attribute determines a set of values for another attribute.

Therefore, the constraint preventing NULL values in key attributes is Entity Integrity.

Was this answer helpful?

Important Questions from Integrity Constraints and Normal Form

  1. The ________ normal form is based on the concept of transitive dependency.
  2. In a relational database model, NULL values can be used for all but which one of the following ?
  3. Match the following with respect to RDBMS:

    A. Entity integrity

    1. Application-specific business rules beyond the general entity, domain and referential constraints

    B. Domain integrity

    2. Foreign-key values must match a referenced key, except where NULL is permitted

    C. Referential integrity

    3. Column values must satisfy the defined domain

    D. User defined integrity

    4. Primary-key values must be unique and non-NULL

Need Expert Advice?

Start Your Preparation with Prepp Mobile App

Download the app from Google Play & App Store
Download the app from Google Play & App Store
Prepp Mobile App