1.

Which of the following is valid syntax for SET STATISTICS XML?(a) SET STATISTICS XML { OFF }(b) SET STATISTICS XML { ON | OFF }(c) SET STATISTICS XML { ON }(d) All of the mentionedI had been asked this question in an interview for internship.I'm obligated to ask this question of Query Execution Plan in section Performance Tuning and Optimization of SQL Server

Answer»

The CORRECT ANSWER is (d) All of the mentioned

The EXPLANATION is: SET STATISTICS XML causes MICROSOFT SQL Server to execute Transact-SQL statements and generate detailed information about how the statements were executed in the form of a well-defined XML DOCUMENT.



Discussion

No Comment Found

Related InterviewSolutions