I have lot of files stored in separate folders that I would like to extract and insert into a single table in SQL Server database. The folders setup is something like shown below:
Folder 1
|--> SubFolder 1.1
| |--> File 1
| |--> File 2
|--> SubFolder 1.2
| |--> File 1
| |--> File 2
|--> SubFolder 1.3
|--> File 1
|--> File 2
There are around 100 sub folders and all of them have two .txt files in them that I need to extract.
I need to load the data into a table structured as shown below
Column1 Column2 Column3 Column4 Column5 Column6
------------- --------- --------- --------- --------- ---------
SubFolderName File1Col1 File1Col2 File1Col3 File1Col4 File2Col1
Does anybody know how I can do this using SSIS?
