July 8, 2008 at 2:14 am
Hi Experts,
How to view the execution plan in SQL Server 2005.
TIA
July 8, 2008 at 2:33 am
If yoy are working with Microsoft Sql Server Management Studio:
- Open a new query window (Ctrl+N)
- Select "Include Actual Execution Plan" (Ctrl+M)
- Run your Query (F5) and examine your execution plan as a new folder close to Results and Messages.
July 10, 2008 at 2:30 am
You can also view them in Profiler .
When you set up a new trace ,
Go to the Events Selection Tab , Expand the performance tab , check ShowPlanXML
http://www.ITjobfeed.com
July 10, 2008 at 3:50 am
If you want to see without executing the script the you can use Display Execution plan as per this http://msdn.microsoft.com/en-us/library/ms178071.aspx link.
-Satya SK Jayanty
SQL Server MVP (Follow me @sqlmaster)
Author of SQL Server 2008 R2 Administration CookBook
SQL Server Knowledge Sharing network
July 11, 2008 at 3:55 am
Ctrl + L if you just want the estimated execution plan
-- Gianluca Sartori
Viewing 5 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic. Login to reply