CBSE Class 12 Computer Science Question 8 of 79

Table Creation and Data Manipulation Commands — Question 2

Back to all questions
2
Question

Question 2

What is a constraint ? Name some constraints that you can apply to enhance database integrity.

Answer

A constraint is a condition or check applicable on a field or set of fields.
Some constraints that we can apply to enhance database integrity are:

  1. Unique constraint.
  2. Primary key constraint.
  3. Default constraint.
  4. Check constraint.
  5. Foreign key constraint.