lcase(str) 是 MySQL 的一个 字符串函数。此方法返回小写字符串。
语法
select lcase('YXJC123');
示例 1
select lcase('YXJc123');
输出:
mysql> select lcase('YXJc123');
+------------------+
| lcase('YXJc123') |
+------------------+
| yxjc123 |
+------------------+
1 row in set (0.00 sec)
示例 2
select lcase('MY SQL STRING FUNCTION');
输出:
mysql> select lcase('MY SQL STRING FUNCTION');
+---------------------------------+
| lcase('MY SQL STRING FUNCTION') |
+---------------------------------+
| my sql string function |
+---------------------------------+
1 row in set (0.00 sec)