If I log on to SQL server from the Server via a shortcut from a local computer on the network and run the script below which computer name would be displayed - the Server or the local computer:
DECLARE @uid INT,@loginname VARCHAR(70)
select DISTINCT @uid = uid,@loginname = loginame from master.dbo.sysprocesses WHERE dbid = db_id('mortgage')
select DISTINCT nt_username AS User_Name,uid AS User_Id, hostname AS Computer,loginame AS Login_Name,@loginname AS requester from master.dbo.sysprocesses WHERE dbid = db_id('mortgage') AND loginame = @loginname
DECLARE @uid INT,@loginname VARCHAR(70)
select DISTINCT @uid = uid,@loginname = loginame from master.dbo.sysprocesses WHERE dbid = db_id('mortgage')
select DISTINCT nt_username AS User_Name,uid AS User_Id, hostname AS Computer,loginame AS Login_Name,@loginname AS requester from master.dbo.sysprocesses WHERE dbid = db_id('mortgage') AND loginame = @loginname