UPPER (SQL Server Compact)

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

Syntax

UPPER ( character_expression )

Arguments

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

Return Value

nvarchar or ntext

Example

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]