UPPER (SQL Server Compact)

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


UPPER ( character_expression )

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 [Customer ID], UPPER([Company Name]) AS Expr1
FROM Customers
ORDER BY [Company Name]
Show: