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 |
|
scootermcfly
Yak Posting Veteran
66 Posts |
Posted - 2002-03-26 : 11:17:17
|
| I am trying to get the computer name through TSQL, i can get the SQL server name using @@servername; but I need to know what machine that something is running on.Thanks in advance,Scooter McFly |
|
|
robvolk
Most Valuable Yak
15732 Posts |
Posted - 2002-03-26 : 11:22:54
|
| Delving into the undocumented world reveals:xp_getnetname |
 |
|
|
Jay99
468 Posts |
Posted - 2002-03-26 : 11:25:44
|
Don't you wish...select [Computer Name]from [Network Neighborhood]where dbo.udf_IsThisRunning('SETI%')...maybe with Yukon, admins will have a field day :)Jay<O> |
 |
|
|
scootermcfly
Yak Posting Veteran
66 Posts |
Posted - 2002-03-26 : 11:26:10
|
| robvolk,Thank you, that is just what i needed.Scooter McFly |
 |
|
|
|
|
|