how to know Who Is Blocking Your SQL Server?

Answer Posted / xavier k.

Solution #1

Simply execute the sp_who2 active and check out the blocked
by column to check the blocked spid and blocked by spid

Solution #2

select * from sys.sysprocesses where blocked <>0

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are security principals used in sql server 2005?

576


How to divide query output into multiple groups with the group by clause in ms sql server?

653


What is abstracting periodical?

605


What is sql azure database?

190


Explain transaction server implicit?

615






Explain what are the restrictions that views have to follow? : SQL Server Architecture

691


Can truncate be rolled back?

616


How will you hide an attribute? : sql server analysis services, ssas

607


What happens to a statement batch if there is a compilation error?

593


Differentiate between sql temp table vs table variable?

599


How to verify a user name with sqlcmd tool?

687


where the connection string store in the database

1626


Where can you find the error log information? : sql server database administration

638


How do I create a trace in sql server?

604


What’s the distinction between dropping a info and taking a info offline?

697