Cascade refers to a table-definition keyword in relational databases; it instructs the query engine to take a certain action (delete, update), when a primary key is modified, on tables linked by a foreign key.
Cascade is a keyword that helps define the behavior of database tables linked by a foreign key, when the primary table is changed. If cascade is specified in the table definition, then, for example:
- if a row in the primary table is deleted, the corresponding rows in the linked table can be deleted
- if a primary key is updated, then the corresponding rows can be updated