ERROR 1075 (42000): Incorrect table definition; there can be only one auto column and it must be def
来源:互联网 发布:淘宝双十一魔盒怎么用 编辑:程序博客网 时间:2024/06/01 07:44
如下:
mysql> create table tbx( -> id int unsigned not null auto_increment, -> score int not null -> );ERROR 1075 (42000): Incorrect table definition; there can be only one auto column and it must be defined as a keymysql>什么意思呢? 自增列只能有1列, 且这列必须为key, 如下便OK:
mysql> create table tbx( -> id int unsigned not null auto_increment primary key, -> score int not null -> );Query OK, 0 rows affected (0.01 sec)mysql>
good
阅读全文
1 0
- 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
- [Err] 1075 - Incorrect table definition; there can be only one auto column and it must be defined as
- 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
- 1075-Incorrect table definition;there can be only one auto column and it must be defined as a key
- 创建主键时报错: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
- 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
- [Err] 1293 - Incorrect table definition; there can be only one TIMESTAMP column with CURRENT_TIMESTA
- Mysql 1293 - Incorrect table definition; there can be only one TIMESTAMP column with C
- 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
- mysql报there can be only one auto column的问题原因
- there can be only one TIMESTAMP column with CURRENT_TIMESTAMP in DEFAULT or ON UPDATE clause
- there can be only one TIMESTAMP column with CURRENT_TIMESTAMP in DEFAULT or ON UPDATE clause
- < 笔记 > Python
- SVN简介
- 菲波那切数列解法
- hdu 3342 Legal or Not
- ZooKeeper(3.4.5) 使用Curator监听事件
- ERROR 1075 (42000): Incorrect table definition; there can be only one auto column and it must be def
- 近期学习总结
- 51nod-1105-第K大的数
- 集成框架spring integration体验
- pandas 多个列,行读取方法
- < 笔记 > Python
- 【二分+数学】bzoj1257: [CQOI2007]余数之和sum
- 【Android】基于Socket的即时聊天(群聊)
- js-es6-数值扩展