How to use T-Sql ISNull function in Derived Column Expression?

  • Hi,

    I have a derived column in which i am concatenating 2 columns but i want to check if any column is NULL then replace it with "" which i am not able to do with ISNULL operator of SSIS.

    Eg code:

    TRIM(SUBSTRING([Column 0],35,3)) + "-" + TRIM(SUBSTRING([Column 0],38,3))

    Please Anybody help me...

  • TRIM(SUBSTRING(isnull([Column 0],''),35,3)) + "-" + TRIM(SUBSTRING(isnull([Column 0],''),38,3))

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

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