Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
Log in  ::  Register  ::  Not logged in
Home       Members    Calendar    Who's On

Add to briefcase ««12

SSIS Script task to change table name in data flow task Expand / Collapse
Posted Tuesday, January 15, 2013 10:39 PM



Group: General Forum Members
Last Login: Yesterday @ 8:51 PM
Points: 7,178, Visits: 12,849
kenambrose (1/15/2013)
The real limitation is that oledb destination can't support dynamic data structure in addition to source and target tablenames- or at least I can't figure out how to do that...

My thinking around this starts with building and executing a Package programmatically within the context of the already running package. In looking into it a little for SSIS 2012 it looks possible from within a Script Task but it would turn out to be quite an elaborate set of code to manage there. For SSIS 2012 trying it in a Script Task would require referencing assemblies made available by installing the SSIS 2012 "Client Tools SDK" available through the SQL Server installer.

If it could not be achieved within a Script Task then I am confident it can be accomplished by building and rolling your own custom SSIS Component developed in Visual Studio. If you went for a custom component I am sure you could produce a separate version of it for each version of SSIS.

There are no special teachers of virtue, because virtue is taught by the whole community. --Plato

  Post Attachments 
SSIS Client Tools SDK.jpg (75 views, 64.48 KB)
Post #1407596
Posted Thursday, January 17, 2013 1:37 PM

Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: Thursday, November 20, 2014 5:13 AM
Points: 1,131, Visits: 1,394
I am able to figure out using 'TaskHost' object.
Thanks for your response.

Post #1408607
« Prev Topic | Next Topic »

Add to briefcase ««12

Permissions Expand / Collapse