用DB2工具创建表的时候,报错Error Code: 1064
控制台输出:
[CREATE - 0 row(s), 0.000 secs] [Error Code: 1064, SQL State: 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 'OPTION SQL_SELECT_LIMIT=DEFAULT' at line 1
... 1 statement(s) executed, 0 row(s) affected, exec/fetch time: 0.000/0.000 sec [0 successful, 0 warnings, 1 errors]
本人的代码:
create table userinfo
(
userId int not null auto_increment,
username varchar(150),
accountId int,
primary key (userId)
);