SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Creating a package at runtime with custom parameters


Creating a package at runtime with custom parameters

Author
Message
murali.....
murali.....
SSC Rookie
SSC Rookie (46 reputation)SSC Rookie (46 reputation)SSC Rookie (46 reputation)SSC Rookie (46 reputation)SSC Rookie (46 reputation)SSC Rookie (46 reputation)SSC Rookie (46 reputation)SSC Rookie (46 reputation)

Group: General Forum Members
Points: 46 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*
Elliott Whitlow
Elliott Whitlow
SSChampion
SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)

Group: General Forum Members
Points: 10024 Visits: 5314
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
murali.....
murali.....
SSC Rookie
SSC Rookie (46 reputation)SSC Rookie (46 reputation)SSC Rookie (46 reputation)SSC Rookie (46 reputation)SSC Rookie (46 reputation)SSC Rookie (46 reputation)SSC Rookie (46 reputation)SSC Rookie (46 reputation)

Group: General Forum Members
Points: 46 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*
Elliott Whitlow
Elliott Whitlow
SSChampion
SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)

Group: General Forum Members
Points: 10024 Visits: 5314
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
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