How to Read Environment Variables Using T-SQL in SQL Server

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
The xp_cmdshell extended stored procedure in SQL Server enables you to read environment variables in T-SQL.
http://feedads.g.doubleclick.net/~a/0-VR5FR2cvYALmWnCW4H1Sk1iWM/0/da <img src="http://feedads.g.doubleclick.net/~a/0-VR5FR2cvYALmWnCW4H1Sk1iWM/0/di" border="0" ismap="true </img> <br/>
http://feedads.g.doubleclick.net/~a/0-VR5FR2cvYALmWnCW4H1Sk1iWM/1/da <img src="http://feedads.g.doubleclick.net/~a/0-VR5FR2cvYALmWnCW4H1Sk1iWM/1/di" border="0" ismap="true </img> <img src="http://feeds.feedburner.com/~r/DevxRecentTipsFeed/~4/uwSKpORitpc" height="1" width="1"/>

View the full article
 
Back
Top