ERROR 1075 (42000): Incorrect table definition; there can be only one auto column and it must be def
2018-01-23 19:54
555 查看
删除主键时失败,报上错误
简单翻译报错内容:错误表定义:这里不能只是一个自增列,并且其必须定义成主键。
把逐渐的自增属性alter掉就可以,顺利删除主键了。
alter table table_name 被用作逐渐的字段 数据类型;
alter table table_name primary key;
简单翻译报错内容:错误表定义:这里不能只是一个自增列,并且其必须定义成主键。
把逐渐的自增属性alter掉就可以,顺利删除主键了。
alter table table_name 被用作逐渐的字段 数据类型;
alter table table_name primary key;
相关文章推荐
- ERROR 1075 (42000): Incorrect table definition; there can be only one auto column and it must be def
- ERROR 1075 (42000): Incorrect table definition; there can be only one auto column and it must be def
- mysql报ERROR 1075 (42000): Incorrect table definition; there can be only one auto column and it must
- 创建主键时报错:ERROR 1075 (42000): Incorrect table definition; there can be only one auto column and it mus
- 创建主键时报错:ERROR 1075 (42000): Incorrect table definition; there can be only one auto column and it mus
- 1075 - Incorrect table definition;there can be only one auto column and it must be defined as a key
- 1075-Incorrect table definition;there can be only one auto column and it must be defined as a key
- [Err] 1075 - Incorrect table definition; there can be only one auto column and it must be defined as
- [Err] 1075 - Incorrect table definition; there can be only one auto column and it must be defined as
- Incorrect table definition; there can be only one auto column and it must be defined as a key
- MySQL错误:Incorrect table definition;there can be only one auto column and it must be defined as a key
- 解决,Incorrect table definition; there can be only one auto column and it must be defined as a key
- error : Incorrect table definition; there can be only one TIMESTAMP column with CURRENT_TIMESTAMP in
- MySQL 数据表创建报错:there can be only one auto column and it must be defined as a key
- mysql单表多timestamp报错#1293 - Incorrect table definition; there can be only one TIMESTAMP column with C
- 1293 - Incorrect table definition; there can be only oneTIMESTAMP column with CURRENT_TIMESTAMP
- Incorrect table definition; there can be only one TIMESTAMP column with CURRENT_TIMESTAMP in DEFAUL
- msyql同步的时候报错 : 错误代码: 1293 Incorrect table definition;there can be only one TIMESTAMP column with CURRENT_TIMESTAMP in DEFAULT or ON UPDATE clause
- Mysql 1293 - Incorrect table definition; there can be only one TIMESTAMP column with C
- MySql创建表时插入自动更新时间戳报错:SQL执行错误#1293:Incorrect table definition;there can be only one TIMESTAMP ...