I am trying to create an SSIS package that can accept multiple (known) file structures that are dumped into the same processing folder. I am trying to pull the AccountId
from each file.
The problem I am running into is that my Data Flow Task only works for the one specific file that I setup for the Flat File Source. In my Flat File Source I only make the AccountId column available, but that doesn't appear to resolve the issue.
Current SSIS Package Structure
Foreach Loop: Loops though all files in the specificed folder
Data Flow Task: Processes each file and stores in SQL table
Example CSV File Structures
File 1:
Name | AccountId | Address | City | State
John | 154235 | 1234 | LA | CA
File 2:
Name | Address | City | State | AccountId | Phone
Kyle | 5825 | Test | KY | 534534 | 555-555-5555
File :
Name | Address | City | State | Email | AccountId | Phone
Bob | 52345 | Fake | WY | [email protected] | 756313 | 444-444-4444
AccountId
field. I am getting the sources from different third parties that all dump their files into the same folder. – ferensilver