You need to stop a blocking process that has an SPID of 64 without stopping other processes What should you do?

You administer a Microsoft SQL Server 2012 instance.
You need to stop a blocking process that has an SPID of 64 without stopping other processes
What should you do?

You administer a Microsoft SQL Server 2012 instance.
You need to stop a blocking process that has an SPID of 64 without stopping other processes
What should you do?

A.
Execute the following Transact-SQL statement:
EXECUTE sp_KillSPID 64

B.
Restart the SQL Server service.

C.
Execute the following Transact-SQL statement:
KILL 64

D.
Execute the following Transact-SQL statement:

ALTER SESSION KILL ’64’

Explanation:
http://msdn.microsoft.com/en-us/library/ms173730.aspx



Leave a Reply 1

Your email address will not be published. Required fields are marked *


z

z

C => “KILL can be used to terminate a normal connection, which internally terminates the transactions that are associated with the specified session ID”