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, 992🔥, 0💬
Popular Posts:
Is PL/SQL Language Case Sensitive in Oracle? PL/SQL language is not case sensitive: Reserved words a...
How to set the current database in SQL Server? Once you are connected to the SQL Server, you should ...
What Is SQL*Plus in Oracle? SQL*Plus is an interactive and batch query tool that is installed with e...
How To Change the Password for Your Own User Account in MySQL? If you want to change the password of...
Where to find answers to frequently asked questions on Storage Engines: MyISAM, InnoDB and BDB in My...