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

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/uljASATa1ouz4SFg8LmOJWTR1FE/0/da <img src="http://feedads.g.doubleclick.net/~a/uljASATa1ouz4SFg8LmOJWTR1FE/0/di" border="0" ismap="true </img> <br/>
http://feedads.g.doubleclick.net/~a/uljASATa1ouz4SFg8LmOJWTR1FE/1/da <img src="http://feedads.g.doubleclick.net/~a/uljASATa1ouz4SFg8LmOJWTR1FE/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