Name

UPPER()

Synopsis

UPPER(str)

This is the inverse of LOWER. It returns the string str with all the characters changed to uppercase. This code returns the string “I CAN’T HELP SHOUTING”:

SELECT UPPER('I can't help shouting');

Get Learning PHP, MySQL, and JavaScript now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.