Displaying Execution Plan XML

In addition to viewing the graphical execution plan in SSMS, you can also display the XML generated by the Query Optimizer that is used to represent the graphical execution plan. Right-click on the execution plan and select the Show Execution Plan XML option (see Figure 32.10).

Image

FIGURE 32.10 Generating execution plan XML in SSMS.

Selecting this option opens a new XML editor window with the SHOWPLAN_XML output generated by the query optimizer.

Get Microsoft® SQL Server 2012 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.