我想将“删除限制”更改为“删除级联”:我该怎么做?
ALTER TABLE T1
ADD CONSTRAINT fk_T1 FOREIGN KEY (id1)
REFERENCES T2 (id1) MATCH SIMPLE
ON UPDATE RESTRICT ON DELETE RESTRICT;
我想将“删除限制”更改为“删除级联”:我该怎么做?
ALTER TABLE T1
ADD CONSTRAINT fk_T1 FOREIGN KEY (id1)
REFERENCES T2 (id1) MATCH SIMPLE
ON UPDATE RESTRICT ON DELETE RESTRICT;