select hostname from master..sysprocesses where [email protected]@SPID
または
select host_name from sys.dm_exec_sessions where [email protected]@SPID
select hostname from master..sysprocesses where [email protected]@SPID
または
select host_name from sys.dm_exec_sessions where [email protected]@SPID