IT lexicon › Database › Cascading update

Cascading update

Database På svenska → Updated: 2026-11-11

Referential integrity action: updates to a primary key are automatically propagated to all dependent rows.

ON UPDATE CASCADE updates every foreign key reference when the parent primary key changes. Rarely safe in practice since primary keys should not change—better to use surrogate keys and avoid the situation altogether. Same action options as cascading delete: RESTRICT, SET NULL, SET DEFAULT.

← Back to the lexicon