<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments on: PowerShell to fetch a SQL Execution Plan	</title>
	<atom:link href="https://lobsterpot.com.au/blog/2010/12/07/powershell-to-fetch-a-sql-execution-plan/feed/" rel="self" type="application/rss+xml" />
	<link>https://lobsterpot.com.au/blog/2010/12/07/powershell-to-fetch-a-sql-execution-plan/</link>
	<description></description>
	<lastBuildDate>Mon, 17 Feb 2014 08:43:36 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1.2</generator>
	<item>
		<title>
		By: Rob Farley		</title>
		<link>https://lobsterpot.com.au/blog/2010/12/07/powershell-to-fetch-a-sql-execution-plan/#comment-1451</link>

		<dc:creator><![CDATA[Rob Farley]]></dc:creator>
		<pubDate>Mon, 17 Feb 2014 08:43:36 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.lobsterpot.com.au/?p=2812#comment-1451</guid>

					<description><![CDATA[Oh Juerg,
The error you got is just because the plan is larger than the 4000 characters that are being returned. If you use &#034;-MaxCharLength 9999999&#034; this should work better.
Rob]]></description>
			<content:encoded><![CDATA[<p>Oh Juerg,<br />
The error you got is just because the plan is larger than the 4000 characters that are being returned. If you use &quot;-MaxCharLength 9999999&quot; this should work better.<br />
Rob</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Rob Farley		</title>
		<link>https://lobsterpot.com.au/blog/2010/12/07/powershell-to-fetch-a-sql-execution-plan/#comment-1450</link>

		<dc:creator><![CDATA[Rob Farley]]></dc:creator>
		<pubDate>Tue, 13 Nov 2012 13:46:32 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.lobsterpot.com.au/?p=2812#comment-1450</guid>

					<description><![CDATA[Hi juerg,
Make sure the file contains the right combinations of brackets, braces and parentheses, and has no extra characters in there.
Rob]]></description>
			<content:encoded><![CDATA[<p>Hi juerg,<br />
Make sure the file contains the right combinations of brackets, braces and parentheses, and has no extra characters in there.<br />
Rob</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: juerg		</title>
		<link>https://lobsterpot.com.au/blog/2010/12/07/powershell-to-fetch-a-sql-execution-plan/#comment-1449</link>

		<dc:creator><![CDATA[juerg]]></dc:creator>
		<pubDate>Sun, 04 Nov 2012 19:11:57 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.lobsterpot.com.au/?p=2812#comment-1449</guid>

					<description><![CDATA[Hi
thanks for the script, however e.g. trying to get the plan for AdventureWorks2012.dbo.uspGetBillOfMaterials I get
Error: &#034;Unexpected end of file has occurre
d. The following elements are not closed: OutputList, RelOp, QueryPlan, StmtSimple, Statements, Stor
edProc, StmtSimple, Statements, Batch, BatchSequence, ShowPlanXML. Line 1, position 4001.&#034;
At D:\Projekte\Wincasa\QVReporting_home\CreateExecutionPlan.ps1:6 char:109
+ { return ([xml] (invoke-sqlcmd -Server $server -Database $db -Query &#034;set showplan_xml on;`ngo`n$qu
ery&#034;).Item &#060;&#060;&#060;&#060; ( 0)) }
 &#160; &#160;+ CategoryInfo &#160; &#160; &#160; &#160; &#160;: NotSpecified: (:) [], RuntimeException
 &#160; &#160;+ FullyQualifiedErrorId : RuntimeException
any idea?
Thanks]]></description>
			<content:encoded><![CDATA[<p>Hi<br />
thanks for the script, however e.g. trying to get the plan for AdventureWorks2012.dbo.uspGetBillOfMaterials I get<br />
Error: &quot;Unexpected end of file has occurre<br />
d. The following elements are not closed: OutputList, RelOp, QueryPlan, StmtSimple, Statements, Stor<br />
edProc, StmtSimple, Statements, Batch, BatchSequence, ShowPlanXML. Line 1, position 4001.&quot;<br />
At D:\Projekte\Wincasa\QVReporting_home\CreateExecutionPlan.ps1:6 char:109<br />
+ { return ([xml] (invoke-sqlcmd -Server $server -Database $db -Query &quot;set showplan_xml on;<code>ngo</code>n$qu<br />
ery&quot;).Item &lt;&lt;&lt;&lt; ( 0)) }<br />
 &nbsp; &nbsp;+ CategoryInfo &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;: NotSpecified: (:) [], RuntimeException<br />
 &nbsp; &nbsp;+ FullyQualifiedErrorId : RuntimeException<br />
any idea?<br />
Thanks</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: SQLvariant		</title>
		<link>https://lobsterpot.com.au/blog/2010/12/07/powershell-to-fetch-a-sql-execution-plan/#comment-1448</link>

		<dc:creator><![CDATA[SQLvariant]]></dc:creator>
		<pubDate>Tue, 07 Dec 2010 04:31:35 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.lobsterpot.com.au/?p=2812#comment-1448</guid>

					<description><![CDATA[This is Excellent Rob. &#160;Thanks for throwing it together!!]]></description>
			<content:encoded><![CDATA[<p>This is Excellent Rob. &nbsp;Thanks for throwing it together!!</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
