﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / SQL Server 2008 / SQL Server 2008 - General  / how to know Graphical Execution Plans works through xmlcode in sql server? / Latest Posts</title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Wed, 19 Jun 2013 08:52:48 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: how to know Graphical Execution Plans works through xmlcode in sql server?</title><link>http://www.sqlservercentral.com/Forums/Topic1398222-391-1.aspx</link><description>The graphical plans aren't "internal".  They're done in the presentation layer (usually Management Studio) from the XML.If you want to copy that functionality to a different application, you'll have to write code for it.  It's not something SQL Server does, it's something applications do.</description><pubDate>Wed, 19 Dec 2012 09:09:34 GMT</pubDate><dc:creator>GSquared</dc:creator></item><item><title>RE: how to know Graphical Execution Plans works through xmlcode in sql server?</title><link>http://www.sqlservercentral.com/Forums/Topic1398222-391-1.aspx</link><description>[quote][b]Satish Hottur (12/19/2012)[/b][hr]I am trying to findout how it works internally......:crying:[/quote]How what works? The graphical view of the XML file? That's just an SSMS feature, the management tool can interpret the XML plan and display it in a graphical format. Nothing to do with SQL Server itself.What are you trying to figure out here?</description><pubDate>Wed, 19 Dec 2012 09:06:48 GMT</pubDate><dc:creator>GilaMonster</dc:creator></item><item><title>RE: how to know Graphical Execution Plans works through xmlcode in sql server?</title><link>http://www.sqlservercentral.com/Forums/Topic1398222-391-1.aspx</link><description>The XML name space in the XML is &amp;lt;ShowPlanXML xmlns="http://schemas.microsoft.com/sqlserver/2004/07/showplan".....&amp;gt;  so it knows that its a query plan and then opens it in the correct format</description><pubDate>Wed, 19 Dec 2012 07:13:07 GMT</pubDate><dc:creator>anthony.green</dc:creator></item><item><title>RE: how to know Graphical Execution Plans works through xmlcode in sql server?</title><link>http://www.sqlservercentral.com/Forums/Topic1398222-391-1.aspx</link><description>SELECT [qp].[query_plan]FROM sys.dm_exec_cached_plans cpCROSS APPLY sys.dm_exec_sql_text ( cp.plan_handle ) stCROSS APPLY sys.dm_exec_query_plan ( cp.plan_handle ) qp ;1) If we execute this query it returns result in xml code.2) If we click that xml code it opens executionplan.sqlplan tab in ssms it shows Graphical Execution plan.I am trying to findout how it works internally......:crying:Please let me know if anyone knows.</description><pubDate>Wed, 19 Dec 2012 07:07:15 GMT</pubDate><dc:creator>Satish Hottur</dc:creator></item><item><title>RE: how to know Graphical Execution Plans works through xmlcode in sql server?</title><link>http://www.sqlservercentral.com/Forums/Topic1398222-391-1.aspx</link><description>[url]http://www.sqlservercentral.com/articles/books/94937/[/url]</description><pubDate>Wed, 19 Dec 2012 05:50:35 GMT</pubDate><dc:creator>Sean Pearce</dc:creator></item><item><title>RE: how to know Graphical Execution Plans works through xmlcode in sql server?</title><link>http://www.sqlservercentral.com/Forums/Topic1398222-391-1.aspx</link><description>What specifically are you looking to know and why?</description><pubDate>Wed, 19 Dec 2012 01:27:57 GMT</pubDate><dc:creator>GilaMonster</dc:creator></item><item><title>how to know Graphical Execution Plans works through xmlcode in sql server?</title><link>http://www.sqlservercentral.com/Forums/Topic1398222-391-1.aspx</link><description>i am trying to figureout this issue if anyone know please let me know the process of this..Issue with Graphical Execution plan how it works/internally If we run this below query it returns result in one column in xml code..If we click this link it opens graphical execution plan.SELECT  [st].[objectid] , [st].[text] , [qp].[query_plan] FROM sys.dm_exec_cached_plans cp CROSS APPLY sys.dm_exec_sql_text ( cp.plan_handle ) st CROSS APPLY sys.dm_exec_query_plan ( cp.plan_handle ) qp ;May i know the process how it work it little bit urgent..advanced Thanks for your suggestions.I am waiting for your replies....</description><pubDate>Wed, 19 Dec 2012 01:11:27 GMT</pubDate><dc:creator>Satish Hottur</dc:creator></item></channel></rss>