1.

Which of the following requires VIEW SERVER STATE permission on the server?(a) sys.dm_os_states(b) sys.dm_os_wait_stats(c) sys.dm_os_wait_states(d) none of the mentionedThis question was addressed to me at a job interview.I would like to ask this question from Wait States in section Monitoring and Auditing of SQL Server

Answer»

The CORRECT option is (b) sys.dm_os_wait_stats

For explanation I would say: sys.dm_os_wait_stats RETURNS INFORMATION about all the waits encountered by threads that EXECUTED.



Discussion

No Comment Found

Related InterviewSolutions