Discuz! info: MySQL Query Error
User: 区长
Time: 2006-9-3 11:04pm
Script: /install_stock.php
SQL: CREATE TABLE cdb_ai (
id mediumint(8) unsigned NOT NULL auto_increment,
ainame varchar(50) NOT NULL default '',
cash double NOT NULL default '0',
fund double NOT NULL default '0',
stocktypenum int(10) NOT NULL default '0',
todaybuy int(10) NOT NULL default '0',
todaysale int(10) NOT NULL default '0',
totalbuy double NOT NULL default '0',
totalsale double NOT NULL default '0',
aid int(10) NOT NULL default '0',
PRIMARY KEY (id)
) ENGINE=MyISAM DEFAULT CHARSET=gbk AUTO_INCREMENT=3 ;
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=3' at line 13
Errno.: 1064
Similar error report has beed dispatched to administrator before.
怎么回事啊 |