Computer Science for IGCSE & O level - Databases (Section 3 - No. 26)

What is the purpose of a 'constraint' in a database?
To add extra space to a database.
To enforce rules and restrictions on data.
To change the database schema.
To speed up database queries.

Explanation

Constraints are used to define rules for data validation and ensure the integrity of the data.

Comments (0)

Advertisement