bugl
bugl
HomeLearnPatternsSearch
HomeLearnPatternsSearch

Loading lesson path

Learn/SQL/SQL References
SQL•SQL References

SQL Server UPPER() Function

Concept visual

SQL Server UPPER() Function

Pointer walk
two pointers
leftright102132436485116
left=0
right=6
1
3

Start at both ends

Example

Convert the text to upper-case:

SELECT UPPER('SQL Tutorial is FUN!');

Definition and Usage

Formula

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

Formula

Convert the text in "CustomerName" to upper - case:

SELECT UPPER(CustomerName) AS UppercaseCustomerName

FROM Customers;

Previous

❮ SQL Server Functions

Next

Previous

SQL Server UNICODE() Function

Next

SQL Server ABS() Function