1 out of 1 rated this helpful - Rate this topic

UPPER (SSIS)

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


UPPER(character_expression)
character_expression

Is a character expression to convert to uppercase characters.

DT_WSTR

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).

UPPER returns a null result if the argument is null.

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

UPPER("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).

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".

UPPER(@PostalCode)
Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.