I have set up a table that contains a column with a foreign key, set to ON DELETE CASCADE (delete child when parent is deleted)
ON DELETE CASCADE
What would the SQL com
ALTER TABLE DROP FOREIGN KEY fk_name; ALTER TABLE ADD FOREIGN KEY fk_name(fk_cols) REFERENCES tbl_name(pk_names) ON DELETE RESTRICT;