SQL server

Convert xml query plan to graphical query plan.

In SQL 2005 you can get an XML version of a query plan by running select * from sys.dm_exec_query_plan(plan_handle). You can convert this XML file into a graphical query plan. Simply save the file with an extension of .sqlplan. If you currently have query plans saved as XML files, simply rename them to .sqlplan and you can view them in SSMS in a graphical format.

Advertisements
Standard

Thinking about someting? Leave a Reply...

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s