June 2, 2011 at 10:19 am
I have some very complex reports that generate like 25 plans.
I can't find the darn button that saves all 25 plans into a single .sqlplan file.
What am I missing?
Sql 2005 standard SP3-ish.
June 3, 2011 at 9:41 am
Right click the graphical plan, select "Save Execution Plan As..."
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
June 3, 2011 at 9:59 am
WayneS (6/3/2011)
Right click the graphical plan, select "Save Execution Plan As..."
Doesn't work. It always and only saves the plan for the query in which I did the right-click.
Same thing if I use the file menu.
Any setting I'm missing somewhere?
June 3, 2011 at 10:18 am
It's weird. If I use SSMS 2008 R2 for the exact smae query it saves both plans. The weird part is that use SSMS 2005 it opens the file and displays both plans.
But if I start from 2005 it only saves 1 plan, no matter what i do.
Google hasn't been of much help...
June 3, 2011 at 10:55 am
I'll try it out on my 2005 vm tonight. However, I've never had problems saving - it's always saved all plans.
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
June 3, 2011 at 10:58 am
i would swear at one of the SQL Pass sessions, they mentioned that the SSMS 2005 GUI would not save multiple plans, and that they fixed in in 2008 and above...so it was a GUI handicap they addressed.
obviously the 2005 GUI can open a saved paln that featured multiple plans, right?
Lowell
June 3, 2011 at 11:04 am
Lowell (6/3/2011)
i would swear at one of the SQL Pass sessions, they mentioned that the SSMS 2005 GUI would not save multiple plans, and that they fixed in in 2008 and above...so it was a GUI handicap they addressed.obviously the 2005 GUI can open a saved paln that featured multiple plans, right?
Ya 2005 can open file with multiple plans but apparently not save them... major PITA for me atm.
June 3, 2011 at 11:13 am
Does this work?
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
June 3, 2011 at 10:14 pm
Ninja's_RGR'us (6/3/2011)
WayneS (6/3/2011)
Does this work?Bingo!
Thanks a mil.
NP.
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
Viewing 10 posts - 1 through 9 (of 9 total)
You must be logged in to reply to this topic. Login to reply