Navicat截断表提示外键冲突
SET FOREIGN_KEY_CHECKS = 0;
TRUNCATE TABLE reportdetail;
TRUNCATE TABLE report;
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;
TRUNCATE TABLE reportdetail;
TRUNCATE TABLE report;
SET FOREIGN_KEY_CHECKS = 1;
本文标题:Cannot truncate a table referenc
本文链接:https://www.haomeiwen.com/subject/vyejzctx.html
网友评论