[英]Purging without dropping tables - mysql
I have for sure a very simple question : 我肯定有一个非常简单的问题:
How to purge tables without suppressing them, knowing that they are numbers of key constraints? 知道表是关键约束的数量,如何清除表而不抑制它们?
Wrap your code as follows: 将您的代码包装如下:
set foreign_key_checks = 0;
-- your code here
set foreign_key_checks = 1;
... and Bob's your uncle. ...而鲍勃是你的叔叔。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.