1.

Which of the following syntax is valid?(a) SET SHOWPLAN_XML { ON | OFF }(b) SET SHOWPLAN { ON | OFF }(c) SET SHOW_XML { ON | OFF }(d) None of the mentionedI got this question in unit test.This intriguing question comes from Query Execution Plan in section Performance Tuning and Optimization of SQL Server

Answer»

Right answer is (a) SET SHOWPLAN_XML { ON | OFF }

To ELABORATE: SET SHOWPLAN_XML causes SQL Server not to EXECUTE Transact-SQL statements.



Discussion

No Comment Found

Related InterviewSolutions