?
Solved

pln file

Posted on 2011-10-07
4
Medium Priority
?
375 Views
Last Modified: 2012-05-12
how do you use the PLN extension in sql serer?
0
Comment
Question by:25112
  • 2
  • 2
4 Comments
 
LVL 5

Author Comment

by:25112
ID: 36933246
it was sent as SQL server plan files.. but our management studio is not able to open it..
0
 
LVL 60

Accepted Solution

by:
Kevin Cross earned 2000 total points
ID: 36933257
Just to make sure we are on the same page, you are talking about the SQL Graphical Execution Plan, correct? You can open .sqlplan files using SQL Management Studio and view the execution plan details/visualization to determine how SQL will most likely perform the actual execution of a given query.
0
 
LVL 60

Expert Comment

by:Kevin Cross
ID: 36933282
Okay, I just saw your follow-up post. It sounds like it was just named the wrong extension. Change to .xml or .sqlplan and open again in SSMS and see what happens.

If you open the file using Notepad, you should see something similar to:
<?xml version="1.0" encoding="utf-16"?>
<ShowPlanXML ...>
  <BatchSequence>
    <Batch>
      <Statements>
      ...
      </Statements>
    </Batch>
  </BatchSequence>
</ShowPlanXML>

Open in new window


If you do not, then they may have sent you the wrong file or it is not meant to be execution plan.

Kevin
0
 
LVL 5

Author Comment

by:25112
ID: 36955429
renaming the extention helped
0

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Question has a verified solution.

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

What if you have to shut down the entire Citrix infrastructure for hardware maintenance, software upgrades or "the unknown"? I developed this plan for "the unknown" and hope that it helps you as well. This article explains how to properly shut down …
When trying to connect from SSMS v17.x to a SQL Server Integration Services 2016 instance or previous version, you get the error “Connecting to the Integration Services service on the computer failed with the following error: 'The specified service …
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.
Suggested Courses

807 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