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

How to declare a cursor with "declare ... Cursor" in ms sql server?

740


What is sharding?

103


What are the main differences between #temp tables and @table variables and which one is preferred?

771


What is the guest user account in sql server? What login is it mapped to it? : sql server security

762


Why use view instead of a table?

710






List some of the rules that apply to creating and using a ‘view’

673


How do we upgrade from SQL Server 6.5 to 7.0 and 7.0 to 2000?

1789


What is store procedure? How do they work?

760


What part does database design plays a role in performance of an sql server-based application?

718


What are the diifferences between the ms sql server vs mysql?

888


what are the three command line utilities and what are their primary functions?

119


What are key, name and value columns of an attribute? : sql server analysis services, ssas

766


Differentiate between delete and truncate.

749


What is the index requirement in SQL Azure?

86


What are the recovery models for a database?

813