In databases, ON UPDATE CASCADE ensures which of the following?
-
Normalization
-
Data Integrity
-
Materialized Views
-
None of these
B
Correct answer
Explanation
ON UPDATE CASCADE is a referential integrity constraint that automatically updates dependent rows when a referenced primary key is updated. This ensures data consistency across related tables, preventing orphaned records and maintaining the integrity of relationships. Options A and C describe different database concepts (normalization and materialized views).