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 '

mysql中如果字段使用了关键字,在插入和更新时会提示  

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 'desc


常见的关键字有 desc,asc ...,可以在字段名前后加上` 如 `desc`

posted on 2014-05-13 16:07  菜鸟的春天  阅读(674)  评论(0编辑  收藏  举报

导航