November 15, 2005 at 2:52 am
Hi we have a few usp's that use xp_cmdshell to executes some proprietary software that relies on accessing environment variables. Our issue is that if a new environment variable is added to the server, it's not picked up within SQL Servers name space unless restarted which is not practical due to the high demand on the server.
Does anyone know of a way of refreshing the environment variables without restarting SQL Server??
Cheers in advance for any comments.
November 15, 2005 at 9:41 am
Have a look at SETX (on the resource kit)
* Noel
November 15, 2005 at 9:51 am
Thanks Noel,
Is there anymore info you can give me on this... are you talking about the SQL Server resourse kit? Do you have a URL that explains in more detail?
Cheers
R
November 15, 2005 at 9:57 am
Viewing 4 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic. Login to reply
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy