I have a package that needs to be run in different environments (different server\instance, same database name) for example:
server: live-db01\live
db: Campaign
server: dev-db01\livedebug
db: Campaign
The package itself is identical for each environment. The only thing that changes is the connection string for the server. These packages are sent to appropriate department and they deploy it onto their server.
My question is let's say the package is installed onto the live-db01
Integration Services instance. Is there a way to access this server information inside the package and set the connection string accordingly?
Right now we deploy the same package with 4 different configurations with the only difference in the XML .config is the connection string. Is there a way to deploy a single package without the config that dynamically changes its connection string based on the server it is deployed in?