当前位置:Gxlcms > mysql > mysql关键字不区分大小写

mysql关键字不区分大小写

时间:2021-07-01 10:21:17 帮助过:49人阅读

下列mysql查询是等价的:

mysql>
mysql>
mysql> SELECT VERSION();
+---------------------+
| VERSION()           |
+---------------------+
| 5.0.41-community-nt |
+---------------------+
1 row in set (0.00 sec)

mysql> select version();
+---------------------+
| version()           |
+---------------------+
| 5.0.41-community-nt |
+---------------------+
1 row in set (0.00 sec)

mysql> SeLeCt vErSiOn();
+---------------------+
| vErSiOn()           |
+---------------------+
| 5.0.41-community-nt |
+---------------------+
1 row in set (0.00 sec)

mysql>

人气教程排行