September 9, 2011 at 6:21 am
i need result as below ..... can u please help me
i tried with sp_who2
SPID 246
State sleeping
Login xxxx
Hostname xx
Blocking None
Database xxx
Last batch 09/09 04:32:38
Query xxxxxx
September 9, 2011 at 6:53 am
Adam Machanic's sp_WhoIsActive does this and MUCH more:
-- Gianluca Sartori
September 9, 2011 at 7:34 am
i can't access the link below
sp_whoisactive is throwing an error that no storedprocedure
September 9, 2011 at 7:39 am
ravishankar.yedoti (9/9/2011)
i can't access the link belowsp_whoisactive is throwing an error that no storedprocedure
Open the link I posted (if it doesn't work, check your settings).
Download the code and create sp_WhoIsActive.
-- Gianluca Sartori
September 9, 2011 at 7:43 am
ravishankar.yedoti (9/9/2011)
i can't access the link belowsp_whoisactive is throwing an error that no storedprocedure
There's no problem with the link provided by Gianluca, but if you can't access it then the code is attached to this post.
--Edit--
Btw, thanks Gianluca. This seems very useful and I hadn't heard of it before - I had been using something of my own creation that does a lot less.
September 9, 2011 at 7:56 am
Cadavre (9/9/2011)
ravishankar.yedoti (9/9/2011)
i can't access the link belowsp_whoisactive is throwing an error that no storedprocedure
There's no problem with the link provided by Gianluca, but if you can't access it then the code is attached to this post.
--Edit--
Btw, thanks Gianluca. This seems very useful and I hadn't heard of it before - I had been using something of my own creation that does a lot less.
Adam Machanic is simply great!
-- Gianluca Sartori
September 11, 2011 at 9:26 pm
thanks, it help's me a lot.
Viewing 7 posts - 1 through 6 (of 6 total)
You must be logged in to reply to this topic. Login to reply