Discussion on:

4
Comments

Join the conversation!

Follow via:
RSS
Email Alert
0 Votes
+ -
I believe you left off the "END" at the end of the stored procedure code...
0 Votes
+ -
Thanks
chapman.tim@... 8th Jan 2008
Yep, I've since had it fixed. Thank you for noticing.
Tim Chapman
0 Votes
+ -
Hi,
I attempted to use the stored procedure, but an error stating: Msg 170, Level 15, State 1, Procedure sp_LockDetail, Line 38
Line 38: Incorrect syntax near 'APPLY'."
was returned.
Can someone please tell me what I'm doing wrong? Thank you.
Is there a way to find the first process starting the lock? I use sys.sysprocesses dmv, that shows blocked spid and I see many times multiple spids causing locking and often struggle to find out the first process, query that started it all.
Thanks
Keyboard Shortcuts:
Prev
Next
Toggle
Join the conversation
Formatting +
BB Codes - Note: HTML is not supported in forums
  • [b] Bold [/b]
  • [i] Italic [/i]
  • [u] Underline [/u]
  • [s] Strikethrough [/s]
  • [q] "Quote" [/q]
  • [ol][*] 1. Ordered List [/ol]
  • [ul][*] · Unordered List [/ul]
  • [pre] Preformat [/pre]
  • [quote] "Blockquote" [/quote]

Join the TechRepublic Community and join the conversation! Signing-up is free and quick, Do it now, we want to hear your opinion.