Dear All,
Im newbie in SSIS, I have search and try some reference but none its works like I expected.
here my case:
I have some folders that contain some flat file, which is the flat file name and folder name it self will be added as new column.
illustration:
I have 1 main folder that contains 3 sub folder, each sub folder contain the same 3 flat files.
C:\\MainFolder
>>>>> C:\\Main Folder\SubFolderA\
>>>>>>>>>C:\\Main Folder\SubFolderA\a.txt,b.txt,c.txt
>>>>> C:\\Main Folder\SubFolderB\
>>>>>>>>>C:\\Main Folder\SubFolderB\a.txt,b.txt,c.txt
>>>>> C:\\Main Folder\SubFolderC\
>>>>>>>>>C:\\Main Folder\SubFolderC\a.txt,b.txt,c.txt
and, I wan to added 1 new column everytime the package runs, the column name is combination between SubFodler name and File Name, so the output will be like this :NewColumn --> SubFolderAa,SubFodlerAb,SubFolderAc,SubFolderBa,SubFolderBb,SubFolderBc,SubFolderCa,SubFolderCb and SubFolderCc.
does anyone can help with this?
Thank you before.
Best Regards,
Bambang