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

前端 未结 5 850
青春惊慌失措
青春惊慌失措 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条回答
  •  鱼传尺愫
    2021-01-18 08:54

    Using Enterprise Manager, you can open the Management tree section, and choose Current Activity -> Process Info. Double clicking on a Process ID will show you what that process is running. If it's a stored procedure, it will not show you the parameters. For that it would be better to use Brian Kim's suggestion of using the SQL Profiler.

提交回复
热议问题