all groups > sql server (alternate) > october 2004 >
You're in the

sql server (alternate)

group:

How to find out workstation name from net_address



How to find out workstation name from net_address ericyang1991 NO[at]SPAM hotmail.com
10/29/2004 4:23:40 PM
sql server (alternate): Hi,

Is it possible to know workstation name from data in column
net_address from master..sysprocesses?

Re: How to find out workstation name from net_address John Bell
10/30/2004 4:07:52 PM
Hi

The hostname column in sysprocesses will contain the workstation name,
net_address is a MAC address which you would have to resolve through
something like arp.

John

[quoted text, click to view]

Re: How to find out workstation name from net_address Erland Sommarskog
10/30/2004 10:34:45 PM
Eric Yang (ericyang1991@hotmail.com) writes:
[quoted text, click to view]

As John said, you can use the hostname column. However, this column is
not 100% reliable, as this is set through application code, and the
application can lie about it.

--
Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se

Books Online for SQL Server SP3 at
AddThis Social Bookmark Button