遇到的check the manual that corresponds to your MySQL server version for the right syntax错误

时间:2014-02-22 01:35:52   收藏:0   阅读:663

遇到的check the manual that corresponds to your MySQL server version for the right syntax错误。

结果发现是SQL关键字冲突。

可能是经验不够吧。

有个字段名我命名为desc,表示描述(description)。却没有注意到,该desc与SQL查询语句中的降序排列关键字DESC冲突了!

后修改desc为descpt即问题解决!

原文:http://www.cnblogs.com/zhaoyanqiang/p/3559479.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!