I am needing to process a series of files in SSIS. I need to iterate through a series of files and process each one. Each file is formatted the same, but will have a different name. I'll be importing the data in these Excel spreadsheets into SQL Server.
I was wondering if someone could point me to an example of an SSIS package that processes files in a folder. Essentially, the package needs to:
- Get the list of files in the source folder
- Pass in the name of the file to the SSIS task.
- For each file in the folder, execute an SSIS task
I've never really used the For Each File piece before. How would you pass in the name of the file being processed into the task? For example, the file name used by the Excel Source data connection will change for each file...
Any help/examples would be greatly appreciated!
A. M. Robinson