我有一个 sql-server 查询,我想在 mysql 上运行它(或创建一个等效的查询)。但目前我收到语法错误。任何人都可以帮我创建一个与下面提到的 sql-server 查询等效的 mysql 吗?
create table Emp(EmpName varchar(20) not null,keyword varchar(20) not null,
DOB datetime not null,Comments text(65535),EmpId int primary key IDENTITY(1,1));
以下是错误
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 'IDENTITY(1,1))' at line 1