This documentation is archived and is not being maintained.

UPPER (SQL Server Compact Edition)

Returns a character expression with lowercase character data converted to uppercase.

UPPER ( character_expression )


An expression of character or binary data that can be implicitly converted to nvarchar or ntext.

nvarchar or ntext

The following example queries the Customers table and returns the names of the companies in uppercase.

SELECT CustomerID, UPPER(CompanyName)
FROM Customers
ORDER BY CompanyName