Transformation in Data Flow Task

Hey,
In DTS it is possible to use ActveX script to identify transformation for every row
such as (for example) splitting, replacing characters and so on.
I have script(very complicated and written in VB) and I'd like to use it
in Data Flow Task. What should I use and how
Thanks.


Answer this question

Transformation in Data Flow Task

  • pitatwork

    It doesn't really work that way any more. You need to add input columns to be used, and new output columns using the Script Task editor, before opening the script environment.

    I think this section in BOL explains it well : "Creating a Synchronous Transformation with the Script Component," but let us know if it does not help!



  • Unistoner

    In SSIS you should use the Script component. This uses VisualBasic.net rather than ActiveX script, but you should be able to convert fairly easily.

    Donald



  • zfjaj

    Thanks, I figured it out. :)
  • t4urean

    Yep, I know this. Basically it requires to overwrite the whole script in NET. :)
    There is one thing. I'm not sure what namespace I have to include with Imports
    keyword, in order to get access to source and destination fields (columns) in the transformation. 

  • Transformation in Data Flow Task