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, 1821🔥, 0💬
Popular Posts:
How To Look at the Current SQL*Plus System Settings in Oracle? If you want to see the current values...
Where to find tutorials to answer some frequently asked questions on Microsoft SQL Server Transact-S...
How To Verify Your PHP Installation in MySQL? PHP provides two execution interfaces: Command Line In...
Collections: Interview Questions MySQL Tutorials MySQL Functions Oracle Tutorials SQL Server Tutoria...
Can Date and Time Values Be Converted into Integers in SQL Server Transact-SQL? Can date and time va...