Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
avmreddy17
Posting Yak Master
180 Posts |
Posted - 2007-11-13 : 13:11:26
|
| is there any way to get all the SPID's running a particular Stored Proc?ThxVenu |
|
|
tkizer
Almighty SQL Goddess
38200 Posts |
Posted - 2007-11-13 : 13:21:12
|
| You'd have to trace this information via SQL Profiler.Tara KizerMicrosoft MVP for Windows Server System - SQL Serverhttp://weblogs.sqlteam.com/tarad/ |
 |
|
|
rmiao
Master Smack Fu Yak Hacker
7266 Posts |
Posted - 2007-11-13 : 15:43:00
|
| Or query sysprocesses. |
 |
|
|
tkizer
Almighty SQL Goddess
38200 Posts |
Posted - 2007-11-13 : 15:55:07
|
| Using sysprocesses, sp_who, or sp_who2 is not a good idea as you'd have to continuously re-run your query to get the results. It is much better to trace the information to a file or table so that you can later review the results.Tara KizerMicrosoft MVP for Windows Server System - SQL Serverhttp://weblogs.sqlteam.com/tarad/ |
 |
|
|
|
|
|