Link to home
Start Free TrialLog in
Avatar of sgray128
sgray128Flag for United States of America

asked on

View open connections in SQL 2008

I need to clear up some connections in a SQL 2008 db. In SQL 2000 I would go to MANAGEMENT > CURRENT ACTIVITY > PROCESS INFO, where I could see all the connections to a database and kill the ones that were offending me.

I don't see anything like that in SQL 2008. Is it gone?
Avatar of chapmandew
chapmandew
Flag of United States of America image

select * from sys.dm_exec_connections
for what a connection is running:

select * from sys.dm_exec_requests r
cross apply sys.dm_exec_sql_text(sql_handle)
Avatar of sgray128

ASKER

These are both using TSQL. I'm not afraid of that, but my question pertains to the old PROCESS INFO window. Is it gone? Is there any way to view the current procdess in the interface instead of running a query?
ASKER CERTIFIED SOLUTION
Avatar of chapmandew
chapmandew
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
That got me most of the way there. SQL 2005 has the Activity Monitor that you mentioned. In SQL 2008 you have to right click on the Server and you'll see the Activity Monitor