SSIS Expression

  • Hi,

    I have two columns. address 1 and address2. if address1 is null then show address2. if address1 and address2 both are not null then show only address1. how to do in SSIS Expression.

    Please help.

  • If you have SQL 2012 or up:

    REPLACENULL(address1,address2)

    If not:

    (ISNULL(address1)) ? address2 : address1

    Need an answer? No, you need a question
    My blog at https://sqlkover.com.
    MCSE Business Intelligence - Microsoft Data Platform MVP

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply