PrepAway - Latest Free Exam Questions & Answers

Which Transact-SQL statement should you use?

You administer a Microsoft SQL Server 2012. A process that normally runs in less than 10 seconds
has been running for more than an hour. You examine the application log and discover that the
process is using session ID 60. You need to find out whether the process is being blocked. Which
Transact-SQL statement should you use?

PrepAway - Latest Free Exam Questions & Answers

A.
SELECT ~ FROM sys.dm_exec_sessions WHERE session_id = 60

B.
DBCC OPENTRAN

C.
EXEC sp_helpdb 60

D.
SELECT * FROM sys.dm_exec_requests WHERE session_id = 60

Explanation:
http://technet.microsoft.com/en-us/library/ms178568.aspx


Leave a Reply