engineering computer science MCQ #756

What is the purpose of a 'CHECK' constraint in a database?

engineering computer science MCQ #756

  1. Question 1

    Q1. What is the purpose of a 'CHECK' constraint in a database?

    • A) To ensure data consistency
    • B) To limit the range of values in a column
    • C) To ensure data uniqueness
    • D) To manage user permissions

    Answer: To limit the range of values in a column

    Explanation: A 'CHECK' constraint limits the range of values that can be entered in a column, ensuring that data conforms to a specific condition or rule.