SQL Database Concepts Question: Download Questions PDF
Tell me what do you mean by an execution plan? Why is it used? How would you view it?
Answer:
a.) An execution plan can be called as a road map that graphically or textually shows the data retrieval methods which have been chosen by the SQL
Server query optimizer, for a stored procedure or ad- hoc query.
b.) It is used because it is a very useful tool for a developer to understand the performance characteristics of a query or stored procedure.
c.) There exists an option called "Show Execution Plan" in Query Analyzer. If this option is turned on, it will display query execution plan in separate window when the query is run again.
Server query optimizer, for a stored procedure or ad- hoc query.
b.) It is used because it is a very useful tool for a developer to understand the performance characteristics of a query or stored procedure.
c.) There exists an option called "Show Execution Plan" in Query Analyzer. If this option is turned on, it will display query execution plan in separate window when the query is run again.
Download Basic SQL Server Interview Questions And Answers
PDF