Home >Database >Mysql Tutorial >How to use the UPPER() function in MySQL
UPPER(str)
and UCASE(str)
functions are used to convert strings to uppercase, for example:
SELECT UPPER('MySQL字符串函数') AS str1, UCASE('MySQL字符串函数') AS str2; str1 |str2 | --------------+--------------+ MYSQL字符串函数|MYSQL字符串函数|
The above is the detailed content of How to use the UPPER() function in MySQL. For more information, please follow other related articles on the PHP Chinese website!