Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Expect query plan when select XML showplan in the result grid #967
Select XML showplan in the result, should open query plan
Scenario: It is the main scenario for execute sp_whoisactive to get plans
Simple repro step:
This might be difficult considering it's just another xml that is the format of a showplan, We would need to be able to parse it and test it for showplan, which i'm not sure its worth it, when a user can click showplan for a query. Before we had a feature that if you selected showplan as the language type rather than xml it would show the plan in the editor? @kburtram I remember this being demoed after the "hackathon" we had, not sure if it's still in the product.
I run sp_whoisactive with @get_plans = 1 a lot in SSMS. It helps me tune my end users' queries in real time. Now that the whoisactive extension is live (and explicitly has a "Get plans" button), I'd appreciate this support.
It seems that SSMS's implementation involves: