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 INPUTBUFFER (60)

C.
EXEC sp_helpdb 60

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

22 Comments on “Which Transact-SQL statement should you use?

  1. GG says:

    The corect answer is A.
    sys.dm_exec_sessions is a server-scope view that shows information about all active user connections and internal tasks. This information includes client version, client program name, client login time, login user, current session setting, and more. Use sys.dm_exec_sessions to first view the current system load and to identify a session of interest, and then learn more information about that session by using other dynamic management views or dynamic management functions.




    0



    1
  2. What i do not understood is actually how you’re no longer really much more neatly-favored than you might be right now. You are very intelligent. You already know therefore considerably in the case of this matter, produced me individually imagine it from so many varied angles. Its like men and women aren’t fascinated except it is something to do with Girl gaga! Your personal stuffs outstanding. Always care for it up!




    0



    1

Leave a Reply