📌  相关文章
📜  无法截断在外键约束中引用的表(`video_clips`.`channel_clips`,CONSTRAINT `clips_fk` FOREIGN KEY (`clip_id`) REFERENCES `video_clips`.`clips` (`id`))在 sql] - SQL 代码例子

📅  最后修改于: 2022-03-11 15:05:34.894000             🧑  作者: Mango

代码示例1
SET FOREIGN_KEY_CHECKS = 0; 

truncate table "yourTableName";

SET FOREIGN_KEY_CHECKS = 1;