Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我肯定有一个非常简单的问题:
知道它们是关键约束的数量,如何在不抑制它们的情况下清除表?
如下包装您的代码:
set foreign_key_checks = 0; -- your code here set foreign_key_checks = 1;
...鲍勃是你的叔叔。