Data Import from Excel Multiple Sheets with a pattern of sheet names

Hello,

I have an excel file which contains lots of sheets. Some of them are named as DW-<day>-<month> (for e.g; DW-1-July). Like this I have sheets for the whole month. I have other sheets too with a different name. I would like to import data from these sheets only (DW ones). Upon my research I have found that this can be achieved via For Each Loop Container (I guess!). 

Post data import, I have a set of T-SQL query that I plan to execute via Execute SQL Task. 

Please guide me. Thanks in advance.

-Rajiv

August 20th, 2015 7:50am

http://www.techbrothersit.com/2013/12/ssis-read-multiple-sheets-from-excel.html

In the FELC, you will have to add dummy script task(ST). Add precedence constraint with expression between ST and DFT. The expression should check for DW sheets only. This way FELC will only load desired sheets to SQL table.

Free Windows Admin Tool Kit Click here and download it now
August 20th, 2015 4:50pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics