What is an execution plan? When would you use it? How would you view the execution plan?

Q

What is an execution plan? When would you use it? How would you view the execution plan?

✍: Guest

A

The Query Analyzer has a feature called Show Execution Plan. This option allows you to view the execution plan used by SQL Server’s Query Optimizer to actually execute the query. This option is available from the Query menu on the main menu of Query Analyzer, and must be turned on before the query is executed. Once the query is executed, the results of the execution plan are displayed in graphical format in a separate window, available from a tab that appears below the query results window on the screen.

2014-10-13, 1880👍, 0💬