mysql设置外键约束
摘要:ALTER TABLE child_table ADD CONSTRAINT `FK_Reference_2` FOREIGN KEY (`parent_id` ) REFERENCES parent_table (`parent_id` ) ON DELETE CASCADE;
阅读全文
posted @ 2017-10-28 09:21
posted @ 2017-10-28 09:21
posted @ 2017-10-13 14:31