📜  mysql 修改外键 - SQL 代码示例

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

代码示例3
SET foreign_key_checks = 0;
UPDATE languages SET id='xyz' WHERE id='abc';
UPDATE categories_languages SET language_id='xyz' WHERE language_id='abc';
SET foreign_key_checks = 1;