Google News
logo
SQL Server - Quiz(MCQ)
The contents of sys.dm_os_wait_stats can be reset by running which of the following command?
A)
DBCC SQLP (‘sys.dm_os_wait_stats’, CLEAR);
B)
DBCC SQLPERF (‘sys.dm_os_wait_stats’, CLEAR);
C)
DBCC PERF (‘sys.dm_os_wait_stats’, CLEAR);
D)
None of the above

Correct Answer :   DBCC SQLPERF (‘sys.dm_os_wait_stats’, CLEAR);


Explanation : DBCC SQLPERFcommand resets all counters to 0.

Advertisement