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

Creating a package at runtime with custom parameters Expand / Collapse
Author
Message
Posted Tuesday, June 2, 2009 1:32 AM


Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Monday, August 31, 2009 6:32 AM
Points: 18, Visits: 98
Hi Experts,

I'm a .net developer and i'm developing a ETL tool(windows appl'n), i've started using SSIS package to archive this functionality, i've created the package using SQL SERVER 2005 BUSINESS INTEL STUDIO, but as per requirement, the user will select the source server, destination server, source database, destination database, columns and mapping at run time, i thought of capturing all the data in an xml file and passing it to the package which will be created at run time, but i'm not sure weather this work or not.

i hope i made my problem clear, has any one worked on such issues, if so plz let me know how should i go forward so that i can achieve my goal, and also please let me know how should i create a package at run time with the custom parameters(all the parameters which i mentioned above).

I would be very happy to see the response, any help on this would be greatly appreciated.


warm regards
--
Murali


*He that is good with hammer tends to think every thing is a nail*
Post #727189
Posted Wednesday, July 1, 2009 7:22 PM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Thursday, October 9, 2014 1:02 PM
Points: 6,032, Visits: 5,284
The answer is yes you can, you can manipulate the entire object model from .net and both create a package from scratch in the object model and I believe execute it there..

It might make sense to create the package and then write it out to a file as a completed product ready to run, if you are going to go through the trouble of manipulating it at the object level it might make more sense but I would need a bit more data to give you a better answer..

CEWII
Post #745912
Posted Monday, July 13, 2009 2:47 AM


Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Monday, August 31, 2009 6:32 AM
Points: 18, Visits: 98
Dear Elliott

Thanks for your reply, i'd followed some links in net and started creating the package, but could not acheive what i wanted to, in your post u'd requested some more information so that you can help me, what info shall i provide so that i can make you understand my problem..


*He that is good with hammer tends to think every thing is a nail*
Post #751861
Posted Monday, July 13, 2009 5:56 PM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Thursday, October 9, 2014 1:02 PM
Points: 6,032, Visits: 5,284
What kind of custom parameters? Do you want to pass in connection information at run-time or change the values of variables or modify a formula? All of these are possible and they areoften solved the same way, but understanding your end goal with some specificity will help.

CEWII
Post #752401
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse