Reputation: 502
Flat file has:
A,B
1,2
5,7
DB has:
A,B,C
1,2,null
5,7,null
I'd like to during import update column C with static data "3"
So it looks like:
A,B,C
1,2,3
5,7,3
Thanks in advance!
Hmm looks like this is the best solution: Executing the same SSIS Package with different parameters at different time
Upvotes: 1
Views: 862
Reputation: 61221
In your Data Flow, you will need to add a Derived Column Component between your Flat File Source and the OLE DB Destination.
In your Derived Column, you will name it as C
and possibly use an Expression. Since you say it's static, then it might be as simple as putting the literal value of 3
into the Expression column.
Upvotes: 1