首页 > 数据库技术 > 详细

mysql 关键字bug

时间:2016-03-24 09:57:11      阅读:216      评论:0      收藏:0      [点我收藏+]

今天运行语句 select * from order;

出现bug: 

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 ‘order‘ at line 1

后来找出原因是order为mysql的关键字

改为 select * from `order`;

mysql 关键字bug

原文:http://www.cnblogs.com/Brittany-yan/p/5314215.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!