Solved

SQL:  How to Create an Explain Plan

Posted on 2014-02-25
3
252 Views
Last Modified: 2014-02-26
Hello:

How do you create an explain plan (.sqlplan file) for a T-SQL query?

TBSupport
0
Comment
Question by:TBSupport
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 75

Accepted Solution

by:
Anthony Perkins earned 500 total points
ID: 39887774
Query | Include Execution Plan menu
Query | Execute menu
Click on Execution plan tab
File | Save Execution Plan As ... menu.
0
 
LVL 1

Author Comment

by:TBSupport
ID: 39889277
Is there a way to do this, without having to run the SQL query?  The query has been running for four hours, now.

TBSupport
0
 
LVL 1

Author Comment

by:TBSupport
ID: 39889701
Disregard....I figured it out.  Thanks, for your help!

TBSupport
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
sql 2008 how to table join 2 31
query optimization 6 21
Enabled trace flag 4135 or 4199 - SQL SERVER 2 22
point in time restore in SQL server 26 42
Introduction: When running hybrid database environments, you often need to query some data from a remote db of any type, while being connected to your MS SQL Server database. Problems start when you try to combine that with some "user input" pass…
Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question