x
login about faq Site discussion (meta-askssc)

SSIS Package Source Parameters

Hi, I have created a package in SSIS.

I want to now run the package on different DB's in Management Studio but need to find a way to pass in the the OLD DB SOurce as a paraemter instead of a hardcoded DB, this way I do not need to create a package for each DB that I want to execute the package on.

Is this possible? If so can someone give me some infomration on how to accomplish this.

Thanks!

more ▼

asked Aug 31 '12 at 01:20 PM in Default

sqlLearner 1 gravatar image

sqlLearner 1
542 13 28 33

(comments are locked)
10|1200 characters needed characters left

1 answer: sort voted first

You will want to look at package configurations.

You will setup your connection manager source to the database and server using variables for your initial catalog and server/instance. Then in your package configuration the value of that variable is set.

A good walkthrough can be found here.

more ▼

answered Aug 31 '12 at 08:16 PM

Shawn_Melton gravatar image

Shawn_Melton
4.7k 13 17 27

(comments are locked)
10|1200 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments



Facebook logo Follow Ask SSC on Facebook
Find Ask SSC on Google+
linkedin logo Find us on LinkedIn

Topics:

x751
x224
x66
x25
x5

asked: Aug 31 '12 at 01:20 PM

Seen: 284 times

Last Updated: Aug 31 '12 at 08:16 PM

Copyright © 2002-2012 Simple Talk Publishing. All Rights Reserved. If you have any queries, please contact the site administrators.
Ask SQL Server Central is a community service provided by Red Gate.