Link to home
Create AccountLog in
Avatar of meninga
meninga

asked on

Lookup value from a table based on a column value in an SSIS Flat File Source

I have a CSV file which I read into SSIS using Flat File Source. This CSV doesn't have all the columns required by the destination - I need to get the row values for these columns from other tables based on the row values in the CSV.

I thought you could enter a SELECT statement such as "select id from testtable where testcode = ?" in the expression field in the Derived Column component but this will not parse.

Does anyone know how to do this in SSIS?
Avatar of chapmandew
chapmandew
Flag of United States of America image

You'll likely need to use the Lookup tasks in SSIS to do this.
ASKER CERTIFIED SOLUTION
Avatar of i2mental
i2mental
Flag of United States of America image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
Why are you closing this?