Curriculum
Course: MYSQL
Login

Curriculum

MYSQL

MySQL References

0/140
Text lesson

UCASE

Example

Transform the text to uppercase.

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

Definition and Usage

The UCASE() function converts a string to uppercase.

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

Syntax

UCASE(text)

Parameter Values

Parameter

Description

text

Mandatory. Specifies the string to be converted.

Technical Details

Works in: From MySQL 4.0

More Examples

Example

Transform the text in “CustomerName” to uppercase.

SELECT UCASE(CustomerName) AS UppercaseCustomerName
FROM Customers;