Curriculum
Course: SQL
Login

Curriculum

SQL

SQL References

0/80

MySQL Functions

0/139

SQL Server Functions

0/84

SQL Quick Ref

0/1
Text lesson

UPPER

Example

Change the text to uppercase.

SELECT UPPER(“SQL Tutorial is FUN!”);  

Definition and Usage

The UPPER() function converts a string to uppercase.

Note: This function is equivalent to the UCASE() function.

Syntax

UPPER(text)

Parameter Values

Parameter

Description

text

Mandatory. Specifies the string to be converted.

Technical Details

Works in: From MySQL 4.0

More Examples

Example

Change the text in “CustomerName” to uppercase.

SELECT UPPER(CustomerName) AS UppercaseCustomerName
FROM Customers;