2

We have a few 100's of SSIS packages in our environment. Last night we moved our database from one server to another and renamed it. We now need to go into all of packages and change the connection manager to point to the new database server name.

We want to know if there is a way to create a @variablename that we can store our new server name in it (i.e. 'ELITEDB.SIRS-db') in it so we can then put the @variablename into the Connection Manager area. This way if we move servers again in another year we only need to make this change once because the new @variablename will be able to pull the new Server name.DBname.

I hope this makes sense to the masses out there?

4

1 Answer 1

2

If you're working with SSIS 2012, just right-click on the connection and select "Parametrize". Thereafter the connection will be settable with the parameters you create.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.