Nej. For at gøre det én gang, skal du blot skrive delete-sætningen for den tabel, du ønsker at kaskade.
DELETE FROM some_child_table WHERE some_fk_field IN (SELECT some_id FROM some_Table);
DELETE FROM some_table;
Nej. For at gøre det én gang, skal du blot skrive delete-sætningen for den tabel, du ønsker at kaskade.
DELETE FROM some_child_table WHERE some_fk_field IN (SELECT some_id FROM some_Table);
DELETE FROM some_table;