What does cascade mean?

In databases & SQL, cascade means of a delete or update: to pass automatically from a parent row to all the child rows that point to it through a foreign key.

kæˈskeɪdverbCommon term

Databases & SQL vocabulary · Keys and Constraints

In Turkish: zincirleme uygulamak, kademeli olarak yansımak

Also used in: Software Engineering

How it is used

Set on a foreign key with ON DELETE CASCADE or ON UPDATE CASCADE. Other options are SET NULL, RESTRICT and NO ACTION. Cascading deletes are convenient but dangerous: one DELETE can silently remove thousands of related rows.

Example sentences

  1. Deleting a customer cascades to their addresses and payment methods.

  2. Be careful: the foreign key is set to cascade, so this will also delete all the invoices.

Common collocations

  • ON DELETE CASCADE
  • cascading delete
  • cascade to child rows
  • ON UPDATE CASCADE

More terms: Keys and Constraints

Practise with graded reading

Reading at the right level is the fastest way to make new words stick. Pick free English books by level: