I am using SQL Server 2008 Enterprise. I want to see any active SQL Server connections, and the related information of all the connections, like from which IP address, connect to which database or something.
Are there existing commands to solve this issue?
Apart from
sp_who
, you can also use the "undocumented"sp_who2
system stored procedure which gives you more detailed information. See Difference between sp_who and sp_who2.Click the "activity monitor" icon in the toolbar...
From Thorsten's comments:
In SQL Server Management Studio, right click on Server, choose "Activity Monitor" from context menu -or- use keyboard shortcut Ctrl + Alt + A.