CREATE TABLE ProfileMiningStats(server VARCHAR(20), DateStatsCollected DATE(), NoSubmittedCompanies INT, NoCompaniesFinishedSuccessfully INT, AvgTimeTakenByEachProfile TIME());
看到以下错误消息:
ERROR 1064 (42000): 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 '(), NoSubmittedCompanies INT, NoCompaniesFinishedSuccessfully INT, AvgTimeTakenB' at line 1
如果错误,请更正查询
这是你所追求的吗?
create table ProfileMiningStats(
server VARCHAR(20),
DateStatsCollected DATE,
NoSubmittedCompanies INT,
NoCompaniesFinishedSuccessfully INT,
AvgTimeTakenByEachProfile TIME);
您在DATE和TIME数据类型之后有()。
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句