Ne. Chcete-li to provést pouze jednou, jednoduše byste napsali příkaz delete pro tabulku, kterou chcete kaskádovat.
DELETE FROM some_child_table WHERE some_fk_field IN (SELECT some_id FROM some_Table);
DELETE FROM some_table;
Ne. Chcete-li to provést pouze jednou, jednoduše byste napsali příkaz delete pro tabulku, kterou chcete kaskádovat.
DELETE FROM some_child_table WHERE some_fk_field IN (SELECT some_id FROM some_Table);
DELETE FROM some_table;