环境 MySQL Sever 5.1 MySQL命令行工具 问题 ERROR 1064 (42000): You have an error inyour SQL syntax; check the manual that orresponds to your MySQL server versionfor the right syntax to use near 'order’ 解决 表名使用了关键字,数据库中命名要
mysql sever 5.1 + mysql命令行工具
ERROR 1064 (42000): You have an error inyour SQL syntax; check the manual that orresponds to your MySQL server versionfor the right syntax to use near 'order’

表名使用了关键字,数据库中命名要避免使用关键字。Hibernate中查询语句为字段起别名,目的就是避免使用关键字。
http://hi.baidu.com/yuiezt/item/fb563d6b4445b3156995e668
http://www.examw.com/biancheng/mysql/165562/
每个人都需要一台速度更快、更稳定的 PC。随着时间的推移,垃圾文件、旧注册表数据和不必要的后台进程会占用资源并降低性能。幸运的是,许多工具可以让 Windows 保持平稳运行。
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号