读书人

SQL 出错请大家告诉小弟我哪异常

发布时间: 2012-09-08 10:48:07 作者: rapoo

SQL 出错,请大家告诉我哪错误
DROP TABLE IF EXISTS '##__exam_sc';
CREATE TABLE '##__exam_sc'{
'id' int(11) NOT NULL auto_increment,
'userid' varchar(20) NOT NULL,
'title' text NOT NULL,
'type' smallint(6) NOT NULL default '0',
'upid' int(11) NOT NULL default '0',
'xuanxiang' text NOT NULL,
'daan' text NOT NULL,
'jieda' text NOT NULL,
PRIMARY KEY ('id'),
FOREIGN KEY (userid) REFERENCES ##__exam_admin(userid)
}ENGINE=MyISAM DEFAULT CHARSET=gbk;

[解决办法]
IF EXISTS '##__exam_sc'

读书人网 >J2SE开发

热点推荐