Example
Convert the text to upper-case:
sql
SELECT UCASE("SQL Tutorial is FUN!");
Definition and Usage
The UCASE() function converts a string to upper-case.
Note: This function is equal to the UPPER() function.
Syntax
text
UCASE(text)
Parameter Values
| Parameter | Description |
|---|---|
| text | Required. The string to convert |
Technical Details
| Works in: | From MySQL 4.0 |
|---|
More Examples
Example
Convert the text in "CustomerName" to upper-case:
sql
SELECT UCASE(CustomerName) AS UppercaseCustomerName
FROM Customers;