Creating a package at runtime with custom parameters

  • 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*

  • 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

  • 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*

  • 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

Viewing 4 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic. Login to reply