UPPER (SSIS Expression)

Applies to: SQL Server SSIS Integration Runtime in Azure Data Factory

Returns a character expression after converting lowercase characters to uppercase characters.




Is a character expression to convert to uppercase characters.

Result Types



UPPER works only with the DT_WSTR data type. A character_expression argument that is a string literal or a data column with the DT_STR data type is implicitly cast to the DT_WSTR data type before UPPER performs its operation. Other data types must be explicitly cast to the DT_WSTR data type. For more information, see Integration Services Data Types and Cast (SSIS Expression).

UPPER returns a null result if the argument is null.

Expression Examples

This example converts a string literal to uppercase characters. The return result is "HELLO".


This example converts the first character in the FirstName column to an uppercase character. If FirstName is anna, the return result is "A". For more information, see SUBSTRING (SSIS Expression).

UPPER(SUBSTRING(FirstName, 1, 1))  

This example converts the value in the PostalCode variable to uppercase characters. If PostalCode is k4b1s2, the return result is "K4B1S2".


See Also

LOWER (SSIS Expression)
Functions (SSIS Expression)