SQL Server UPPER() Function
Definition and Usage
The UPPER() function converts a string to upper-case.
Note: See also the LOWER() function.
Syntax
UPPER(string)
Parameter Values
Parameter | Description |
---|---|
string | Required. The string to convert to upper-case |
Technical Details
Works in: | SQL Server 2014, SQL Server 2012, SQL Server 2008 R2, SQL Server 2008, SQL Server 2005 |
---|
More Examples
Example
Convert the text in "CustomerName" to upper-case:
SELECT UPPER(CustomerName) AS UppercaseCustomerName
FROM Customers;
Try it Yourself »