Tell me what do you mean by an execution plan? Why is it used? How would you view it?

Submitted by: Administrator
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.
Submitted by: Administrator

Read Online SQL Database Concepts Job Interview Questions And Answers