2008
select CONNECTIONPROPERTY ('client_net_address') as client_net_address;
2005
select client_net_address from sys.dm_exec_connections
where session_id = @@SPID;
2000....沒有
這個不曉得是不是 client 的 mac
select distinct net_address from sysprocesses where spid=@@spid;
沒有留言:
張貼留言