Can I set up a connection that pulls in a server name from a system environment variable

More
12 years 5 months ago #2313 by CristianV
Can you set up a connection that pulls in a server name from a system environment variable? We need to be able to run the same package in different environments (Test, Development, Production, etc.) without making manual changes.

Ideally we would have a configuration file (or database table reference) on each application server where we run packages, that would contain all of the relevant server names (database servers, file servers, etc.) and when the package runs it automatically refreshes all references based on the environment.

Can the DBSL product handle this requirement?

Adrian

Please Log in or Create an account to join the conversation.

More
12 years 5 months ago #2314 by admin
Yes it is possible

I would personally use Set Variable Package object to set parameters for different environments
Or you can use table as well (sql data check to get value than save it into different variable using calculation)
Or you can write an sql script and update connections table.

John

Mike
ETL Architect
Attachments:

Please Log in or Create an account to join the conversation.