Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Need to load additional tab in Excel every month using SSIS


Need to load additional tab in Excel every month using SSIS

Author
Message
sqlstud
sqlstud
SSC Journeyman
SSC Journeyman (97 reputation)SSC Journeyman (97 reputation)SSC Journeyman (97 reputation)SSC Journeyman (97 reputation)SSC Journeyman (97 reputation)SSC Journeyman (97 reputation)SSC Journeyman (97 reputation)SSC Journeyman (97 reputation)

Group: General Forum Members
Points: 97 Visits: 237
Hi,

Excel file has two tabs(Mon1 and Mon2) and i have loaded them into table by creating SSIS package.

All the tabs have same column names and loaded into single table

Next month, the excel file will have an addtional tab(Mon3) and need to load only the additonal tab(Mon3). Same way for the following months.

Is there any way to load only the additional tab in SSIS?

Otherwise we need to load all the tabs including the additonal tab.

Please advise....


Regards

SqlStud
Daniel Bowlin
Daniel Bowlin
SSCrazy
SSCrazy (3K reputation)SSCrazy (3K reputation)SSCrazy (3K reputation)SSCrazy (3K reputation)SSCrazy (3K reputation)SSCrazy (3K reputation)SSCrazy (3K reputation)SSCrazy (3K reputation)

Group: General Forum Members
Points: 2950 Visits: 2629
If your tabs are consistently named you should be able to create a variable that uses an expression for its value. Create an expression that builds the appropriate tab name. When you are setting up your Excel source use a "Table name or view name variable" and then in the variable name use the variable you created above.
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search