webCOMAND

UPPER()

Returns a string in all uppercase.

UPPER() and LOWER() are ineffective when applied to binary strings.

Prototype

int UPPER(string str)

Parameters

  • str - The string or expression to evaluate to a string and convert to uppercase.

Return

Returns the string str with all characters changed to uppercase according to the current character set mapping.  The default is utf8mb4.

Example

SELECT OID, UPPER(Username) AS UpperUsername FROM User

Related

LOWER()