sql server - Migrating from MSSQL to MYSQL error 1064 MYSQL Workbench -
i preparing migration mssql mysql using mysql workbench.
the error receiving follows.
error: error executing 'create table if not exists `dbo`.`vendorgtg` ( `vid` int not null comment '', `attending` tinyint(1) null default 0 comment '', `name1` varchar(50) null comment '', `name2` varchar(50) null comment '', `inserted` timestamp null default current_timestamp comment '', `nametag` tinyint(1) null default 0 comment '', primary key (`vid`) comment '')' have error in sql syntax; check manual corresponds mysql server version right syntax use near 'comment '')' @ line 8. sql error: 1064
mysql doesn't have schemas sql server, remove code:
create table if not exists vendorgtg ( `vid` int not null comment '', `attending` tinyint(1) null default 0 comment '', `name1` varchar(50) null comment '', `name2` varchar(50) null comment '', `inserted` timestamp null default current_timestamp comment '', `nametag` tinyint(1) null default 0 comment '', primary key (`vid`) comment '')
Comments
Post a Comment