I am trying to load an excel file with unknown file name (system generated) and unknown worksheet (system generated) into SQL Server 2012 using a SQL Server 2012 SSIS package.
The staging folder will remain constant. Only 1 file will be generated and staged weekly. The file will only contain 1 worksheet.
The core SSIS package is pretty straight forward:
Control Flow: SQL Command to truncate the staging table > Data flow task.
Data Flow: Excel source > Data conversion > Destination
I tried using this walk though ( Loop through Excel files and load them into a database using ssis ) but was unable to get it to work correctly once I started testing it by renaming the excel file and changing the worksheet name.
Any help would be appreciated.