📜  foreign_key_checks - 任何代码示例

📅  最后修改于: 2022-03-11 14:57:23.585000             🧑  作者: Mango

代码示例1
-- Specify to check foreign key constraints (this is the default)
    SET FOREIGN_KEY_CHECKS = 1;
 
   -- Do not check foreign key constraints
    SET FOREIGN_KEY_CHECKS = 0;