I have an Excel Source and an OLE database destination. For the column mappings I need to first perform some data manipulations on the columns.
How do I get a substring from one of the source columns to be mapped to one of the destination columns?
How can I use a lookup table on one of my columns to get the value associated with the lookup table and then map that value to one of my destination columns?
I would like to use C# scripts as much as needed.
Thanks!!
You can use Derived column transformation to get the substring of a source column .
Expression
In the derived column tab select add as a new Row .Then map this new column in the destination .For the lookup transformation please see my reply to one of the SO questions
Lookup Transformation
In order to do this in C# drag a script component onto the designer.Select the input and outputs and then add a new column ( Example NewColumn as the name)