LOWER (SSIS Expression)

LOWER (SSIS Expression)

Topic Status: Some information in this topic is preview and subject to change in future releases. Preview information describes new features or changes to existing features in Microsoft SQL Server 2016 Community Technology Preview 2 (CTP2).

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



Is a character expression to convert to lowercase characters.

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

LOWER returns a null result if the argument is null.

This example converts a string literal to lowercase characters. The return result is "new york".

LOWER("New York")

This example converts all characters from the Color input column, except the first character, to lowercase characters. If Color is YELLOW, the return result is "Yellow". For more information, see SUBSTRING (SSIS Expression).

LOWER(SUBSTRING(Color, 2, 15))

This example converts the value in the CityName variable to lowercase characters.


Community Additions

© 2015 Microsoft