all groups > sql server connect > august 2004 >
You're in the

sql server connect

group:

sp_help and enterprise manager



Re: sp_help and enterprise manager Dan Guzman
8/3/2004 8:37:14 AM
sql server connect: I would guess that the sp_help query was run from QA within an open
transaction and this could block access to system tables by other user
connections. Brian's suggestions should help determine if this is the case.

--
Hope this helps.

Dan Guzman
SQL Server MVP

[quoted text, click to view]

Re: sp_help and enterprise manager Brian Moran
8/3/2004 8:51:27 AM
It's not necessarily a big deal that QA and EM are blocking. The bigger
question is QA holding locks so long that it could cause a timeout.

Have you used sp_lock and sp_who to analyze what actually is locked and who
is doing the blocking?

--

Brian

[quoted text, click to view]

sp_help and enterprise manager Praetorian Guard
8/3/2004 5:13:43 PM
Hi,

My colleque execute sp_help in query analyzer on his machine and when I use
Enterprise Manager on my machine and go to Management | Current Activity
then I get a "Error 1222: Lock request time out period exceeded".

Why am I block when he is just executing sp_help on a table?

Thank you in advance.

Re: sp_help and enterprise manager Praetorian Guard
8/4/2004 11:26:36 AM
I did use sp_lock and sp_who and I figure it out that it is one of my
collegue who use sp_help 'tablename' only. I mean this is the only command
he runs under QA after that when I use EM the problem occur. We can even
duplicate the problem anytime.


[quoted text, click to view]

AddThis Social Bookmark Button