Mysql创建索引失败

时间:2016-04-29 06:45:13

标签: mysql indexing

我正在尝试在mysql表上创建索引,就像我之前所做的那样。我收到的错误是,

Unexpected beginning of statement. (near "badetail" at position 20)
Unexpected beginning of statement. (near "docprofile" at position 30)
Unrecognized statement type. (near "USING" at position 42)

sql是“CREATE INDEX trd ON badetail(docprofile)”

我无法找出导致这些错误的原因

0 个答案:

没有答案