SQL: CREATE TABLE `r2_advertisements` ( `advid` mediumint(8) unsigned NOT NULL auto_increment, `available` tinyint(1) NOT NULL default '0', `type` varchar(50) NOT NULL default '0', `displayorder` tinyint(3) NOT NULL default '0', `title` varchar(50) NOT NULL default '', `targets` text NOT NULL, `parameters` text NOT NULL, `code` text NOT NULL, `starttime` int(10) unsigned NOT NULL default '0', `endtime` int(10) unsigned NOT NULL default '0', PRIMARY KEY (`advid`)) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=gbk AUTO_INCREMENT=2
Error: 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 'DEFAULT CHARSET=gbk AUTO_INCREMENT=2' at line 1
Errno.: 1064
我的成这个错误 |