_________ are used to enforce data integrity and maintain consistency across related tables in a database.

  • Constraints
  • Indexes
  • Triggers
  • Views
Constraints are rules or conditions applied to columns or tables in a database to enforce data integrity and maintain consistency across related tables. Common types of constraints include primary key constraints, foreign key constraints, unique constraints, and check constraints. These constraints ensure that only valid data is entered into the database and help prevent inconsistencies or errors.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *