日韩av黄I国产麻豆传媒I国产91av视频在线观看I日韩一区二区三区在线看I美女国产在线I麻豆视频国产在线观看I成人黄色短片

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 >

mysql5.5怎么删除字段_Linux 上 Mysql5.5 只能新建表中的字段不能删除表,权限root...

發布時間:2023/12/10 34 豆豆
生活随笔 收集整理的這篇文章主要介紹了 mysql5.5怎么删除字段_Linux 上 Mysql5.5 只能新建表中的字段不能删除表,权限root... 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

該樓層疑似違規已被系統折疊?隱藏此樓查看此樓

mysql> describe wef_wall_content;

+------------+--------------+------+-----+-------------------+----------------+

| Field | Type | Null | Key | Default | Extra |

+------------+--------------+------+-----+-------------------+----------------+

| id | int(11) | NO | PRI | NULL | auto_increment |

| wid | varchar(10) | YES | | NULL | |

| wxid | varchar(40) | YES | | NULL | |

| content | varchar(500) | YES | | NULL | |

| check | int(11) | YES | | 0 | |

| time | timestamp | YES | | CURRENT_TIMESTAMP | |

| name | varchar(30) | NO | | NULL | |

| ischeck | int(11) | YES | | NULL | |

| CompanyID | bigint(20) | YES | | NULL | |

| CreateTime | varchar(19) | YES | | NULL | |

+------------+--------------+------+-----+-------------------+----------------+

10 rows in set (0.00 sec)

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 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 int(11)* at line 1

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

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" int(11)* at line 1

各種都試過了,求大神解答幫助!!

總結

以上是生活随笔為你收集整理的mysql5.5怎么删除字段_Linux 上 Mysql5.5 只能新建表中的字段不能删除表,权限root...的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。