HomeForum
Welcome, Guest

Can I set up a connection that pulls in a server name from a system environment variable
(1 viewing) (1) Guest
  • Page:
  • 1

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

Can I set up a connection that pulls in a server name from a system environment variable 1 year, 1 month ago #2313

  • Adrian
  • OFFLINE
  • Junior Boarder
  • Posts: 22
  • Karma: 0
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

Re: Can I set up a connection that pulls in a server name from a system environment variable 1 year, 1 month ago #2314

  • admin
  • OFFLINE
  • Moderator
  • Posts: 2182
  • Karma: 12
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
Attachments:
  • Page:
  • 1
Time to create page: 0.14 seconds

Testimonials

"This [Visual Importer ETL] is such a great help. As expected, it has paid for itself within one week!"

Phill Stive,
Oracle DBA, OU,
Newcaste

User Login

You only need to log in or register to use our support forum



Our customers

BP

BBC

HSBC


Databases we work with

Go to top