- Posts: 36
- Thank you received: 0
Can I set up a connection that pulls in a server name from a system environment variable
12 years 5 months ago #2313
by CristianV
Can I set up a connection that pulls in a server name from a system environment variable was created 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
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.
12 years 5 months ago #2314
by admin
Mike
ETL Architect
Replied by admin on topic Re: Can I set up a connection that pulls in a server name from a system environment variable
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
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
Please Log in or Create an account to join the conversation.