将以下在Oracle中正常运行的sql语句转换为能在MySQL中正常运行的sql语句。
1个回答
2015-12-02
展开全部
CREATE TABLE stu_score_ms.course (
cid char(10) collate utf8_bin NOT NULL default '' PRIMARY KEY,
clnum` char(10) collate utf8_bin NOT NULL default '',
cname char(10) collate utf8_bin NOT NULL default '',
credit number(4,2) default NULL,
capacity number(4) unsigned NOT NULL default '0',
tid char(10) collate utf8_bin default NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
试试
cid char(10) collate utf8_bin NOT NULL default '' PRIMARY KEY,
clnum` char(10) collate utf8_bin NOT NULL default '',
cname char(10) collate utf8_bin NOT NULL default '',
credit number(4,2) default NULL,
capacity number(4) unsigned NOT NULL default '0',
tid char(10) collate utf8_bin default NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
试试
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询