首页
移动开发
物联网
服务端
编程语言
企业开发
数据库
业界资讯
其他
搜索
清空具有外键约束的表时报ERROR 1701(42000)的解决
数据库
2018-05-10 07:50:46
阅读次数: 1
清空具有外键约束的表时报ERROR 1701(42000)的解决
ERROR 1701 (42000): Cannot truncate a table referenced in a foreign key
constraint
解决方法:
删除前
SET foreign_key_checks=0;
删除后
SET foreign_key_checks=1;
猜你喜欢
转载自
peter2009.iteye.com/blog/2248852
清空具有外键约束的表时报ERROR 1701(42000)的解决
truncate table 时报外键约束的表时报ERROR 1701(42000)的解决
sql server解决无法删除修改拥有外键约束的表或表的记录字段
mysql使用truncate截断带有外键的表时报错--解决方案
MySql 清空、删除表时 1701错误
解决ERROR 1231 (42000): Variable 'time_zone' can't
解决 ERROR 1044 (42000): Access denied for user ''@'localhost' to database 'mysql'
解决:ERROR 1067 (42000): Invalid default value for 'login_time'
解决ERROR 1044 (42000): Access denied for user ‘‘@‘localhost‘ to database ‘database‘
Mysql问题解决: ERROR 1055 (42000)
终于解决 ERROR 1044(42000): Access denied for user ''@'localhost' to database,亲测有效
完美解决 ERROR 1064 (42000): You have an error in your SQL syntax; check the manual the manual that cor
转! 完美解决 ERROR 1064 (42000): You have an error in your SQL syntax ... near …
完美解决 ERROR 1064 (42000): You have an error in your SQL syntax ... near …
【网络安全实验】解决 ERROR 1064 (42000): You have an error in your SQL syntax ... near …
window下解决 ERROR 1044 (42000): Access denied for user ''@'localhost' to database 'mysql'
mysql解决方法 ERROR 1075 (42000): Incorrect table definition; there can be only one auto column and it m
【mysql解决方案】ERROR 1248 (42000): Every derived table must have its own alias
解决Linux MySQL修改密码:ERROR 1133 (42000): Can't find any matching row in the user table
ERROR 1055 (42000): Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated ......问题报错解决办法!
解决mysql8报错:ERROR 1410 (42000): You are not allowed to create a user with GRANT
ERROR 1044 (42000): Access denied for user ''@'localhost' to database 问题解决
解决:mysql报错ERROR 1049 (42000): Unknown database ‘数据库‘
解决:mysql.connector.errors.ProgrammingError: 1064 (42000): You have an error in your SQL syntax;
已解决mysql报错ERROR 1049 (42000): Unknown database ‘数据库‘
关于 mysql数据库创建表”ERROR 1118 (42000): Row size too large (> 8126).“错误 的解决方法
MySQL删除有外键约束的表
MySQL ERROR 1064 (42000)
ERROR 1071 (42000)
MySQL使用命令行窗口创建存储过程报错ERROR 1064 (42000)原因及解决方案
今日推荐
美国拟限制 AI 大模型出口中国和俄罗斯
苹果将与 OpenAI 达成协议,将 ChatGPT 应用于 iPhone
openKylin 社区生态委员会第六次会议圆满召开
阿里云正式发布通义千问 2.5
Python 3.13 发布首个 Beta:实验性自由线程模式和 JIT、改进交互式解释器
Stack Overflow 拿我的代码去训练 AI 大模型,还封了我的账号
Pop!_OS 的 COSMIC 桌面完成 App Store 上架工作
报告:Django 仍然是 74% 开发者的首选
《2024 年一季度互联网投融资运行情况》研究报告
15 年前上了“FFmpeg 耻辱柱”,今天他还得谢谢咱——腾讯QQPlayer一雪前耻?
TIOBE 5 月榜单:Fortran “复活”进入 Top 10
GCC 14.1 发布
周排行
curl的POST请求,封装方法
8.1.1. Integer Types
Java基础 Day05(个人复习整理)
Python - Django - 中间件 process_exception
小L的试卷
【Shell编程】 (函数)判断用户是否存在
python(css样式)
spring ant path 匹配原则 - 【笔记】
《JavaScript与JScript从入门到精通》(美)James.Jaworski.中译本.扫描版.pdf
Eclipse运行带参数的java程序
每日归档
更多
2024-05-12(0)
2024-05-11(38)
2024-05-10(38)
2024-05-09(35)
2024-05-08(42)
2024-05-07(14)
2024-05-06(40)
2024-05-05(0)
2024-05-04(7)
2024-05-03(19)