Home > Database > Mysql Tutorial > mysql关键字不区分大小写

mysql关键字不区分大小写

WBOY
Release: 2016-06-01 09:56:54
Original
1439 people have browsed it

下列mysql查询是等价的:

<code class="language-sql">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></code>
Copy after login

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template