Cannot delete or update a parent row: a foreign key constraint fails
只能在DOS下启动MySql,运行sql语句
关闭外键检测
SET FOREIGN_KEY_CHECKS = 0;
执行操作
SET FOREIGN_KEY_CHECKS = 1;
其他:
关闭唯一性校验
set unique_checks=0;
set unique_checks=1;
Cannot delete or update a parent row: a foreign key constraint fails
只能在DOS下启动MySql,运行sql语句
关闭外键检测
SET FOREIGN_KEY_CHECKS = 0;
执行操作
SET FOREIGN_KEY_CHECKS = 1;
其他:
关闭唯一性校验
set unique_checks=0;
set unique_checks=1;
psql窗口函数的使用
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M