Substring function

  • Hi,

    How to read left 10 characters from a column (nvarchar(50)) in SSIS. This is not working Row.Column1 = SUBSTRING([column1], 1, 10), says Substring is not declared. I have to use this inside script task.

    Thanks,VG

  • Where are you trying to add this statement?


  • My workflow like this : Oledb Source - Script task (read only 10 characters from a column) - data conversion task - flat file destination.

  • You don't need a Script task for that - use a Derived Column instead.


  • It worked well....Thank you

    --VG

  • Great, thanks for posting back.


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

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