Sql Server 2000 - How can I find out what stored procedures are running currently?

前端 未结 5 1001
青春惊慌失措
青春惊慌失措 2021-01-18 08:05

I\'d like to know what stored procedures are currently running to diagnose some performance problems. How can I find that out?

5条回答
  •  猫巷女王i
    2021-01-18 08:49

    I think you can do execute sp_who2 to get the list of connections, but then you'll need to run a trace through SQL Profiler on the specific connection to see what it's executing. I don't think that works with queries that are already running though.

提交回复
热议问题