Collections:
UPPER() - Convert String to Upper Case
How to convert a string to upper case using the UPPER() function?
✍: FYIcenter.com
UPPER(str) is a MySQL built-in function that
converts all characters of a given into upper case characters.
For example:
SET @str = 'dba.FYIcenter.com'; SELECT UPPER(@str); -- +-------------------+ -- | UPPER(@str) | -- +-------------------+ -- | DBA.FYICENTER.COM | -- +-------------------+
Reference information of the UPPER() function:
UPPER(str): modstr Returns the string str with all characters changed to uppercase according to the current character set mapping, or NULL if str is NULL. The default character set is utf8mb4. Arguments, return value and availability: str: Required. The string to be converted. modstr: Return value. The converted string. Available since MySQL 4.0.
Related MySQL functions:
⇒ WEIGHT_STRING() - String Sorting Weight
⇐ UNHEX() - HEX to String Conversion
2023-11-13, 1688🔥, 0💬
Popular Posts:
What Are the Differences between BINARY and VARBINARY in MySQL? Both BINARY and VARBINARY are both b...
How To Revise and Re-Run the Last SQL Command in Oracle? If executed a long SQL statement, found a m...
How to obtain the version number of the ICU (International Components for Unicode) library using the...
How To Start Instance with a Minimal Initialization Parameter File in Oracle? The sample initializat...
How To Break Query Output into Pages in MySQL? If you have a query that returns hundreds of rows, an...