mysql 关键字
来源:互联网 发布:公司注册淘宝 编辑:程序博客网 时间:2024/05/16 19:13
mysql中,建表字段名和查询语句中,尽量不要使用mysql关键字,如group,index等
如查询语句:select index from table1 limit 1\G;
则报如下错误:
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 'index from table1' at line 1
如果是 select index1 from table1 limit 1\G;
ERROR 1054 (42S22): Unknown column 'index1' in 'field list'
0 0
- mysql关键字
- MySql关键字
- MySql关键字
- mysql关键字
- Mysql关键字
- mysql 关键字
- mysql关键字
- MySQL关键字
- MySQL关键字
- mysql关键字
- mysql关键字
- mysql关键字
- MySQL 关键字
- Mysql 关键字
- MySQL关键字
- MySQL关键字,主关键字,候选关键字
- MySql Limit 关键字
- mysql的distinct关键字
- ios7 xib 适配
- 隐藏安卓平板的SystemStatuBar
- 要学习的知识
- 【soap】php中使用soap
- JAVA正则表达式语法大全
- mysql 关键字
- 异常的理解
- Android 基础知识介绍
- --------------------FLAG_ACTIVITY_CLEAR_TOP和FLAG_ACTIVITY_REORDER_TO_FRONT用法
- java反射机制详解 及 Method.invoke解释
- Java Native Interface Specification—Contents
- Apache cxf rs
- codeigniter自带数据库类使用方法说明
- 【js学习笔记-105】----利用IE userData持久化数据