Hello,
I can't think of a way around this and perhaps there isn't a way but thought I would ask anyway.
I have a list of folders with .csv files in from different companies that I need to imort into various ssis tables. I wanted to know if I could use variables to do the following:
Get SSIS to look at the path of the source file eg D:\ABCD\list_of_files.csv or D:\EFGH\list_of_files.csv
Then depending on the path of the file insert a code via a derived column into a table for instance code 01 for the abcd folder and 02 for the efgh folder
I can't think of how to do this. Of course I could create a package for each folder and assign the derived column statically but that wouldn't be any fun and isn't what I have been asked to do either.
Any help would be appreciated.