Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
SMerrill
Posting Yak Master
206 Posts |
Posted - 2010-06-03 : 15:02:28
|
| I need to get the value of the environment variable %temp% into a SQL string. Any ideas?~ Shaun MerrillSeattle area |
|
|
Sachin.Nand
2937 Posts |
Posted - 2010-06-03 : 15:13:06
|
| Try something like this.I am not sure about the syntax. exec master..xp_cmdshell '%temp%'PBUH |
 |
|
|
jimf
Master Smack Fu Yak Hacker
2875 Posts |
|
|
SMerrill
Posting Yak Master
206 Posts |
Posted - 2010-06-03 : 17:18:01
|
| thanks a lot!~ Shaun MerrillSeattle area |
 |
|
|
|
|
|