mysql5.5怎么删除字段_Linux 上Mysql 5.5版本表中只能新建字段不能删除字段 错误如下...

在尝试从MySQL 5.5版本的wef_wall_content表中删除check列时遇到错误,错误提示涉及SQL语法。已尝试多种删除语句格式,包括带和不带表名前缀星号(*),以及指定数据类型,但均返回1064错误。通过描述表发现,check列的数据类型为int(11),存在删除障碍。
摘要由CSDN通过智能技术生成

该楼层疑似违规已被系统折叠 隐藏此楼查看此楼

mysql> alter table wef_wall_content drop column check;

ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near *check * at line 1

mysql> alter table "wef_wall_content" drop column check;

ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near *"wef_ wall_content" drop column check* at line 1

mysql> alter table *wef_wall_content* drop column check;

ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near **wef_ wall_content* drop column check* at line 1

mysql> alter table *wef_wall_content* drop column check int(11);

ERROR 1064 (42000): You hav

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值