SQL Server UPPER() Function
Definition and Usage
The UPPER() function converts a string to upper-case.
Note: Also look at the LOWER() function.
Syntax
UPPER(text)
Parameter Values
Parameter | Description |
---|---|
text | Required. The string to convert |
Technical Details
Works in: | SQL Server (starting with 2008), Azure SQL Database, Azure SQL Data Warehouse, Parallel Data Warehouse |
---|
More Examples
Example
Convert the text in "CustomerName" to upper-case:
SELECT UPPER(CustomerName) AS UppercaseCustomerName
FROM Customers;
Try it Yourself »
Copyright 1999-2023 by Refsnes Data. All Rights Reserved.