I have many files stored in separate folders that I would like to extract and paste into a single table in a SQL Server database. Setting up folders looks something like this:
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 about 100 subfolders, and all of them have two .txt files that I need to extract.
I need to load data into a structured table as shown below.
Column1 Column2 Column3 Column4 Column5 Column6 ------------- --------- --------- --------- --------- --------- SubFolderName File1Col1 File1Col2 File1Col3 File1Col4 File2Col1
Does anyone know how I can do this using SSIS?
source share