Skip to content

UPPER

  • str: This parameter represents the string that will be converted to uppercase. It refers to any valid string expression involving alphanumeric or special characters. It’s an input argument for the UPPER() function, and it’s where the user specifies the text to be manipulated.
SELECT UPPER('mysql');
'MYSQL'

The UPPER() function in MySQL converts all letters in the specified string to uppercase. In the given example, the string ‘mysql’ is converted to ‘MYSQL’.