Question : How to get IP Address along with hostname in SQL server 2008

When i give the sp_who or sp_who2 command in SQL Server, I get the hostname which is connected to the Server. I also want the IP Address of the machine which is connected to the Server.

Answer : How to get IP Address along with hostname in SQL server 2008

You will find the IP-address in the management view: sys.dm_exec_connections, column client_net_address.
Random Solutions  
 
programming4us programming4us