whoisactive xml execution plan

Dear all,

right now using whoisactive to look at query, but this time I install on new server and the result of it is in xml format and my whoisactive parameter is :

   EXEC sp_WhoIsActive 
     @show_own_spid = 1,
     @get_plans =1 , 
     @get_additional_info =1,
	 @get_transaction_info = 1

Open in new window


how to make the execution plan in graphical format but not in XML format ?
LVL 1
marrowyungSenior Technical architecture (Data)Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

marrowyungSenior Technical architecture (Data)Author Commented:
sometimes it is XML format sometime it is graphical format, why ?
Anthony PerkinsCommented:
>>sometimes it is XML format sometime it is graphical format, why ?<<
The output from sp_whoisactive is always Xml, It cannot be anything else, after all it is returning a result set.  SSMS has the capability of rendering the Xml output as a graphical representation.  Hence your confusion.
marrowyungSenior Technical architecture (Data)Author Commented:
"SSMS has the capability of rendering the Xml output as a graphical representation"

but I watch it using SSMS, what is the problem then ?
10 Tips to Protect Your Business from Ransomware

Did you know that ransomware is the most widespread, destructive malware in the world today? It accounts for 39% of all security breaches, with ransomware gangsters projected to make $11.5B in profits from online extortion by 2019.

Anthony PerkinsCommented:
I have no idea.  I have never had any problem rendering the graphical execution plan from the Xml returned by sp_whoisactive.  I suggest you post the Xml that does not render or at the very least an image describing the problem.

Also, it should be pointed out that Adam is not creating anything new, other than making very clever use of the standard DMVs.
marrowyungSenior Technical architecture (Data)Author Commented:
use I use the xml_notepad to open it up ?
Anthony PerkinsCommented:
Why would you want to do that?  SSMS will render a correctly formatted Xml as a SQL Plan in graphical format.
marrowyungSenior Technical architecture (Data)Author Commented:
Anthony, as I said, some times the whoisactive don't return the graphical plan I am not sure why .
Anthony PerkinsCommented:
And as I stated sp_whoisactive or any DMV is incapable of producing a graphical plan.  Period.

The only thing sp_whoisactive (and the DMVs that it uses) can produce is Xml output in the result set that can be rendered as a graphical representation by SSMS.

Not sure how else to explain this to you.
marrowyungSenior Technical architecture (Data)Author Commented:
ok, but my main concern is, sometimes it can and sometimes it can't ! amazing !

I just ran whoisactive and found one execution plan which suppose to be in graphical format but in XML format now.

<?query_plan --
-- Could not render showplan due to XML data type limitations. 
-- To see the graphical plan save the XML below as a .SQLPLAN file and re-open in SSMS.
--
<ShowPlanXML xmlns="http://schemas.microsoft.com/sqlserver/2004/07/showplan" Version="1.1.1" Build="10.0.5538.0"><BatchSequence><Batch><Statements><StmtSimple StatementText="CREATE PROCEDURE dbo.Vms_sp_bookingmanagement_edit_item_validation &#xd;&#xa;&#x9; @xml         AS XML,  &#xd;&#xa;&#x9; @booking_key VARCHAR(25) =&apos;&apos;,  &#xd;&#xa;&#x9; @userId      AS VARCHAR(30) = &apos;&apos;,  &#xd;&#xa;&#x9; @subgroup_cd AS VARCHAR(6) = &apos;&apos;&#xd;&#xa;&#xd;&#xa;   &#xd;&#xa;/************CHANGE HISTORY*************                          &#xd;&#xa;MODIFIED BY: Louis Fung                          &#xd;&#xa;MODIFIED DATE: 10/16/2013      &#xd;&#xa;DESCRIPTION: Initial REF -- vms_sp_booking_edit_item_validation  &#xd;&#xa;-----------------------------------------------------------------  &#xd;&#xa;MODIFIED BY: Louis Fung                          &#xd;&#xa;MODIFIED DATE: 13/12/2013      &#xd;&#xa;DESCRIPTION:    &#xd;&#xa;-----------------------------------------------------------------  &#xd;&#xa;MODIFIED BY: Louis Fung                          &#xd;&#xa;MODIFIED DATE: 17/01/2014      &#xd;&#xa;DESCRIPTION:   add the validation in MaterialBreakDown   &#xd;&#xa;----------------------------------------------------------------  &#xd;&#xa;MODIFIED BY: Louis Fung                          &#xd;&#xa;MODIFIED DATE: 14/02/2014      &#xd;&#xa;DESCRIPTION:   add the validation to make sure inner carton uom is numeric value  &#xd;&#xa;----------------------------------------------------------------  &#xd;&#xa;MODIFIED BY: Louis Fung                          &#xd;&#xa;MODIFIED DATE: 18/02/2014      &#xd;&#xa;DESCRIPTION:   Auto fill in field GoodsOrigin,manufacturer_cd and  stuffing_location_cd when the value is null or empty  &#xd;&#xa;----------------------------------------------------------------  &#xd;&#xa;MODIFIED BY: Louis Fung                          &#xd;&#xa;MODIFIED DATE: 19/02/2014      &#xd;&#xa;DESCRIPTION:   Remove the validation if the inner carton is 0   &#xd;&#xa;----------------------------------------------------------------  &#xd;&#xa;MODIFIED BY: Louis Fung                          &#xd;&#xa;MODIFIED DATE: 06/01/2014      &#xd;&#xa;DESCRIPTION:  Add validation to check carton is int   &#xd;&#xa;----------------------------------------------------------------  &#xd;&#xa;MODIFIED BY: Franky Chan                         &#xd;&#xa;MODIFIED DATE: 08/18/2014      &#xd;&#xa;DESCRIPTION:  New VOB: Validate manufacturer code /stuffing location code.  &#xd;&#xa;---------------------------------------------------------------- &#xd;&#xa;MODIFIED BY: Louis Fung                         &#xd;&#xa;MODIFIED DATE: 4/20/2015      &#xd;&#xa;DESCRIPTION:  95806 -  replace to 0 if the carton width is not a numeric value &#xd;&#xa;----------------------------------------------------------------   &#xd;&#xa;MODIFIED BY: Louis Fung                         &#xd;&#xa;MODIFIED DATE: 4/21/2015      &#xd;&#xa;DESCRIPTION:  95814  -  replace to 0 if the inner carton length is not a numeric value &#xd;&#xa;----------------------------------------------------------------   &#xd;&#xa; vms_sp_bookingmanagement_update_booking_header  &#xd;&#xa;   &#xd;&#xa; Vms_sp_bookingmanagement_edit_item_validation  &#xd;&#xa; @booking_key =&apos;CTCVANJ30771NB0&apos;,  &#xd;&#xa; @subgroup_cd=&apos;CTC&apos;,  &#xd;&#xa; @xml =&apos;&lt;root&gt;&lt;row&gt;&lt;po&gt;&lt;![CDATA[02629096]]&gt;&lt;/po&gt;&lt;item&gt;&lt;![CDATA[]]&gt;&lt;/item&gt;&lt;po_units&gt;&lt;![CDATA[1056]]&gt;&lt;/po_units&gt;&lt;units&gt;&lt;![CDATA[1056]]&gt;&lt;/units&gt;&lt;units_uom&gt;&lt;![CDATA[EA]]&gt;&lt;/units_uom&gt;&lt;unitsinotherbooking&gt;&lt;![CDATA[0]]&gt;&lt;/unitsinotherbooking&gt;&lt;cartons&gt;&lt;![CDATA[33]&#xd;&#xa;]&gt;&lt;/cartons&gt;&lt;cartons_uom&gt;&lt;![CDATA[CT]]&gt;&lt;/cartons_uom&gt;&lt;inner_cartons&gt;&lt;![CDATA[0]]&gt;&lt;/inner_cartons&gt;&lt;carton_width&gt;&lt;![CDATA[34.500]]&gt;&lt;/carton_width&gt;&lt;carton_height&gt;&lt;![CDATA[32.500]]&gt;&lt;/carton_height&gt;&lt;carton_length&gt;&lt;![CDATA[68.000]]&gt;&lt;/carton_length&gt;&lt;innercartonh&#xd;&#xa;eight&gt;&lt;![CDATA[0.000]]&gt;&lt;/innercartonheight&gt;&lt;innercartonwidth&gt;&lt;![CDATA[0.000]]&gt;&lt;/innercartonwidth&gt;&lt;innercartonlength&gt;&lt;![CDATA[0.000]]&gt;&lt;/innercartonlength&gt;&lt;volume&gt;&lt;![CDATA[2.520]]&gt;&lt;/volume&gt;&lt;volume_uom&gt;&lt;![CDATA[KG]]&gt;&lt;/volume_uom&gt;&lt;weight&gt;&lt;![CDATA[412.50]]&gt;&lt;/w&#xd;&#xa;eight&gt;&lt;weight_uom&gt;&lt;![CDATA[CR]]&gt;&lt;/weight_uom&gt;&lt;fsd&gt;&lt;![CDATA[10/25/2013 12:00:00 AM]]&gt;&lt;/fsd&gt;&lt;est_rcvd_date&gt;&lt;![CDATA[10/21/2013 12:00:00 AM]]&gt;&lt;/est_rcvd_date&gt;&lt;pod&gt;&lt;![CDATA[VAN]]&gt;&lt;/pod&gt;&lt;freezable&gt;&lt;![CDATA[N]]&gt;&lt;/freezable&gt;&lt;pd_item_desc&gt;&lt;![CDATA[MC INFLATION GU&#xd;&#xa;N]]&gt;&lt;/pd_item_desc&gt;&lt;cargo_description&gt;&lt;![CDATA[]]&gt;&lt;/cargo_description&gt;&lt;carrieritemdescription&gt;&lt;![CDATA[INFLATING GUN]]&gt;&lt;/carrieritemdescription&gt;&lt;manufacturername&gt;&lt;![CDATA[NINGBO STEED TOOLS CO.,LTD]]&gt;&lt;/manufacturername&gt;&lt;stuffinglocationname&gt;&lt;![CDATA[AIR H&#xd;&#xa;OSE REEL]]&gt;&lt;/stuffinglocatio" StatementId="1" StatementCompId="5" StatementType="INSERT" StatementSubTreeCost="2670.4" StatementEstRows="200" StatementOptmLevel="FULL" QueryHash="0x241FD02973E4F01A" QueryPlanHash="0xB00AE8916B066E82"><StatementSetOptions QUOTED_IDENTIFIER="true" ARITHABORT="false" CONCAT_NULL_YIELDS_NULL="true" ANSI_NULLS="true" ANSI_PADDING="true" ANSI_WARNINGS="true" NUMERIC_ROUNDABORT="false"/><QueryPlan CachedPlanSize="1752" CompileTime="460" CompileCPU="460" CompileMemory="29584">
<RelOp NodeId="0" PhysicalOp="Table Insert" LogicalOp="Insert" EstimateRows="200" EstimateIO="0.074341" EstimateCPU="0.0002" AvgRowSize="9" EstimatedTotalSubtreeCost="2670.4" Parallel="0" EstimateRebinds="0" EstimateRewinds="0"><OutputList/><Update DMLRequestSort="0"><Object Table="[@TMPUPDATE]"/><SetPredicate><ScalarOperator ScalarString="[SERIAL_NO] = [Expr1022],[PO] = [Expr1037],[ITEM] = [Expr1052],[COLOR] = [Expr1067],[SIZE] = [Expr1082],[CARTONS] = [Expr1097],[CARTONS_UOM] = [Expr1112],[UNITS] = [Expr1141],[UNITS_UOM] = [Expr1156],[VOLUME] = [Expr1185],[VOLUME_UOM] = [Expr1200],[WEIGHT] = [Expr1229],[WEIGHT_UOM] = [Expr1244],[CARTON_NUMBER] = [Expr1259],[CARTON_LENGTH] = [Expr1288],[CARTON_HEIGHT] = [Expr1317],[CARTON_WIDTH] = [Expr1346],[CONTAINER_NO] = [Expr1361],[CONTAINER_NO_TEXT] = [Expr1376],[CONTAINER_SIZE] = [Expr1391],[manufacturer_cd] = [Expr1406],[stuffing_location_cd] = [Expr1421],[importer_of_record] = [Expr1436],[consignee_number] = [Expr1451],[htsus] = [Expr1466],[ship_to_location] = [Expr1481],[ItemDescription] = [Expr1496],[CarrierItemDescription] = [Expr1511],[InnerCartons] = [Expr1526],[InnerCartonLength] = [Expr1555],[InnerCartonLengthUOM] = [Expr1570],[InnerCartonWidth] = [Expr1599],[InnerCartonWidthUOM] = [Expr1614],[InnerCartonHeight] = [Expr1643],[InnerCartonHeightUOM] = [Expr1658],[GoodsOrigin] = [Expr1673],[ManufactureDate] = [Expr1688],[TrackingLabel] = [Expr1703],[MaterialBreakDown] = [Expr1718],[misc_inner_cartons] = [Expr1733],[units_per_set] = [Expr1748]"><ScalarExpressionList><ScalarOperator><MultipleAssign><Assign><ColumnReference Column="SERIAL_NO"/><ScalarOperator><Identifier><ColumnReference Column="Expr1022"/></Identifier></ScalarOperator></Assign><Assign><ColumnReference Column="PO"/><ScalarOperator><Identifier><ColumnReference Column="Expr1037"/></Identifier></ScalarOperator></Assign><Assign><ColumnReference Column="ITEM"/><ScalarOperator><Identifier><ColumnReference Column="Expr1052"/></Identifier></ScalarOperator></Assign><Assign><ColumnReference Column="COLOR"/><ScalarOperator><Identifier><ColumnReference Column="Expr1067"/></Identifier></ScalarOperator></Assign><Assign><ColumnReference Column="SIZE"/><ScalarOperator><Identifier><ColumnReference Column="Expr1082"/></Identifier></ScalarOperator></Assign><Assign><ColumnReference Column="CARTONS"/><ScalarOperator><Identifier><ColumnReference Column="Expr1097"/></Identifier></ScalarOperator></Assign><Assign><ColumnReference Column="CARTONS_UOM"/><ScalarOperator><Identifier><ColumnReference Column="Expr1112"/></Identifier></ScalarOperator></Assign><Assign><ColumnReference Column="UNITS"/><ScalarOperator><Identifier><ColumnReference Column="Expr1141"/></Identifier></ScalarOperator></Assign><Assign><ColumnReference Column="UNITS_UOM"/><ScalarOperator><Identifier><ColumnReference Column="Expr1156"/></Identifier></ScalarOperator></Assign><Assign><ColumnReference Column="VOLUME"/><ScalarOperator><Identifier><ColumnReference Column="Expr1185"/></Identifier></ScalarOperator></Assign><Assign><ColumnReference Column="VOLUME_UOM"/><ScalarOperator><Identifier><ColumnReference Column="Expr1200"/></Identifier></ScalarOperator></Assign><Assign><ColumnReference Column="WEIGHT"/><ScalarOperator><Identifier><ColumnReference Column="Expr1229"/></Identifier></ScalarOperator></Assign><Assign><ColumnReference Column="WEIGHT_UOM"/><ScalarOperator><Identifier><ColumnReference Column="Expr1244"/></Identifier></ScalarOperator></Assign><Assign><ColumnReference Column="CARTON_NUMBER"/><ScalarOperator><Identifier><ColumnReference Column="Expr1259"/></Identifier></ScalarOperator></Assign><Assign><ColumnReference Column="CARTON_LENGTH"/><ScalarOperator><Identifier><ColumnReference Column="Expr1288"/></Identifier></ScalarOperator></Assign><Assign><ColumnReference Column="CARTON_HEIGHT"/><ScalarOperator><Identifier><ColumnReference Column="Expr1317"/></Identifier></ScalarOperator></Assign><Assign><ColumnReference Column="CARTON_WIDTH"/><ScalarOperator><Identifier><ColumnReference Column="Expr1346"/></Identifier></ScalarOperator></Assign><Assign><ColumnReference Column="CONTAINER_NO"/><ScalarOperator><Identifier><ColumnReference Column="Expr1361"/></Identifier></ScalarOperator></Assign><Assign><ColumnReference Column="CONTAINER_NO_TEXT"/><ScalarOperator><Identifier><ColumnReference Column="Expr1376"/></Identifier></ScalarOperator></Assign><Assign><ColumnReference Column="CONTAINER_SIZE"/><ScalarOperator><Identifier><ColumnReference Column="Expr1391"/></Identifier></ScalarOperator></Assign><Assign><ColumnReference Column="manufacturer_cd"/><ScalarOperator><Identifier><ColumnReference Column="Expr1406"/></Identifier></ScalarOperator></Assign><Assign><ColumnReference Column="stuffing_location_cd"/><ScalarOperator><Identifier><ColumnReference Column="Expr1421"/></Identifier></ScalarOperator></Assign><Assign><ColumnReference Column="importer_of_record"/><ScalarOperator><Identifier><ColumnReference Column="Expr1436"/></Identifier></ScalarOperator></Assign><Assign><ColumnReference Column="consignee_number"/><ScalarOperator><Identifier><ColumnReference Column="Expr1451"/></Identifier></ScalarOperator></Assign><Assign><ColumnReference Column="htsus"/><ScalarOperator><Identifier><ColumnReference Column="Expr1466"/></Identifier></ScalarOperator></Assign><Assign><ColumnReference Column="ship_to_location"/><ScalarOperator><Identifier><ColumnReference Column="Expr1481"/></Identifier></ScalarOperator></Assign><Assign><ColumnReference Column="ItemDescription"/><ScalarOperator><Identifier><ColumnReference Column="Expr1496"/></Identifier></ScalarOperator></Assign><Assign><ColumnReference Column="CarrierItemDescription"/><ScalarOperator><Identifier><ColumnReference Column="Expr1511"/></Identifier></ScalarOperator></Assign><Assign><ColumnReference Column="InnerCartons"/><ScalarOperator><Identifier><ColumnReference Column="Expr1526"/></Identifier></ScalarOperator></Assign><Assign><ColumnReference Column="InnerCartonLength"/><ScalarOperator><Identifier><ColumnReference Column="Expr1555"/></Identifier></ScalarOperator></Assign><Assign><ColumnReference Column="InnerCartonLengthUOM"/><ScalarOperator><Identifier><ColumnReference Column="Expr1570"/></Identifier></ScalarOperator></Assign><Assign><ColumnReference Column="InnerCartonWidth"/><ScalarOperator><Identifier><ColumnReference Column="Expr1599"/></Identifier></ScalarOperator></Assign><Assign><ColumnReference Column="InnerCartonWidthUOM"/><ScalarOperator><Identifier><ColumnReference Column="Expr1614"/></Identifier></ScalarOperator></Assign><Assign><ColumnReference Column="InnerCartonHeight"/><ScalarOperator><Identifier><ColumnReference Column="Expr1643"/></Identifier></ScalarOperator></Assign><Assign><ColumnReference Column="InnerCartonHeightUOM"/><ScalarOperator><Identifier><ColumnReference Column="Expr1658"/></Identifier></ScalarOperator></Assign><Assign><ColumnReference Column="GoodsOrigin"/><ScalarOperator><Identifier><ColumnReference Column="Expr1673"/></Identifier></ScalarOperator></Assign><Assign><ColumnReference Column="ManufactureDate"/><ScalarOperator><Identifier><ColumnReference Column="Expr1688"/></Identifier></ScalarOperator></Assign><Assign><ColumnReference Column="TrackingLabel"/><ScalarOperator><Identifier><ColumnReference Column="Expr1703"/></Identifier></ScalarOperator></Assign><Assign><ColumnReference Column="MaterialBreakDown"/><ScalarOperator><Identifier><ColumnReference Column="Expr1718"/></Identifier></ScalarOperator></Assign><Assign><ColumnReference Column="misc_inner_cartons"/><ScalarOperator><Identifier><ColumnReference Column="Expr1733"/></Identifier></ScalarOperator></Assign><Assign><ColumnReference Column="units_per_set"/><ScalarOperator><Identifier><ColumnReference Column="Expr1748"/></Identifier></ScalarOperator></Assign></MultipleAssign></ScalarOperator></ScalarExpressionList></ScalarOperator></SetPredicate>
<RelOp NodeId="1" PhysicalOp="Compute Scalar" LogicalOp="Compute Scalar" EstimateRows="200" EstimateIO="0" EstimateCPU="2e-005" AvgRowSize="431" EstimatedTotalSubtreeCost="2670.33" Parallel="0" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Column="Expr1022"/><ColumnReference Column="Expr1037"/><ColumnReference Column="Expr1052"/><ColumnReference Column="Expr1067"/><ColumnReference Column="Expr1082"/><ColumnReference Column="Expr1097"/><ColumnReference Column="Expr1112"/><ColumnReference Column="Expr1141"/><ColumnReference Column="Expr1156"/><ColumnReference Column="Expr1185"/><ColumnReference Column="Expr1200"/><ColumnReference Column="Expr1229"/><ColumnReference Column="Expr1244"/><ColumnReference Column="Expr1259"/><ColumnReference Column="Expr1288"/><ColumnReference Column="Expr1317"/><ColumnReference Column="Expr1346"/><ColumnReference Column="Expr1361"/><ColumnReference Column="Expr1376"/><ColumnReference Column="Expr1391"/><ColumnReference Column="Expr1406"/><ColumnReference Column="Expr1421"/><ColumnReference Column="Expr1436"/><ColumnReference Column="Expr1451"/><ColumnReference Column="Expr1466"/><ColumnReference Column="Expr1481"/><ColumnReference Column="Expr1496"/><ColumnReference Column="Expr1511"/><ColumnReference Column="Expr1526"/><ColumnReference Column="Expr1555"/><ColumnReference Column="Expr1570"/><ColumnReference Column="Expr1599"/><ColumnReference Column="Expr1614"/><ColumnReference Column="Expr1643"/><ColumnReference Column="Expr1658"/><ColumnReference Column="Expr1673"/><ColumnReference Column="Expr1688"/><ColumnReference Column="Expr1703"/><ColumnReference Column="Expr1718"/><ColumnReference Column="Expr1733"/><ColumnReference Column="Expr1748"/></OutputList><ComputeScalar><DefinedValues><DefinedValue><ColumnReference Column="Expr1022"/><ScalarOperator ScalarString="[Expr1021]"><Identifier><ColumnReference Column="Expr1021"/></Identifier></ScalarOperator></DefinedValue><DefinedValue><ColumnReference Column="Expr1037"/><ScalarOperator ScalarString="[Expr1036]"><Identifier><ColumnReference Column="Expr1036"/></Identifier></ScalarOperator></DefinedValue><DefinedValue><ColumnReference Column="Expr1052"/><ScalarOperator ScalarString="[Expr1051]"><Identifier><ColumnReference Column="Expr1051"/></Identifier></ScalarOperator></DefinedValue><DefinedValue><ColumnReference Column="Expr1067"/><ScalarOperator ScalarString="[Expr1066]"><Identifier><ColumnReference Column="Expr1066"/></Identifier></ScalarOperator></DefinedValue><DefinedValue><ColumnReference Column="Expr1082"/><ScalarOperator ScalarString="[Expr1081]"><Identifier><ColumnReference Column="Expr1081"/></Identifier></ScalarOperator></DefinedValue><DefinedValue><ColumnReference Column="Expr1097"/><ScalarOperator ScalarString="[Expr1096]"><Identifier><ColumnReference Column="Expr1096"/></Identifier></ScalarOperator></DefinedValue><DefinedValue><ColumnReference Column="Expr1112"/><ScalarOperator ScalarString="CONVERT_IMPLICIT(varchar(5),[Expr1111],0)"><Convert DataType="varchar" Length="5" Style="0" Implicit="1"><ScalarOperator><Identifier><ColumnReference Column="Expr1111"/></Identifier></ScalarOperator></Convert></ScalarOperator></DefinedValue><DefinedValue><ColumnReference Column="Expr1141"/><ScalarOperator ScalarString="CASE WHEN isnull([Expr1126],&apos;&apos;)=&apos;&apos; THEN (0) ELSE CONVERT(int,isnull([Expr1140],&apos;0&apos;),0) END"><IF><Condition><ScalarOperator><Compare CompareOp="EQ"><ScalarOperator><Intrinsic FunctionName="isnull"><ScalarOperator><Identifier><ColumnReference Column="Expr1126"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="&apos;&apos;"/></ScalarOperator></Intrinsic></ScalarOperator><ScalarOperator><Const ConstValue="&apos;&apos;"/></ScalarOperator></Compare></ScalarOperator></Condition><Then><ScalarOperator><Const ConstValue="(0)"/></ScalarOperator></Then><Else><ScalarOperator><Convert DataType="int" Style="0" Implicit="0"><ScalarOperator><Intrinsic FunctionName="isnull"><ScalarOperator><Identifier><ColumnReference Column="Expr1140"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="&apos;0&apos;"/></ScalarOperator></Intrinsic></ScalarOperator></Convert></ScalarOperator></Else></IF></ScalarOperator></DefinedValue><DefinedValue><ColumnReference Column="Expr1156"/><ScalarOperator ScalarString="CONVERT_IMPLICIT(varchar(5),[Expr1155],0)"><Convert DataType="varchar" Length="5" Style="0" Implicit="1"><ScalarOperator><Identifier><ColumnReference Column="Expr1155"/></Identifier></ScalarOperator></Convert></ScalarOperator></DefinedValue><DefinedValue><ColumnReference Column="Expr1185"/><ScalarOperator ScalarString="CONVERT_IMPLICIT(numeric(9,3),CASE WHEN isnull([Expr1170],&apos;&apos;)=&apos;&apos; THEN (0.00) ELSE CONVERT(numeric(10,2),isnull([Expr1184],&apos;0&apos;),0) END,0)"><Convert DataType="numeric" Precision="9" Scale="3" Style="0" Implicit="1"><ScalarOperator><IF><Condition><ScalarOperator><Compare CompareOp="EQ"><ScalarOperator><Intrinsic FunctionName="isnull"><ScalarOperator><Identifier><ColumnReference Column="Expr1170"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="&apos;&apos;"/></ScalarOperator></Intrinsic></ScalarOperator><ScalarOperator><Const ConstValue="&apos;&apos;"/></ScalarOperator></Compare></ScalarOperator></Condition><Then><ScalarOperator><Const ConstValue="(0.00)"/></ScalarOperator></Then><Else><ScalarOperator><Convert DataType="numeric" Precision="10" Scale="2" Style="0" Implicit="0"><ScalarOperator><Intrinsic FunctionName="isnull"><ScalarOperator><Identifier><ColumnReference Column="Expr1184"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="&apos;0&apos;"/></ScalarOperator></Intrinsic></ScalarOperator></Convert></ScalarOperator></Else></IF></ScalarOperator></Convert></ScalarOperator></DefinedValue><DefinedValue><ColumnReference Column="Expr1200"/><ScalarOperator ScalarString="[Expr1199]"><Identifier><ColumnReference Column="Expr1199"/></Identifier></ScalarOperator></DefinedValue><DefinedValue><ColumnReference Column="Expr1229"/><ScalarOperator ScalarString="CONVERT_IMPLICIT(numeric(10,2),CASE WHEN isnull([Expr1214],&apos;&apos;)=&apos;&apos; THEN (0.000) ELSE CONVERT(numeric(9,3),isnull([Expr1228],&apos;0&apos;),0) END,0)"><Convert DataType="numeric" Precision="10" Scale="2" Style="0" Implicit="1"><ScalarOperator><IF><Condition><ScalarOperator><Compare CompareOp="EQ"><ScalarOperator><Intrinsic FunctionName="isnull"><ScalarOperator><Identifier><ColumnReference Column="Expr1214"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="&apos;&apos;"/></ScalarOperator></Intrinsic></ScalarOperator><ScalarOperator><Const ConstValue="&apos;&apos;"/></ScalarOperator></Compare></ScalarOperator></Condition><Then><ScalarOperator><Const ConstValue="(0.000)"/></ScalarOperator></Then><Else><ScalarOperator><Convert DataType="numeric" Precision="9" Scale="3" Style="0" Implicit="0"><ScalarOperator><Intrinsic FunctionName="isnull"><ScalarOperator><Identifier><ColumnReference Column="Expr1228"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="&apos;0&apos;"/></ScalarOperator></Intrinsic></ScalarOperator></Convert></ScalarOperator></Else></IF></ScalarOperator></Convert></ScalarOperator></DefinedValue><DefinedValue><ColumnReference Column="Expr1244"/><ScalarOperator ScalarString="CONVERT_IMPLICIT(varchar(5),[Expr1243],0)"><Convert DataType="varchar" Length="5" Style="0" Implicit="1"><ScalarOperator><Identifier><ColumnReference Column="Expr1243"/></Identifier></ScalarOperator></Convert></ScalarOperator></DefinedValue><DefinedValue><ColumnReference Column="Expr1259"/><ScalarOperator ScalarString="[Expr1258]"><Identifier><ColumnReference Column="Expr1258"/></Identifier></ScalarOperator></DefinedValue><DefinedValue><ColumnReference Column="Expr1288"/><ScalarOperator ScalarString="CONVERT_IMPLICIT(numeric(8,3),CASE WHEN isnumeric([Expr1273])=(0) THEN (0.000) ELSE CONVERT(numeric(9,3),isnull([Expr1287],&apos;0&apos;),0) END,0)"><Convert DataType="numeric" Precision="8" Scale="3" Style="0" Implicit="1"><ScalarOperator><IF><Condition><ScalarOperator><Compare CompareOp="EQ"><ScalarOperator><Intrinsic FunctionName="isnumeric"><ScalarOperator><Identifier><ColumnReference Column="Expr1273"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator><ScalarOperator><Const ConstValue="(0)"/></ScalarOperator></Compare></ScalarOperator></Condition><Then><ScalarOperator><Const ConstValue="(0.000)"/></ScalarOperator></Then><Else><ScalarOperator><Convert DataType="numeric" Precision="9" Scale="3" Style="0" Implicit="0"><ScalarOperator><Intrinsic FunctionName="isnull"><ScalarOperator><Identifier><ColumnReference Column="Expr1287"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="&apos;0&apos;"/></ScalarOperator></Intrinsic></ScalarOperator></Convert></ScalarOperator></Else></IF></ScalarOperator></Convert></ScalarOperator></DefinedValue><DefinedValue><ColumnReference Column="Expr1317"/><ScalarOperator ScalarString="CONVERT_IMPLICIT(numeric(8,3),CASE WHEN isnumeric([Expr1302])=(0) THEN (0.000) ELSE CONVERT(numeric(9,3),isnull([Expr1316],&apos;0&apos;),0) END,0)"><Convert DataType="numeric" Precision="8" Scale="3" Style="0" Implicit="1"><ScalarOperator><IF><Condition><ScalarOperator><Compare CompareOp="EQ"><ScalarOperator><Intrinsic FunctionName="isnumeric"><ScalarOperator><Identifier><ColumnReference Column="Expr1302"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator><ScalarOperator><Const ConstValue="(0)"/></ScalarOperator></Compare></ScalarOperator></Condition><Then><ScalarOperator><Const ConstValue="(0.000)"/></ScalarOperator></Then><Else><ScalarOperator><Convert DataType="numeric" Precision="9" Scale="3" Style="0" Implicit="0"><ScalarOperator><Intrinsic FunctionName="isnull"><ScalarOperator><Identifier><ColumnReference Column="Expr1316"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="&apos;0&apos;"/></ScalarOperator></Intrinsic></ScalarOperator></Convert></ScalarOperator></Else></IF></ScalarOperator></Convert></ScalarOperator></DefinedValue><DefinedValue><ColumnReference Column="Expr1346"/><ScalarOperator ScalarString="CONVERT_IMPLICIT(numeric(8,3),CASE WHEN isnumeric([Expr1331])=(0) THEN (0.000) ELSE CONVERT(numeric(9,3),isnull([Expr1345],&apos;0&apos;),0) END,0)"><Convert DataType="numeric" Precision="8" Scale="3" Style="0" Implicit="1"><ScalarOperator><IF><Condition><ScalarOperator><Compare CompareOp="EQ"><ScalarOperator><Intrinsic FunctionName="isnumeric"><ScalarOperator><Identifier><ColumnReference Column="Expr1331"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator><ScalarOperator><Const ConstValue="(0)"/></ScalarOperator></Compare></ScalarOperator></Condition><Then><ScalarOperator><Const ConstValue="(0.000)"/></ScalarOperator></Then><Else><ScalarOperator><Convert DataType="numeric" Precision="9" Scale="3" Style="0" Implicit="0"><ScalarOperator><Intrinsic FunctionName="isnull"><ScalarOperator><Identifier><ColumnReference Column="Expr1345"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="&apos;0&apos;"/></ScalarOperator></Intrinsic></ScalarOperator></Convert></ScalarOperator></Else></IF></ScalarOperator></Convert></ScalarOperator></DefinedValue><DefinedValue><ColumnReference Column="Expr1361"/><ScalarOperator ScalarString="[Expr1360]"><Identifier><ColumnReference Column="Expr1360"/></Identifier></ScalarOperator></DefinedValue><DefinedValue><ColumnReference Column="Expr1376"/><ScalarOperator ScalarString="[Expr1375]"><Identifier><ColumnReference Column="Expr1375"/></Identifier></ScalarOperator></DefinedValue><DefinedValue><ColumnReference Column="Expr1391"/><ScalarOperator ScalarString="[Expr1390]"><Identifier><ColumnReference Column="Expr1390"/></Identifier></ScalarOperator></DefinedValue><DefinedValue><ColumnReference Column="Expr1406"/><ScalarOperator ScalarString="[Expr1405]"><Identifier><ColumnReference Column="Expr1405"/></Identifier></ScalarOperator></DefinedValue><DefinedValue><ColumnReference Column="Expr1421"/><ScalarOperator ScalarString="[Expr1420]"><Identifier><ColumnReference Column="Expr1420"/></Identifier></ScalarOperator></DefinedValue><DefinedValue><ColumnReference Column="Expr1436"/><ScalarOperator ScalarString="[Expr1435]"><Identifier><ColumnReference Column="Expr1435"/></Identifier></ScalarOperator></DefinedValue><DefinedValue><ColumnReference Column="Expr1451"/><ScalarOperator ScalarString="[Expr1450]"><Identifier><ColumnReference Column="Expr1450"/></Identifier></ScalarOperator></DefinedValue><DefinedValue><ColumnReference Column="Expr1466"/><ScalarOperator ScalarString="[Expr1465]"><Identifier><ColumnReference Column="Expr1465"/></Identifier></ScalarOperator></DefinedValue><DefinedValue><ColumnReference Column="Expr1481"/><ScalarOperator ScalarString="[Expr1480]"><Identifier><ColumnReference Column="Expr1480"/></Identifier></ScalarOperator></DefinedValue><DefinedValue><ColumnReference Column="Expr1496"/><ScalarOperator ScalarString="[Expr1495]"><Identifier><ColumnReference Column="Expr1495"/></Identifier></ScalarOperator></DefinedValue><DefinedValue><ColumnReference Column="Expr1511"/><ScalarOperator ScalarString="[Expr1510]"><Identifier><ColumnReference Column="Expr1510"/></Identifier></ScalarOperator></DefinedValue><DefinedValue><ColumnReference Column="Expr1526"/><ScalarOperator ScalarString="[Expr1525]"><Identifier><ColumnReference Column="Expr1525"/></Identifier></ScalarOperator></DefinedValue><DefinedValue><ColumnReference Column="Expr1555"/><ScalarOperator ScalarString="CASE WHEN isnumeric([Expr1540])=(0) THEN (0.000) ELSE CONVERT(numeric(8,3),isnull([Expr1554],&apos;0&apos;),0) END"><IF><Condition><ScalarOperator><Compare CompareOp="EQ"><ScalarOperator><Intrinsic FunctionName="isnumeric"><ScalarOperator><Identifier><ColumnReference Column="Expr1540"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator><ScalarOperator><Const ConstValue="(0)"/></ScalarOperator></Compare></ScalarOperator></Condition><Then><ScalarOperator><Const ConstValue="(0.000)"/></ScalarOperator></Then><Else><ScalarOperator><Convert DataType="numeric" Precision="8" Scale="3" Style="0" Implicit="0"><ScalarOperator><Intrinsic FunctionName="isnull"><ScalarOperator><Identifier><ColumnReference Column="Expr1554"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="&apos;0&apos;"/></ScalarOperator></Intrinsic></ScalarOperator></Convert></ScalarOperator></Else></IF></ScalarOperator></DefinedValue><DefinedValue><ColumnReference Column="Expr1570"/><ScalarOperator ScalarString="[Expr1569]"><Identifier><ColumnReference Column="Expr1569"/></Identifier></ScalarOperator></DefinedValue><DefinedValue><ColumnReference Column="Expr1599"/><ScalarOperator ScalarString="CASE WHEN isnumeric([Expr1584])=(0) THEN (0.000) ELSE CONVERT(numeric(8,3),isnull([Expr1598],&apos;0&apos;),0) END"><IF><Condition><ScalarOperator><Compare CompareOp="EQ"><ScalarOperator><Intrinsic FunctionName="isnumeric"><ScalarOperator><Identifier><ColumnReference Column="Expr1584"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator><ScalarOperator><Const ConstValue="(0)"/></ScalarOperator></Compare></ScalarOperator></Condition><Then><ScalarOperator><Const ConstValue="(0.000)"/></ScalarOperator></Then><Else><ScalarOperator><Convert DataType="numeric" Precision="8" Scale="3" Style="0" Implicit="0"><ScalarOperator><Intrinsic FunctionName="isnull"><ScalarOperator><Identifier><ColumnReference Column="Expr1598"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="&apos;0&apos;"/></ScalarOperator></Intrinsic></ScalarOperator></Convert></ScalarOperator></Else></IF></ScalarOperator></DefinedValue><DefinedValue><ColumnReference Column="Expr1614"/><ScalarOperator ScalarString="[Expr1613]"><Identifier><ColumnReference Column="Expr1613"/></Identifier></ScalarOperator></DefinedValue><DefinedValue><ColumnReference Column="Expr1643"/><ScalarOperator ScalarString="CASE WHEN isnumeric([Expr1628])=(0) THEN (0.000) ELSE CONVERT(numeric(8,3),isnull([Expr1642],&apos;0&apos;),0) END"><IF><Condition><ScalarOperator><Compare CompareOp="EQ"><ScalarOperator><Intrinsic FunctionName="isnumeric"><ScalarOperator><Identifier><ColumnReference Column="Expr1628"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator><ScalarOperator><Const ConstValue="(0)"/></ScalarOperator></Compare></ScalarOperator></Condition><Then><ScalarOperator><Const ConstValue="(0.000)"/></ScalarOperator></Then><Else><ScalarOperator><Convert DataType="numeric" Precision="8" Scale="3" Style="0" Implicit="0"><ScalarOperator><Intrinsic FunctionName="isnull"><ScalarOperator><Identifier><ColumnReference Column="Expr1642"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="&apos;0&apos;"/></ScalarOperator></Intrinsic></ScalarOperator></Convert></ScalarOperator></Else></IF></ScalarOperator></DefinedValue><DefinedValue><ColumnReference Column="Expr1658"/><ScalarOperator ScalarString="[Expr1657]"><Identifier><ColumnReference Column="Expr1657"/></Identifier></ScalarOperator></DefinedValue><DefinedValue><ColumnReference Column="Expr1673"/><ScalarOperator ScalarString="CONVERT_IMPLICIT(varchar(20),[Expr1672],0)"><Convert DataType="varchar" Length="20" Style="0" Implicit="1"><ScalarOperator><Identifier><ColumnReference Column="Expr1672"/></Identifier></ScalarOperator></Convert></ScalarOperator></DefinedValue><DefinedValue><ColumnReference Column="Expr1688"/><ScalarOperator ScalarString="[Expr1687]"><Identifier><ColumnReference Column="Expr1687"/></Identifier></ScalarOperator></DefinedValue><DefinedValue><ColumnReference Column="Expr1703"/><ScalarOperator ScalarString="[Expr1702]"><Identifier><ColumnReference Column="Expr1702"/></Identifier></ScalarOperator></DefinedValue><DefinedValue><ColumnReference Column="Expr1718"/><ScalarOperator ScalarString="[Expr1717]"><Identifier><ColumnReference Column="Expr1717"/></Identifier></ScalarOperator></DefinedValue><DefinedValue><ColumnReference Column="Expr1733"/><ScalarOperator ScalarString="CONVERT_IMPLICIT(varchar(25),[Expr1732],0)"><Convert DataType="varchar" Length="25" Style="0" Implicit="1"><ScalarOperator><Identifier><ColumnReference Column="Expr1732"/></Identifier></ScalarOperator></Convert></ScalarOperator></DefinedValue><DefinedValue><ColumnReference Column="Expr1748"/><ScalarOperator ScalarString="CONVERT_IMPLICIT(varchar(25),[Expr1747],0)"><Convert DataType="varchar" Length="25" Style="0" Implicit="1"><ScalarOperator><Identifier><ColumnReference Column="Expr1747"/></Identifier></ScalarOperator></Convert></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="2" PhysicalOp="Nested Loops" LogicalOp="Inner Join" EstimateRows="200" EstimateIO="0" EstimateCPU="0.000836" AvgRowSize="598" EstimatedTotalSubtreeCost="2670.33" Parallel="0" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Column="Expr1021"/><ColumnReference Column="Expr1036"/><ColumnReference Column="Expr1051"/><ColumnReference Column="Expr1066"/><ColumnReference Column="Expr1081"/><ColumnReference Column="Expr1096"/><ColumnReference Column="Expr1111"/><ColumnReference Column="Expr1126"/><ColumnReference Column="Expr1140"/><ColumnReference Column="Expr1155"/><ColumnReference Column="Expr1170"/><ColumnReference Column="Expr1184"/><ColumnReference Column="Expr1199"/><ColumnReference Column="Expr1214"/><ColumnReference Column="Expr1228"/><ColumnReference Column="Expr1243"/><ColumnReference Column="Expr1258"/><ColumnReference Column="Expr1273"/><ColumnReference Column="Expr1287"/><ColumnReference Column="Expr1302"/><ColumnReference Column="Expr1316"/><ColumnReference Column="Expr1331"/><ColumnReference Column="Expr1345"/><ColumnReference Column="Expr1360"/><ColumnReference Column="Expr1375"/><ColumnReference Column="Expr1390"/><ColumnReference Column="Expr1405"/><ColumnReference Column="Expr1420"/><ColumnReference Column="Expr1435"/><ColumnReference Column="Expr1450"/><ColumnReference Column="Expr1465"/><ColumnReference Column="Expr1480"/><ColumnReference Column="Expr1495"/><ColumnReference Column="Expr1510"/><ColumnReference Column="Expr1525"/><ColumnReference Column="Expr1540"/><ColumnReference Column="Expr1554"/><ColumnReference Column="Expr1569"/><ColumnReference Column="Expr1584"/><ColumnReference Column="Expr1598"/><ColumnReference Column="Expr1613"/><ColumnReference Column="Expr1628"/><ColumnReference Column="Expr1642"/><ColumnReference Column="Expr1657"/><ColumnReference Column="Expr1672"/><ColumnReference Column="Expr1687"/><ColumnReference Column="Expr1702"/><ColumnReference Column="Expr1717"/><ColumnReference Column="Expr1732"/><ColumnReference Column="Expr1747"/></OutputList><NestedLoops Optimized="0"><OuterReferences><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></OuterReferences>
<RelOp NodeId="3" PhysicalOp="Nested Loops" LogicalOp="Inner Join" EstimateRows="200" EstimateIO="0" EstimateCPU="0.000836" AvgRowSize="587" EstimatedTotalSubtreeCost="2616.94" Parallel="0" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1021"/><ColumnReference Column="Expr1036"/><ColumnReference Column="Expr1051"/><ColumnReference Column="Expr1066"/><ColumnReference Column="Expr1081"/><ColumnReference Column="Expr1096"/><ColumnReference Column="Expr1111"/><ColumnReference Column="Expr1126"/><ColumnReference Column="Expr1140"/><ColumnReference Column="Expr1155"/><ColumnReference Column="Expr1170"/><ColumnReference Column="Expr1184"/><ColumnReference Column="Expr1199"/><ColumnReference Column="Expr1214"/><ColumnReference Column="Expr1228"/><ColumnReference Column="Expr1243"/><ColumnReference Column="Expr1258"/><ColumnReference Column="Expr1273"/><ColumnReference Column="Expr1287"/><ColumnReference Column="Expr1302"/><ColumnReference Column="Expr1316"/><ColumnReference Column="Expr1331"/><ColumnReference Column="Expr1345"/><ColumnReference Column="Expr1360"/><ColumnReference Column="Expr1375"/><ColumnReference Column="Expr1390"/><ColumnReference Column="Expr1405"/><ColumnReference Column="Expr1420"/><ColumnReference Column="Expr1435"/><ColumnReference Column="Expr1450"/><ColumnReference Column="Expr1465"/><ColumnReference Column="Expr1480"/><ColumnReference Column="Expr1495"/><ColumnReference Column="Expr1510"/><ColumnReference Column="Expr1525"/><ColumnReference Column="Expr1540"/><ColumnReference Column="Expr1554"/><ColumnReference Column="Expr1569"/><ColumnReference Column="Expr1584"/><ColumnReference Column="Expr1598"/><ColumnReference Column="Expr1613"/><ColumnReference Column="Expr1628"/><ColumnReference Column="Expr1642"/><ColumnReference Column="Expr1657"/><ColumnReference Column="Expr1672"/><ColumnReference Column="Expr1687"/><ColumnReference Column="Expr1702"/><ColumnReference Column="Expr1717"/><ColumnReference Column="Expr1732"/></OutputList><NestedLoops Optimized="0"><OuterReferences><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></OuterReferences>
<RelOp NodeId="4" PhysicalOp="Nested Loops" LogicalOp="Inner Join" EstimateRows="200" EstimateIO="0" EstimateCPU="0.000836" AvgRowSize="568" EstimatedTotalSubtreeCost="2563.55" Parallel="0" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1021"/><ColumnReference Column="Expr1036"/><ColumnReference Column="Expr1051"/><ColumnReference Column="Expr1066"/><ColumnReference Column="Expr1081"/><ColumnReference Column="Expr1096"/><ColumnReference Column="Expr1111"/><ColumnReference Column="Expr1126"/><ColumnReference Column="Expr1140"/><ColumnReference Column="Expr1155"/><ColumnReference Column="Expr1170"/><ColumnReference Column="Expr1184"/><ColumnReference Column="Expr1199"/><ColumnReference Column="Expr1214"/><ColumnReference Column="Expr1228"/><ColumnReference Column="Expr1243"/><ColumnReference Column="Expr1258"/><ColumnReference Column="Expr1273"/><ColumnReference Column="Expr1287"/><ColumnReference Column="Expr1302"/><ColumnReference Column="Expr1316"/><ColumnReference Column="Expr1331"/><ColumnReference Column="Expr1345"/><ColumnReference Column="Expr1360"/><ColumnReference Column="Expr1375"/><ColumnReference Column="Expr1390"/><ColumnReference Column="Expr1405"/><ColumnReference Column="Expr1420"/><ColumnReference Column="Expr1435"/><ColumnReference Column="Expr1450"/><ColumnReference Column="Expr1465"/><ColumnReference Column="Expr1480"/><ColumnReference Column="Expr1495"/><ColumnReference Column="Expr1510"/><ColumnReference Column="Expr1525"/><ColumnReference Column="Expr1540"/><ColumnReference Column="Expr1554"/><ColumnReference Column="Expr1569"/><ColumnReference Column="Expr1584"/><ColumnReference Column="Expr1598"/><ColumnReference Column="Expr1613"/><ColumnReference Column="Expr1628"/><ColumnReference Column="Expr1642"/><ColumnReference Column="Expr1657"/><ColumnReference Column="Expr1672"/><ColumnReference Column="Expr1687"/><ColumnReference Column="Expr1702"/><ColumnReference Column="Expr1717"/></OutputList><NestedLoops Optimized="0"><OuterReferences><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></OuterReferences>
<RelOp NodeId="5" PhysicalOp="Nested Loops" LogicalOp="Inner Join" EstimateRows="200" EstimateIO="0" EstimateCPU="0.000836" AvgRowSize="548" EstimatedTotalSubtreeCost="2510.17" Parallel="0" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1021"/><ColumnReference Column="Expr1036"/><ColumnReference Column="Expr1051"/><ColumnReference Column="Expr1066"/><ColumnReference Column="Expr1081"/><ColumnReference Column="Expr1096"/><ColumnReference Column="Expr1111"/><ColumnReference Column="Expr1126"/><ColumnReference Column="Expr1140"/><ColumnReference Column="Expr1155"/><ColumnReference Column="Expr1170"/><ColumnReference Column="Expr1184"/><ColumnReference Column="Expr1199"/><ColumnReference Column="Expr1214"/><ColumnReference Column="Expr1228"/><ColumnReference Column="Expr1243"/><ColumnReference Column="Expr1258"/><ColumnReference Column="Expr1273"/><ColumnReference Column="Expr1287"/><ColumnReference Column="Expr1302"/><ColumnReference Column="Expr1316"/><ColumnReference Column="Expr1331"/><ColumnReference Column="Expr1345"/><ColumnReference Column="Expr1360"/><ColumnReference Column="Expr1375"/><ColumnReference Column="Expr1390"/><ColumnReference Column="Expr1405"/><ColumnReference Column="Expr1420"/><ColumnReference Column="Expr1435"/><ColumnReference Column="Expr1450"/><ColumnReference Column="Expr1465"/><ColumnReference Column="Expr1480"/><ColumnReference Column="Expr1495"/><ColumnReference Column="Expr1510"/><ColumnReference Column="Expr1525"/><ColumnReference Column="Expr1540"/><ColumnReference Column="Expr1554"/><ColumnReference Column="Expr1569"/><ColumnReference Column="Expr1584"/><ColumnReference Column="Expr1598"/><ColumnReference Column="Expr1613"/><ColumnReference Column="Expr1628"/><ColumnReference Column="Expr1642"/><ColumnReference Column="Expr1657"/><ColumnReference Column="Expr1672"/><ColumnReference Column="Expr1687"/><ColumnReference Column="Expr1702"/></OutputList><NestedLoops Optimized="0"><OuterReferences><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></OuterReferences>
<RelOp NodeId="6" PhysicalOp="Nested Loops" LogicalOp="Inner Join" EstimateRows="200" EstimateIO="0" EstimateCPU="0.000836" AvgRowSize="539" EstimatedTotalSubtreeCost="2456.78" Parallel="0" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1021"/><ColumnReference Column="Expr1036"/><ColumnReference Column="Expr1051"/><ColumnReference Column="Expr1066"/><ColumnReference Column="Expr1081"/><ColumnReference Column="Expr1096"/><ColumnReference Column="Expr1111"/><ColumnReference Column="Expr1126"/><ColumnReference Column="Expr1140"/><ColumnReference Column="Expr1155"/><ColumnReference Column="Expr1170"/><ColumnReference Column="Expr1184"/><ColumnReference Column="Expr1199"/><ColumnReference Column="Expr1214"/><ColumnReference Column="Expr1228"/><ColumnReference Column="Expr1243"/><ColumnReference Column="Expr1258"/><ColumnReference Column="Expr1273"/><ColumnReference Column="Expr1287"/><ColumnReference Column="Expr1302"/><ColumnReference Column="Expr1316"/><ColumnReference Column="Expr1331"/><ColumnReference Column="Expr1345"/><ColumnReference Column="Expr1360"/><ColumnReference Column="Expr1375"/><ColumnReference Column="Expr1390"/><ColumnReference Column="Expr1405"/><ColumnReference Column="Expr1420"/><ColumnReference Column="Expr1435"/><ColumnReference Column="Expr1450"/><ColumnReference Column="Expr1465"/><ColumnReference Column="Expr1480"/><ColumnReference Column="Expr1495"/><ColumnReference Column="Expr1510"/><ColumnReference Column="Expr1525"/><ColumnReference Column="Expr1540"/><ColumnReference Column="Expr1554"/><ColumnReference Column="Expr1569"/><ColumnReference Column="Expr1584"/><ColumnReference Column="Expr1598"/><ColumnReference Column="Expr1613"/><ColumnReference Column="Expr1628"/><ColumnReference Column="Expr1642"/><ColumnReference Column="Expr1657"/><ColumnReference Column="Expr1672"/><ColumnReference Column="Expr1687"/></OutputList><NestedLoops Optimized="0"><OuterReferences><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></OuterReferences>
<RelOp NodeId="7" PhysicalOp="Nested Loops" LogicalOp="Inner Join" EstimateRows="200" EstimateIO="0" EstimateCPU="0.000836" AvgRowSize="530" EstimatedTotalSubtreeCost="2403.39" Parallel="0" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1021"/><ColumnReference Column="Expr1036"/><ColumnReference Column="Expr1051"/><ColumnReference Column="Expr1066"/><ColumnReference Column="Expr1081"/><ColumnReference Column="Expr1096"/><ColumnReference Column="Expr1111"/><ColumnReference Column="Expr1126"/><ColumnReference Column="Expr1140"/><ColumnReference Column="Expr1155"/><ColumnReference Column="Expr1170"/><ColumnReference Column="Expr1184"/><ColumnReference Column="Expr1199"/><ColumnReference Column="Expr1214"/><ColumnReference Column="Expr1228"/><ColumnReference Column="Expr1243"/><ColumnReference Column="Expr1258"/><ColumnReference Column="Expr1273"/><ColumnReference Column="Expr1287"/><ColumnReference Column="Expr1302"/><ColumnReference Column="Expr1316"/><ColumnReference Column="Expr1331"/><ColumnReference Column="Expr1345"/><ColumnReference Column="Expr1360"/><ColumnReference Column="Expr1375"/><ColumnReference Column="Expr1390"/><ColumnReference Column="Expr1405"/><ColumnReference Column="Expr1420"/><ColumnReference Column="Expr1435"/><ColumnReference Column="Expr1450"/><ColumnReference Column="Expr1465"/><ColumnReference Column="Expr1480"/><ColumnReference Column="Expr1495"/><ColumnReference Column="Expr1510"/><ColumnReference Column="Expr1525"/><ColumnReference Column="Expr1540"/><ColumnReference Column="Expr1554"/><ColumnReference Column="Expr1569"/><ColumnReference Column="Expr1584"/><ColumnReference Column="Expr1598"/><ColumnReference Column="Expr1613"/><ColumnReference Column="Expr1628"/><ColumnReference Column="Expr1642"/><ColumnReference Column="Expr1657"/><ColumnReference Column="Expr1672"/></OutputList><NestedLoops Optimized="0"><OuterReferences><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></OuterReferences>
<RelOp NodeId="8" PhysicalOp="Nested Loops" LogicalOp="Inner Join" EstimateRows="200" EstimateIO="0" EstimateCPU="0.000836" AvgRowSize="527" EstimatedTotalSubtreeCost="2350.01" Parallel="0" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1021"/><ColumnReference Column="Expr1036"/><ColumnReference Column="Expr1051"/><ColumnReference Column="Expr1066"/><ColumnReference Column="Expr1081"/><ColumnReference Column="Expr1096"/><ColumnReference Column="Expr1111"/><ColumnReference Column="Expr1126"/><ColumnReference Column="Expr1140"/><ColumnReference Column="Expr1155"/><ColumnReference Column="Expr1170"/><ColumnReference Column="Expr1184"/><ColumnReference Column="Expr1199"/><ColumnReference Column="Expr1214"/><ColumnReference Column="Expr1228"/><ColumnReference Column="Expr1243"/><ColumnReference Column="Expr1258"/><ColumnReference Column="Expr1273"/><ColumnReference Column="Expr1287"/><ColumnReference Column="Expr1302"/><ColumnReference Column="Expr1316"/><ColumnReference Column="Expr1331"/><ColumnReference Column="Expr1345"/><ColumnReference Column="Expr1360"/><ColumnReference Column="Expr1375"/><ColumnReference Column="Expr1390"/><ColumnReference Column="Expr1405"/><ColumnReference Column="Expr1420"/><ColumnReference Column="Expr1435"/><ColumnReference Column="Expr1450"/><ColumnReference Column="Expr1465"/><ColumnReference Column="Expr1480"/><ColumnReference Column="Expr1495"/><ColumnReference Column="Expr1510"/><ColumnReference Column="Expr1525"/><ColumnReference Column="Expr1540"/><ColumnReference Column="Expr1554"/><ColumnReference Column="Expr1569"/><ColumnReference Column="Expr1584"/><ColumnReference Column="Expr1598"/><ColumnReference Column="Expr1613"/><ColumnReference Column="Expr1628"/><ColumnReference Column="Expr1642"/><ColumnReference Column="Expr1657"/></OutputList><NestedLoops Optimized="0"><OuterReferences><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></OuterReferences>
<RelOp NodeId="9" PhysicalOp="Nested Loops" LogicalOp="Inner Join" EstimateRows="200" EstimateIO="0" EstimateCPU="0.000836" AvgRowSize="524" EstimatedTotalSubtreeCost="2296.62" Parallel="0" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1021"/><ColumnReference Column="Expr1036"/><ColumnReference Column="Expr1051"/><ColumnReference Column="Expr1066"/><ColumnReference Column="Expr1081"/><ColumnReference Column="Expr1096"/><ColumnReference Column="Expr1111"/><ColumnReference Column="Expr1126"/><ColumnReference Column="Expr1140"/><ColumnReference Column="Expr1155"/><ColumnReference Column="Expr1170"/><ColumnReference Column="Expr1184"/><ColumnReference Column="Expr1199"/><ColumnReference Column="Expr1214"/><ColumnReference Column="Expr1228"/><ColumnReference Column="Expr1243"/><ColumnReference Column="Expr1258"/><ColumnReference Column="Expr1273"/><ColumnReference Column="Expr1287"/><ColumnReference Column="Expr1302"/><ColumnReference Column="Expr1316"/><ColumnReference Column="Expr1331"/><ColumnReference Column="Expr1345"/><ColumnReference Column="Expr1360"/><ColumnReference Column="Expr1375"/><ColumnReference Column="Expr1390"/><ColumnReference Column="Expr1405"/><ColumnReference Column="Expr1420"/><ColumnReference Column="Expr1435"/><ColumnReference Column="Expr1450"/><ColumnReference Column="Expr1465"/><ColumnReference Column="Expr1480"/><ColumnReference Column="Expr1495"/><ColumnReference Column="Expr1510"/><ColumnReference Column="Expr1525"/><ColumnReference Column="Expr1540"/><ColumnReference Column="Expr1554"/><ColumnReference Column="Expr1569"/><ColumnReference Column="Expr1584"/><ColumnReference Column="Expr1598"/><ColumnReference Column="Expr1613"/><ColumnReference Column="Expr1628"/><ColumnReference Column="Expr1642"/></OutputList><NestedLoops Optimized="0"><PassThru><ScalarOperator ScalarString="isnumeric([Expr1628])=(0)"><Compare CompareOp="EQ"><ScalarOperator><Intrinsic FunctionName="isnumeric"><ScalarOperator><Identifier><ColumnReference Column="Expr1628"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator><ScalarOperator><Const ConstValue="(0)"/></ScalarOperator></Compare></ScalarOperator></PassThru><OuterReferences><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></OuterReferences>
<RelOp NodeId="10" PhysicalOp="Nested Loops" LogicalOp="Inner Join" EstimateRows="200" EstimateIO="0" EstimateCPU="0.000836" AvgRowSize="512" EstimatedTotalSubtreeCost="2243.23" Parallel="0" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1021"/><ColumnReference Column="Expr1036"/><ColumnReference Column="Expr1051"/><ColumnReference Column="Expr1066"/><ColumnReference Column="Expr1081"/><ColumnReference Column="Expr1096"/><ColumnReference Column="Expr1111"/><ColumnReference Column="Expr1126"/><ColumnReference Column="Expr1140"/><ColumnReference Column="Expr1155"/><ColumnReference Column="Expr1170"/><ColumnReference Column="Expr1184"/><ColumnReference Column="Expr1199"/><ColumnReference Column="Expr1214"/><ColumnReference Column="Expr1228"/><ColumnReference Column="Expr1243"/><ColumnReference Column="Expr1258"/><ColumnReference Column="Expr1273"/><ColumnReference Column="Expr1287"/><ColumnReference Column="Expr1302"/><ColumnReference Column="Expr1316"/><ColumnReference Column="Expr1331"/><ColumnReference Column="Expr1345"/><ColumnReference Column="Expr1360"/><ColumnReference Column="Expr1375"/><ColumnReference Column="Expr1390"/><ColumnReference Column="Expr1405"/><ColumnReference Column="Expr1420"/><ColumnReference Column="Expr1435"/><ColumnReference Column="Expr1450"/><ColumnReference Column="Expr1465"/><ColumnReference Column="Expr1480"/><ColumnReference Column="Expr1495"/><ColumnReference Column="Expr1510"/><ColumnReference Column="Expr1525"/><ColumnReference Column="Expr1540"/><ColumnReference Column="Expr1554"/><ColumnReference Column="Expr1569"/><ColumnReference Column="Expr1584"/><ColumnReference Column="Expr1598"/><ColumnReference Column="Expr1613"/><ColumnReference Column="Expr1628"/></OutputList><NestedLoops Optimized="0"><OuterReferences><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></OuterReferences>
<RelOp NodeId="11" PhysicalOp="Nested Loops" LogicalOp="Inner Join" EstimateRows="200" EstimateIO="0" EstimateCPU="0.000836" AvgRowSize="500" EstimatedTotalSubtreeCost="2189.85" Parallel="0" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1021"/><ColumnReference Column="Expr1036"/><ColumnReference Column="Expr1051"/><ColumnReference Column="Expr1066"/><ColumnReference Column="Expr1081"/><ColumnReference Column="Expr1096"/><ColumnReference Column="Expr1111"/><ColumnReference Column="Expr1126"/><ColumnReference Column="Expr1140"/><ColumnReference Column="Expr1155"/><ColumnReference Column="Expr1170"/><ColumnReference Column="Expr1184"/><ColumnReference Column="Expr1199"/><ColumnReference Column="Expr1214"/><ColumnReference Column="Expr1228"/><ColumnReference Column="Expr1243"/><ColumnReference Column="Expr1258"/><ColumnReference Column="Expr1273"/><ColumnReference Column="Expr1287"/><ColumnReference Column="Expr1302"/><ColumnReference Column="Expr1316"/><ColumnReference Column="Expr1331"/><ColumnReference Column="Expr1345"/><ColumnReference Column="Expr1360"/><ColumnReference Column="Expr1375"/><ColumnReference Column="Expr1390"/><ColumnReference Column="Expr1405"/><ColumnReference Column="Expr1420"/><ColumnReference Column="Expr1435"/><ColumnReference Column="Expr1450"/><ColumnReference Column="Expr1465"/><ColumnReference Column="Expr1480"/><ColumnReference Column="Expr1495"/><ColumnReference Column="Expr1510"/><ColumnReference Column="Expr1525"/><ColumnReference Column="Expr1540"/><ColumnReference Column="Expr1554"/><ColumnReference Column="Expr1569"/><ColumnReference Column="Expr1584"/><ColumnReference Column="Expr1598"/><ColumnReference Column="Expr1613"/></OutputList><NestedLoops Optimized="0"><OuterReferences><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></OuterReferences>
<RelOp NodeId="12" PhysicalOp="Nested Loops" LogicalOp="Inner Join" EstimateRows="200" EstimateIO="0" EstimateCPU="0.000836" AvgRowSize="497" EstimatedTotalSubtreeCost="2136.46" Parallel="0" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1021"/><ColumnReference Column="Expr1036"/><ColumnReference Column="Expr1051"/><ColumnReference Column="Expr1066"/><ColumnReference Column="Expr1081"/><ColumnReference Column="Expr1096"/><ColumnReference Column="Expr1111"/><ColumnReference Column="Expr1126"/><ColumnReference Column="Expr1140"/><ColumnReference Column="Expr1155"/><ColumnReference Column="Expr1170"/><ColumnReference Column="Expr1184"/><ColumnReference Column="Expr1199"/><ColumnReference Column="Expr1214"/><ColumnReference Column="Expr1228"/><ColumnReference Column="Expr1243"/><ColumnReference Column="Expr1258"/><ColumnReference Column="Expr1273"/><ColumnReference Column="Expr1287"/><ColumnReference Column="Expr1302"/><ColumnReference Column="Expr1316"/><ColumnReference Column="Expr1331"/><ColumnReference Column="Expr1345"/><ColumnReference Column="Expr1360"/><ColumnReference Column="Expr1375"/><ColumnReference Column="Expr1390"/><ColumnReference Column="Expr1405"/><ColumnReference Column="Expr1420"/><ColumnReference Column="Expr1435"/><ColumnReference Column="Expr1450"/><ColumnReference Column="Expr1465"/><ColumnReference Column="Expr1480"/><ColumnReference Column="Expr1495"/><ColumnReference Column="Expr1510"/><ColumnReference Column="Expr1525"/><ColumnReference Column="Expr1540"/><ColumnReference Column="Expr1554"/><ColumnReference Column="Expr1569"/><ColumnReference Column="Expr1584"/><ColumnReference Column="Expr1598"/></OutputList><NestedLoops Optimized="0"><PassThru><ScalarOperator ScalarString="isnumeric([Expr1584])=(0)"><Compare CompareOp="EQ"><ScalarOperator><Intrinsic FunctionName="isnumeric"><ScalarOperator><Identifier><ColumnReference Column="Expr1584"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator><ScalarOperator><Const ConstValue="(0)"/></ScalarOperator></Compare></ScalarOperator></PassThru><OuterReferences><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></OuterReferences>
<RelOp NodeId="13" PhysicalOp="Nested Loops" LogicalOp="Inner Join" EstimateRows="200" EstimateIO="0" EstimateCPU="0.000836" AvgRowSize="484" EstimatedTotalSubtreeCost="2083.07" Parallel="0" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1021"/><ColumnReference Column="Expr1036"/><ColumnReference Column="Expr1051"/><ColumnReference Column="Expr1066"/><ColumnReference Column="Expr1081"/><ColumnReference Column="Expr1096"/><ColumnReference Column="Expr1111"/><ColumnReference Column="Expr1126"/><ColumnReference Column="Expr1140"/><ColumnReference Column="Expr1155"/><ColumnReference Column="Expr1170"/><ColumnReference Column="Expr1184"/><ColumnReference Column="Expr1199"/><ColumnReference Column="Expr1214"/><ColumnReference Column="Expr1228"/><ColumnReference Column="Expr1243"/><ColumnReference Column="Expr1258"/><ColumnReference Column="Expr1273"/><ColumnReference Column="Expr1287"/><ColumnReference Column="Expr1302"/><ColumnReference Column="Expr1316"/><ColumnReference Column="Expr1331"/><ColumnReference Column="Expr1345"/><ColumnReference Column="Expr1360"/><ColumnReference Column="Expr1375"/><ColumnReference Column="Expr1390"/><ColumnReference Column="Expr1405"/><ColumnReference Column="Expr1420"/><ColumnReference Column="Expr1435"/><ColumnReference Column="Expr1450"/><ColumnReference Column="Expr1465"/><ColumnReference Column="Expr1480"/><ColumnReference Column="Expr1495"/><ColumnReference Column="Expr1510"/><ColumnReference Column="Expr1525"/><ColumnReference Column="Expr1540"/><ColumnReference Column="Expr1554"/><ColumnReference Column="Expr1569"/><ColumnReference Column="Expr1584"/></OutputList><NestedLoops Optimized="0"><OuterReferences><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></OuterReferences>
<RelOp NodeId="14" PhysicalOp="Nested Loops" LogicalOp="Inner Join" EstimateRows="200" EstimateIO="0" EstimateCPU="0.000836" AvgRowSize="472" EstimatedTotalSubtreeCost="2029.69" Parallel="0" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1021"/><ColumnReference Column="Expr1036"/><ColumnReference Column="Expr1051"/><ColumnReference Column="Expr1066"/><ColumnReference Column="Expr1081"/><ColumnReference Column="Expr1096"/><ColumnReference Column="Expr1111"/><ColumnReference Column="Expr1126"/><ColumnReference Column="Expr1140"/><ColumnReference Column="Expr1155"/><ColumnReference Column="Expr1170"/><ColumnReference Column="Expr1184"/><ColumnReference Column="Expr1199"/><ColumnReference Column="Expr1214"/><ColumnReference Column="Expr1228"/><ColumnReference Column="Expr1243"/><ColumnReference Column="Expr1258"/><ColumnReference Column="Expr1273"/><ColumnReference Column="Expr1287"/><ColumnReference Column="Expr1302"/><ColumnReference Column="Expr1316"/><ColumnReference Column="Expr1331"/><ColumnReference Column="Expr1345"/><ColumnReference Column="Expr1360"/><ColumnReference Column="Expr1375"/><ColumnReference Column="Expr1390"/><ColumnReference Column="Expr1405"/><ColumnReference Column="Expr1420"/><ColumnReference Column="Expr1435"/><ColumnReference Column="Expr1450"/><ColumnReference Column="Expr1465"/><ColumnReference Column="Expr1480"/><ColumnReference Column="Expr1495"/><ColumnReference Column="Expr1510"/><ColumnReference Column="Expr1525"/><ColumnReference Column="Expr1540"/><ColumnReference Column="Expr1554"/><ColumnReference Column="Expr1569"/></OutputList><NestedLoops Optimized="0"><OuterReferences><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></OuterReferences>
<RelOp NodeId="15" PhysicalOp="Nested Loops" LogicalOp="Inner Join" EstimateRows="200" EstimateIO="0" EstimateCPU="0.000836" AvgRowSize="469" EstimatedTotalSubtreeCost="1976.3" Parallel="0" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1021"/><ColumnReference Column="Expr1036"/><ColumnReference Column="Expr1051"/><ColumnReference Column="Expr1066"/><ColumnReference Column="Expr1081"/><ColumnReference Column="Expr1096"/><ColumnReference Column="Expr1111"/><ColumnReference Column="Expr1126"/><ColumnReference Column="Expr1140"/><ColumnReference Column="Expr1155"/><ColumnReference Column="Expr1170"/><ColumnReference Column="Expr1184"/><ColumnReference Column="Expr1199"/><ColumnReference Column="Expr1214"/><ColumnReference Column="Expr1228"/><ColumnReference Column="Expr1243"/><ColumnReference Column="Expr1258"/><ColumnReference Column="Expr1273"/><ColumnReference Column="Expr1287"/><ColumnReference Column="Expr1302"/><ColumnReference Column="Expr1316"/><ColumnReference Column="Expr1331"/><ColumnReference Column="Expr1345"/><ColumnReference Column="Expr1360"/><ColumnReference Column="Expr1375"/><ColumnReference Column="Expr1390"/><ColumnReference Column="Expr1405"/><ColumnReference Column="Expr1420"/><ColumnReference Column="Expr1435"/><ColumnReference Column="Expr1450"/><ColumnReference Column="Expr1465"/><ColumnReference Column="Expr1480"/><ColumnReference Column="Expr1495"/><ColumnReference Column="Expr1510"/><ColumnReference Column="Expr1525"/><ColumnReference Column="Expr1540"/><ColumnReference Column="Expr1554"/></OutputList><NestedLoops Optimized="0"><PassThru><ScalarOperator ScalarString="isnumeric([Expr1540])=(0)"><Compare CompareOp="EQ"><ScalarOperator><Intrinsic FunctionName="isnumeric"><ScalarOperator><Identifier><ColumnReference Column="Expr1540"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator><ScalarOperator><Const ConstValue="(0)"/></ScalarOperator></Compare></ScalarOperator></PassThru><OuterReferences><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></OuterReferences>
<RelOp NodeId="16" PhysicalOp="Nested Loops" LogicalOp="Inner Join" EstimateRows="200" EstimateIO="0" EstimateCPU="0.000836" AvgRowSize="457" EstimatedTotalSubtreeCost="1922.92" Parallel="0" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1021"/><ColumnReference Column="Expr1036"/><ColumnReference Column="Expr1051"/><ColumnReference Column="Expr1066"/><ColumnReference Column="Expr1081"/><ColumnReference Column="Expr1096"/><ColumnReference Column="Expr1111"/><ColumnReference Column="Expr1126"/><ColumnReference Column="Expr1140"/><ColumnReference Column="Expr1155"/><ColumnReference Column="Expr1170"/><ColumnReference Column="Expr1184"/><ColumnReference Column="Expr1199"/><ColumnReference Column="Expr1214"/><ColumnReference Column="Expr1228"/><ColumnReference Column="Expr1243"/><ColumnReference Column="Expr1258"/><ColumnReference Column="Expr1273"/><ColumnReference Column="Expr1287"/><ColumnReference Column="Expr1302"/><ColumnReference Column="Expr1316"/><ColumnReference Column="Expr1331"/><ColumnReference Column="Expr1345"/><ColumnReference Column="Expr1360"/><ColumnReference Column="Expr1375"/><ColumnReference Column="Expr1390"/><ColumnReference Column="Expr1405"/><ColumnReference Column="Expr1420"/><ColumnReference Column="Expr1435"/><ColumnReference Column="Expr1450"/><ColumnReference Column="Expr1465"/><ColumnReference Column="Expr1480"/><ColumnReference Column="Expr1495"/><ColumnReference Column="Expr1510"/><ColumnReference Column="Expr1525"/><ColumnReference Column="Expr1540"/></OutputList><NestedLoops Optimized="0"><OuterReferences><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></OuterReferences>
<RelOp NodeId="17" PhysicalOp="Nested Loops" LogicalOp="Inner Join" EstimateRows="200" EstimateIO="0" EstimateCPU="0.000836" AvgRowSize="445" EstimatedTotalSubtreeCost="1869.53" Parallel="0" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1021"/><ColumnReference Column="Expr1036"/><ColumnReference Column="Expr1051"/><ColumnReference Column="Expr1066"/><ColumnReference Column="Expr1081"/><ColumnReference Column="Expr1096"/><ColumnReference Column="Expr1111"/><ColumnReference Column="Expr1126"/><ColumnReference Column="Expr1140"/><ColumnReference Column="Expr1155"/><ColumnReference Column="Expr1170"/><ColumnReference Column="Expr1184"/><ColumnReference Column="Expr1199"/><ColumnReference Column="Expr1214"/><ColumnReference Column="Expr1228"/><ColumnReference Column="Expr1243"/><ColumnReference Column="Expr1258"/><ColumnReference Column="Expr1273"/><ColumnReference Column="Expr1287"/><ColumnReference Column="Expr1302"/><ColumnReference Column="Expr1316"/><ColumnReference Column="Expr1331"/><ColumnReference Column="Expr1345"/><ColumnReference Column="Expr1360"/><ColumnReference Column="Expr1375"/><ColumnReference Column="Expr1390"/><ColumnReference Column="Expr1405"/><ColumnReference Column="Expr1420"/><ColumnReference Column="Expr1435"/><ColumnReference Column="Expr1450"/><ColumnReference Column="Expr1465"/><ColumnReference Column="Expr1480"/><ColumnReference Column="Expr1495"/><ColumnReference Column="Expr1510"/><ColumnReference Column="Expr1525"/></OutputList><NestedLoops Optimized="0"><OuterReferences><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></OuterReferences>
<RelOp NodeId="18" PhysicalOp="Nested Loops" LogicalOp="Inner Join" EstimateRows="200" EstimateIO="0" EstimateCPU="0.000836" AvgRowSize="438" EstimatedTotalSubtreeCost="1816.14" Parallel="0" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1021"/><ColumnReference Column="Expr1036"/><ColumnReference Column="Expr1051"/><ColumnReference Column="Expr1066"/><ColumnReference Column="Expr1081"/><ColumnReference Column="Expr1096"/><ColumnReference Column="Expr1111"/><ColumnReference Column="Expr1126"/><ColumnReference Column="Expr1140"/><ColumnReference Column="Expr1155"/><ColumnReference Column="Expr1170"/><ColumnReference Column="Expr1184"/><ColumnReference Column="Expr1199"/><ColumnReference Column="Expr1214"/><ColumnReference Column="Expr1228"/><ColumnReference Column="Expr1243"/><ColumnReference Column="Expr1258"/><ColumnReference Column="Expr1273"/><ColumnReference Column="Expr1287"/><ColumnReference Column="Expr1302"/><ColumnReference Column="Expr1316"/><ColumnReference Column="Expr1331"/><ColumnReference Column="Expr1345"/><ColumnReference Column="Expr1360"/><ColumnReference Column="Expr1375"/><ColumnReference Column="Expr1390"/><ColumnReference Column="Expr1405"/><ColumnReference Column="Expr1420"/><ColumnReference Column="Expr1435"/><ColumnReference Column="Expr1450"/><ColumnReference Column="Expr1465"/><ColumnReference Column="Expr1480"/><ColumnReference Column="Expr1495"/><ColumnReference Column="Expr1510"/></OutputList><NestedLoops Optimized="0"><OuterReferences><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></OuterReferences>
<RelOp NodeId="19" PhysicalOp="Nested Loops" LogicalOp="Inner Join" EstimateRows="200" EstimateIO="0" EstimateCPU="0.000836" AvgRowSize="411" EstimatedTotalSubtreeCost="1762.76" Parallel="0" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1021"/><ColumnReference Column="Expr1036"/><ColumnReference Column="Expr1051"/><ColumnReference Column="Expr1066"/><ColumnReference Column="Expr1081"/><ColumnReference Column="Expr1096"/><ColumnReference Column="Expr1111"/><ColumnReference Column="Expr1126"/><ColumnReference Column="Expr1140"/><ColumnReference Column="Expr1155"/><ColumnReference Column="Expr1170"/><ColumnReference Column="Expr1184"/><ColumnReference Column="Expr1199"/><ColumnReference Column="Expr1214"/><ColumnReference Column="Expr1228"/><ColumnReference Column="Expr1243"/><ColumnReference Column="Expr1258"/><ColumnReference Column="Expr1273"/><ColumnReference Column="Expr1287"/><ColumnReference Column="Expr1302"/><ColumnReference Column="Expr1316"/><ColumnReference Column="Expr1331"/><ColumnReference Column="Expr1345"/><ColumnReference Column="Expr1360"/><ColumnReference Column="Expr1375"/><ColumnReference Column="Expr1390"/><ColumnReference Column="Expr1405"/><ColumnReference Column="Expr1420"/><ColumnReference Column="Expr1435"/><ColumnReference Column="Expr1450"/><ColumnReference Column="Expr1465"/><ColumnReference Column="Expr1480"/><ColumnReference Column="Expr1495"/></OutputList><NestedLoops Optimized="0"><OuterReferences><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></OuterReferences>
<RelOp NodeId="20" PhysicalOp="Nested Loops" LogicalOp="Inner Join" EstimateRows="200" EstimateIO="0" EstimateCPU="0.000836" AvgRowSize="359" EstimatedTotalSubtreeCost="1709.37" Parallel="0" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1021"/><ColumnReference Column="Expr1036"/><ColumnReference Column="Expr1051"/><ColumnReference Column="Expr1066"/><ColumnReference Column="Expr1081"/><ColumnReference Column="Expr1096"/><ColumnReference Column="Expr1111"/><ColumnReference Column="Expr1126"/><ColumnReference Column="Expr1140"/><ColumnReference Column="Expr1155"/><ColumnReference Column="Expr1170"/><ColumnReference Column="Expr1184"/><ColumnReference Column="Expr1199"/><ColumnReference Column="Expr1214"/><ColumnReference Column="Expr1228"/><ColumnReference Column="Expr1243"/><ColumnReference Column="Expr1258"/><ColumnReference Column="Expr1273"/><ColumnReference Column="Expr1287"/><ColumnReference Column="Expr1302"/><ColumnReference Column="Expr1316"/><ColumnReference Column="Expr1331"/><ColumnReference Column="Expr1345"/><ColumnReference Column="Expr1360"/><ColumnReference Column="Expr1375"/><ColumnReference Column="Expr1390"/><ColumnReference Column="Expr1405"/><ColumnReference Column="Expr1420"/><ColumnReference Column="Expr1435"/><ColumnReference Column="Expr1450"/><ColumnReference Column="Expr1465"/><ColumnReference Column="Expr1480"/></OutputList><NestedLoops Optimized="0"><OuterReferences><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></OuterReferences>
<RelOp NodeId="21" PhysicalOp="Nested Loops" LogicalOp="Inner Join" EstimateRows="200" EstimateIO="0" EstimateCPU="0.000836" AvgRowSize="346" EstimatedTotalSubtreeCost="1655.98" Parallel="0" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1021"/><ColumnReference Column="Expr1036"/><ColumnReference Column="Expr1051"/><ColumnReference Column="Expr1066"/><ColumnReference Column="Expr1081"/><ColumnReference Column="Expr1096"/><ColumnReference Column="Expr1111"/><ColumnReference Column="Expr1126"/><ColumnReference Column="Expr1140"/><ColumnReference Column="Expr1155"/><ColumnReference Column="Expr1170"/><ColumnReference Column="Expr1184"/><ColumnReference Column="Expr1199"/><ColumnReference Column="Expr1214"/><ColumnReference Column="Expr1228"/><ColumnReference Column="Expr1243"/><ColumnReference Column="Expr1258"/><ColumnReference Column="Expr1273"/><ColumnReference Column="Expr1287"/><ColumnReference Column="Expr1302"/><ColumnReference Column="Expr1316"/><ColumnReference Column="Expr1331"/><ColumnReference Column="Expr1345"/><ColumnReference Column="Expr1360"/><ColumnReference Column="Expr1375"/><ColumnReference Column="Expr1390"/><ColumnReference Column="Expr1405"/><ColumnReference Column="Expr1420"/><ColumnReference Column="Expr1435"/><ColumnReference Column="Expr1450"/><ColumnReference Column="Expr1465"/></OutputList><NestedLoops Optimized="0"><OuterReferences><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></OuterReferences>
<RelOp NodeId="22" PhysicalOp="Nested Loops" LogicalOp="Inner Join" EstimateRows="200" EstimateIO="0" EstimateCPU="0.000836" AvgRowSize="337" EstimatedTotalSubtreeCost="1602.6" Parallel="0" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1021"/><ColumnReference Column="Expr1036"/><ColumnReference Column="Expr1051"/><ColumnReference Column="Expr1066"/><ColumnReference Column="Expr1081"/><ColumnReference Column="Expr1096"/><ColumnReference Column="Expr1111"/><ColumnReference Column="Expr1126"/><ColumnReference Column="Expr1140"/><ColumnReference Column="Expr1155"/><ColumnReference Column="Expr1170"/><ColumnReference Column="Expr1184"/><ColumnReference Column="Expr1199"/><ColumnReference Column="Expr1214"/><ColumnReference Column="Expr1228"/><ColumnReference Column="Expr1243"/><ColumnReference Column="Expr1258"/><ColumnReference Column="Expr1273"/><ColumnReference Column="Expr1287"/><ColumnReference Column="Expr1302"/><ColumnReference Column="Expr1316"/><ColumnReference Column="Expr1331"/><ColumnReference Column="Expr1345"/><ColumnReference Column="Expr1360"/><ColumnReference Column="Expr1375"/><ColumnReference Column="Expr1390"/><ColumnReference Column="Expr1405"/><ColumnReference Column="Expr1420"/><ColumnReference Column="Expr1435"/><ColumnReference Column="Expr1450"/></OutputList><NestedLoops Optimized="0"><OuterReferences><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></OuterReferences>
<RelOp NodeId="23" PhysicalOp="Nested Loops" LogicalOp="Inner Join" EstimateRows="200" EstimateIO="0" EstimateCPU="0.000836" AvgRowSize="325" EstimatedTotalSubtreeCost="1549.21" Parallel="0" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1021"/><ColumnReference Column="Expr1036"/><ColumnReference Column="Expr1051"/><ColumnReference Column="Expr1066"/><ColumnReference Column="Expr1081"/><ColumnReference Column="Expr1096"/><ColumnReference Column="Expr1111"/><ColumnReference Column="Expr1126"/><ColumnReference Column="Expr1140"/><ColumnReference Column="Expr1155"/><ColumnReference Column="Expr1170"/><ColumnReference Column="Expr1184"/><ColumnReference Column="Expr1199"/><ColumnReference Column="Expr1214"/><ColumnReference Column="Expr1228"/><ColumnReference Column="Expr1243"/><ColumnReference Column="Expr1258"/><ColumnReference Column="Expr1273"/><ColumnReference Column="Expr1287"/><ColumnReference Column="Expr1302"/><ColumnReference Column="Expr1316"/><ColumnReference Column="Expr1331"/><ColumnReference Column="Expr1345"/><ColumnReference Column="Expr1360"/><ColumnReference Column="Expr1375"/><ColumnReference Column="Expr1390"/><ColumnReference Column="Expr1405"/><ColumnReference Column="Expr1420"/><ColumnReference Column="Expr1435"/></OutputList><NestedLoops Optimized="0"><OuterReferences><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></OuterReferences>
<RelOp NodeId="24" PhysicalOp="Nested Loops" LogicalOp="Inner Join" EstimateRows="200" EstimateIO="0" EstimateCPU="0.000836" AvgRowSize="313" EstimatedTotalSubtreeCost="1495.82" Parallel="0" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1021"/><ColumnReference Column="Expr1036"/><ColumnReference Column="Expr1051"/><ColumnReference Column="Expr1066"/><ColumnReference Column="Expr1081"/><ColumnReference Column="Expr1096"/><ColumnReference Column="Expr1111"/><ColumnReference Column="Expr1126"/><ColumnReference Column="Expr1140"/><ColumnReference Column="Expr1155"/><ColumnReference Column="Expr1170"/><ColumnReference Column="Expr1184"/><ColumnReference Column="Expr1199"/><ColumnReference Column="Expr1214"/><ColumnReference Column="Expr1228"/><ColumnReference Column="Expr1243"/><ColumnReference Column="Expr1258"/><ColumnReference Column="Expr1273"/><ColumnReference Column="Expr1287"/><ColumnReference Column="Expr1302"/><ColumnReference Column="Expr1316"/><ColumnReference Column="Expr1331"/><ColumnReference Column="Expr1345"/><ColumnReference Column="Expr1360"/><ColumnReference Column="Expr1375"/><ColumnReference Column="Expr1390"/><ColumnReference Column="Expr1405"/><ColumnReference Column="Expr1420"/></OutputList><NestedLoops Optimized="0"><OuterReferences><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></OuterReferences>
<RelOp NodeId="25" PhysicalOp="Nested Loops" LogicalOp="Inner Join" EstimateRows="200" EstimateIO="0" EstimateCPU="0.000836" AvgRowSize="309" EstimatedTotalSubtreeCost="1442.44" Parallel="0" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1021"/><ColumnReference Column="Expr1036"/><ColumnReference Column="Expr1051"/><ColumnReference Column="Expr1066"/><ColumnReference Column="Expr1081"/><ColumnReference Column="Expr1096"/><ColumnReference Column="Expr1111"/><ColumnReference Column="Expr1126"/><ColumnReference Column="Expr1140"/><ColumnReference Column="Expr1155"/><ColumnReference Column="Expr1170"/><ColumnReference Column="Expr1184"/><ColumnReference Column="Expr1199"/><ColumnReference Column="Expr1214"/><ColumnReference Column="Expr1228"/><ColumnReference Column="Expr1243"/><ColumnReference Column="Expr1258"/><ColumnReference Column="Expr1273"/><ColumnReference Column="Expr1287"/><ColumnReference Column="Expr1302"/><ColumnReference Column="Expr1316"/><ColumnReference Column="Expr1331"/><ColumnReference Column="Expr1345"/><ColumnReference Column="Expr1360"/><ColumnReference Column="Expr1375"/><ColumnReference Column="Expr1390"/><ColumnReference Column="Expr1405"/></OutputList><NestedLoops Optimized="0"><OuterReferences><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></OuterReferences>
<RelOp NodeId="26" PhysicalOp="Nested Loops" LogicalOp="Inner Join" EstimateRows="200" EstimateIO="0" EstimateCPU="0.000836" AvgRowSize="300" EstimatedTotalSubtreeCost="1389.05" Parallel="0" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1021"/><ColumnReference Column="Expr1036"/><ColumnReference Column="Expr1051"/><ColumnReference Column="Expr1066"/><ColumnReference Column="Expr1081"/><ColumnReference Column="Expr1096"/><ColumnReference Column="Expr1111"/><ColumnReference Column="Expr1126"/><ColumnReference Column="Expr1140"/><ColumnReference Column="Expr1155"/><ColumnReference Column="Expr1170"/><ColumnReference Column="Expr1184"/><ColumnReference Column="Expr1199"/><ColumnReference Column="Expr1214"/><ColumnReference Column="Expr1228"/><ColumnReference Column="Expr1243"/><ColumnReference Column="Expr1258"/><ColumnReference Column="Expr1273"/><ColumnReference Column="Expr1287"/><ColumnReference Column="Expr1302"/><ColumnReference Column="Expr1316"/><ColumnReference Column="Expr1331"/><ColumnReference Column="Expr1345"/><ColumnReference Column="Expr1360"/><ColumnReference Column="Expr1375"/><ColumnReference Column="Expr1390"/></OutputList><NestedLoops Optimized="0"><OuterReferences><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></OuterReferences>
<RelOp NodeId="27" PhysicalOp="Nested Loops" LogicalOp="Inner Join" EstimateRows="200" EstimateIO="0" EstimateCPU="0.000836" AvgRowSize="294" EstimatedTotalSubtreeCost="1335.66" Parallel="0" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1021"/><ColumnReference Column="Expr1036"/><ColumnReference Column="Expr1051"/><ColumnReference Column="Expr1066"/><ColumnReference Column="Expr1081"/><ColumnReference Column="Expr1096"/><ColumnReference Column="Expr1111"/><ColumnReference Column="Expr1126"/><ColumnReference Column="Expr1140"/><ColumnReference Column="Expr1155"/><ColumnReference Column="Expr1170"/><ColumnReference Column="Expr1184"/><ColumnReference Column="Expr1199"/><ColumnReference Column="Expr1214"/><ColumnReference Column="Expr1228"/><ColumnReference Column="Expr1243"/><ColumnReference Column="Expr1258"/><ColumnReference Column="Expr1273"/><ColumnReference Column="Expr1287"/><ColumnReference Column="Expr1302"/><ColumnReference Column="Expr1316"/><ColumnReference Column="Expr1331"/><ColumnReference Column="Expr1345"/><ColumnReference Column="Expr1360"/><ColumnReference Column="Expr1375"/></OutputList><NestedLoops Optimized="0"><OuterReferences><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></OuterReferences>
<RelOp NodeId="28" PhysicalOp="Nested Loops" LogicalOp="Inner Join" EstimateRows="200" EstimateIO="0" EstimateCPU="0.000836" AvgRowSize="280" EstimatedTotalSubtreeCost="1282.28" Parallel="0" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1021"/><ColumnReference Column="Expr1036"/><ColumnReference Column="Expr1051"/><ColumnReference Column="Expr1066"/><ColumnReference Column="Expr1081"/><ColumnReference Column="Expr1096"/><ColumnReference Column="Expr1111"/><ColumnReference Column="Expr1126"/><ColumnReference Column="Expr1140"/><ColumnReference Column="Expr1155"/><ColumnReference Column="Expr1170"/><ColumnReference Column="Expr1184"/><ColumnReference Column="Expr1199"/><ColumnReference Column="Expr1214"/><ColumnReference Column="Expr1228"/><ColumnReference Column="Expr1243"/><ColumnReference Column="Expr1258"/><ColumnReference Column="Expr1273"/><ColumnReference Column="Expr1287"/><ColumnReference Column="Expr1302"/><ColumnReference Column="Expr1316"/><ColumnReference Column="Expr1331"/><ColumnReference Column="Expr1345"/><ColumnReference Column="Expr1360"/></OutputList><NestedLoops Optimized="0"><OuterReferences><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></OuterReferences>
<RelOp NodeId="29" PhysicalOp="Nested Loops" LogicalOp="Inner Join" EstimateRows="200" EstimateIO="0" EstimateCPU="0.000836" AvgRowSize="265" EstimatedTotalSubtreeCost="1228.89" Parallel="0" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1021"/><ColumnReference Column="Expr1036"/><ColumnReference Column="Expr1051"/><ColumnReference Column="Expr1066"/><ColumnReference Column="Expr1081"/><ColumnReference Column="Expr1096"/><ColumnReference Column="Expr1111"/><ColumnReference Column="Expr1126"/><ColumnReference Column="Expr1140"/><ColumnReference Column="Expr1155"/><ColumnReference Column="Expr1170"/><ColumnReference Column="Expr1184"/><ColumnReference Column="Expr1199"/><ColumnReference Column="Expr1214"/><ColumnReference Column="Expr1228"/><ColumnReference Column="Expr1243"/><ColumnReference Column="Expr1258"/><ColumnReference Column="Expr1273"/><ColumnReference Column="Expr1287"/><ColumnReference Column="Expr1302"/><ColumnReference Column="Expr1316"/><ColumnReference Column="Expr1331"/><ColumnReference Column="Expr1345"/></OutputList><NestedLoops Optimized="0"><PassThru><ScalarOperator ScalarString="isnumeric([Expr1331])=(0)"><Compare CompareOp="EQ"><ScalarOperator><Intrinsic FunctionName="isnumeric"><ScalarOperator><Identifier><ColumnReference Column="Expr1331"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator><ScalarOperator><Const ConstValue="(0)"/></ScalarOperator></Compare></ScalarOperator></PassThru><OuterReferences><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></OuterReferences>
<RelOp NodeId="30" PhysicalOp="Nested Loops" LogicalOp="Inner Join" EstimateRows="200" EstimateIO="0" EstimateCPU="0.000836" AvgRowSize="253" EstimatedTotalSubtreeCost="1175.51" Parallel="0" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1021"/><ColumnReference Column="Expr1036"/><ColumnReference Column="Expr1051"/><ColumnReference Column="Expr1066"/><ColumnReference Column="Expr1081"/><ColumnReference Column="Expr1096"/><ColumnReference Column="Expr1111"/><ColumnReference Column="Expr1126"/><ColumnReference Column="Expr1140"/><ColumnReference Column="Expr1155"/><ColumnReference Column="Expr1170"/><ColumnReference Column="Expr1184"/><ColumnReference Column="Expr1199"/><ColumnReference Column="Expr1214"/><ColumnReference Column="Expr1228"/><ColumnReference Column="Expr1243"/><ColumnReference Column="Expr1258"/><ColumnReference Column="Expr1273"/><ColumnReference Column="Expr1287"/><ColumnReference Column="Expr1302"/><ColumnReference Column="Expr1316"/><ColumnReference Column="Expr1331"/></OutputList><NestedLoops Optimized="0"><OuterReferences><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></OuterReferences>
<RelOp NodeId="31" PhysicalOp="Nested Loops" LogicalOp="Inner Join" EstimateRows="200" EstimateIO="0" EstimateCPU="0.000836" AvgRowSize="241" EstimatedTotalSubtreeCost="1122.12" Parallel="0" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1021"/><ColumnReference Column="Expr1036"/><ColumnReference Column="Expr1051"/><ColumnReference Column="Expr1066"/><ColumnReference Column="Expr1081"/><ColumnReference Column="Expr1096"/><ColumnReference Column="Expr1111"/><ColumnReference Column="Expr1126"/><ColumnReference Column="Expr1140"/><ColumnReference Column="Expr1155"/><ColumnReference Column="Expr1170"/><ColumnReference Column="Expr1184"/><ColumnReference Column="Expr1199"/><ColumnReference Column="Expr1214"/><ColumnReference Column="Expr1228"/><ColumnReference Column="Expr1243"/><ColumnReference Column="Expr1258"/><ColumnReference Column="Expr1273"/><ColumnReference Column="Expr1287"/><ColumnReference Column="Expr1302"/><ColumnReference Column="Expr1316"/></OutputList><NestedLoops Optimized="0"><PassThru><ScalarOperator ScalarString="isnumeric([Expr1302])=(0)"><Compare CompareOp="EQ"><ScalarOperator><Intrinsic FunctionName="isnumeric"><ScalarOperator><Identifier><ColumnReference Column="Expr1302"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator><ScalarOperator><Const ConstValue="(0)"/></ScalarOperator></Compare></ScalarOperator></PassThru><OuterReferences><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></OuterReferences>
<RelOp NodeId="32" PhysicalOp="Nested Loops" LogicalOp="Inner Join" EstimateRows="200" EstimateIO="0" EstimateCPU="0.000836" AvgRowSize="229" EstimatedTotalSubtreeCost="1068.73" Parallel="0" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1021"/><ColumnReference Column="Expr1036"/><ColumnReference Column="Expr1051"/><ColumnReference Column="Expr1066"/><ColumnReference Column="Expr1081"/><ColumnReference Column="Expr1096"/><ColumnReference Column="Expr1111"/><ColumnReference Column="Expr1126"/><ColumnReference Column="Expr1140"/><ColumnReference Column="Expr1155"/><ColumnReference Column="Expr1170"/><ColumnReference Column="Expr1184"/><ColumnReference Column="Expr1199"/><ColumnReference Column="Expr1214"/><ColumnReference Column="Expr1228"/><ColumnReference Column="Expr1243"/><ColumnReference Column="Expr1258"/><ColumnReference Column="Expr1273"/><ColumnReference Column="Expr1287"/><ColumnReference Column="Expr1302"/></OutputList><NestedLoops Optimized="0"><OuterReferences><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></OuterReferences>
<RelOp NodeId="33" PhysicalOp="Nested Loops" LogicalOp="Inner Join" EstimateRows="200" EstimateIO="0" EstimateCPU="0.000836" AvgRowSize="217" EstimatedTotalSubtreeCost="1015.35" Parallel="0" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1021"/><ColumnReference Column="Expr1036"/><ColumnReference Column="Expr1051"/><ColumnReference Column="Expr1066"/><ColumnReference Column="Expr1081"/><ColumnReference Column="Expr1096"/><ColumnReference Column="Expr1111"/><ColumnReference Column="Expr1126"/><ColumnReference Column="Expr1140"/><ColumnReference Column="Expr1155"/><ColumnReference Column="Expr1170"/><ColumnReference Column="Expr1184"/><ColumnReference Column="Expr1199"/><ColumnReference Column="Expr1214"/><ColumnReference Column="Expr1228"/><ColumnReference Column="Expr1243"/><ColumnReference Column="Expr1258"/><ColumnReference Column="Expr1273"/><ColumnReference Column="Expr1287"/></OutputList><NestedLoops Optimized="0"><PassThru><ScalarOperator ScalarString="isnumeric([Expr1273])=(0)"><Compare CompareOp="EQ"><ScalarOperator><Intrinsic FunctionName="isnumeric"><ScalarOperator><Identifier><ColumnReference Column="Expr1273"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator><ScalarOperator><Const ConstValue="(0)"/></ScalarOperator></Compare></ScalarOperator></PassThru><OuterReferences><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></OuterReferences>
<RelOp NodeId="34" PhysicalOp="Nested Loops" LogicalOp="Inner Join" EstimateRows="200" EstimateIO="0" EstimateCPU="0.000836" AvgRowSize="205" EstimatedTotalSubtreeCost="961.96" Parallel="0" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1021"/><ColumnReference Column="Expr1036"/><ColumnReference Column="Expr1051"/><ColumnReference Column="Expr1066"/><ColumnReference Column="Expr1081"/><ColumnReference Column="Expr1096"/><ColumnReference Column="Expr1111"/><ColumnReference Column="Expr1126"/><ColumnReference Column="Expr1140"/><ColumnReference Column="Expr1155"/><ColumnReference Column="Expr1170"/><ColumnReference Column="Expr1184"/><ColumnReference Column="Expr1199"/><ColumnReference Column="Expr1214"/><ColumnReference Column="Expr1228"/><ColumnReference Column="Expr1243"/><ColumnReference Column="Expr1258"/><ColumnReference Column="Expr1273"/></OutputList><NestedLoops Optimized="0"><OuterReferences><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></OuterReferences>
<RelOp NodeId="35" PhysicalOp="Nested Loops" LogicalOp="Inner Join" EstimateRows="200" EstimateIO="0" EstimateCPU="0.000836" AvgRowSize="193" EstimatedTotalSubtreeCost="908.573" Parallel="0" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1021"/><ColumnReference Column="Expr1036"/><ColumnReference Column="Expr1051"/><ColumnReference Column="Expr1066"/><ColumnReference Column="Expr1081"/><ColumnReference Column="Expr1096"/><ColumnReference Column="Expr1111"/><ColumnReference Column="Expr1126"/><ColumnReference Column="Expr1140"/><ColumnReference Column="Expr1155"/><ColumnReference Column="Expr1170"/><ColumnReference Column="Expr1184"/><ColumnReference Column="Expr1199"/><ColumnReference Column="Expr1214"/><ColumnReference Column="Expr1228"/><ColumnReference Column="Expr1243"/><ColumnReference Column="Expr1258"/></OutputList><NestedLoops Optimized="0"><OuterReferences><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></OuterReferences>
<RelOp NodeId="36" PhysicalOp="Nested Loops" LogicalOp="Inner Join" EstimateRows="200" EstimateIO="0" EstimateCPU="0.000836" AvgRowSize="179" EstimatedTotalSubtreeCost="855.187" Parallel="0" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1021"/><ColumnReference Column="Expr1036"/><ColumnReference Column="Expr1051"/><ColumnReference Column="Expr1066"/><ColumnReference Column="Expr1081"/><ColumnReference Column="Expr1096"/><ColumnReference Column="Expr1111"/><ColumnReference Column="Expr1126"/><ColumnReference Column="Expr1140"/><ColumnReference Column="Expr1155"/><ColumnReference Column="Expr1170"/><ColumnReference Column="Expr1184"/><ColumnReference Column="Expr1199"/><ColumnReference Column="Expr1214"/><ColumnReference Column="Expr1228"/><ColumnReference Column="Expr1243"/></OutputList><NestedLoops Optimized="0"><OuterReferences><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></OuterReferences>
<RelOp NodeId="37" PhysicalOp="Nested Loops" LogicalOp="Inner Join" EstimateRows="200" EstimateIO="0" EstimateCPU="0.000836" AvgRowSize="175" EstimatedTotalSubtreeCost="801.8" Parallel="0" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1021"/><ColumnReference Column="Expr1036"/><ColumnReference Column="Expr1051"/><ColumnReference Column="Expr1066"/><ColumnReference Column="Expr1081"/><ColumnReference Column="Expr1096"/><ColumnReference Column="Expr1111"/><ColumnReference Column="Expr1126"/><ColumnReference Column="Expr1140"/><ColumnReference Column="Expr1155"/><ColumnReference Column="Expr1170"/><ColumnReference Column="Expr1184"/><ColumnReference Column="Expr1199"/><ColumnReference Column="Expr1214"/><ColumnReference Column="Expr1228"/></OutputList><NestedLoops Optimized="0"><PassThru><ScalarOperator ScalarString="isnull([Expr1214],&apos;&apos;)=&apos;&apos;"><Compare CompareOp="EQ"><ScalarOperator><Intrinsic FunctionName="isnull"><ScalarOperator><Identifier><ColumnReference Column="Expr1214"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="&apos;&apos;"/></ScalarOperator></Intrinsic></ScalarOperator><ScalarOperator><Const ConstValue="&apos;&apos;"/></ScalarOperator></Compare></ScalarOperator></PassThru><OuterReferences><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></OuterReferences>
<RelOp NodeId="38" PhysicalOp="Nested Loops" LogicalOp="Inner Join" EstimateRows="200" EstimateIO="0" EstimateCPU="0.000836" AvgRowSize="163" EstimatedTotalSubtreeCost="748.414" Parallel="0" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1021"/><ColumnReference Column="Expr1036"/><ColumnReference Column="Expr1051"/><ColumnReference Column="Expr1066"/><ColumnReference Column="Expr1081"/><ColumnReference Column="Expr1096"/><ColumnReference Column="Expr1111"/><ColumnReference Column="Expr1126"/><ColumnReference Column="Expr1140"/><ColumnReference Column="Expr1155"/><ColumnReference Column="Expr1170"/><ColumnReference Column="Expr1184"/><ColumnReference Column="Expr1199"/><ColumnReference Column="Expr1214"/></OutputList><NestedLoops Optimized="0"><OuterReferences><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></OuterReferences>
<RelOp NodeId="39" PhysicalOp="Nested Loops" LogicalOp="Inner Join" EstimateRows="200" EstimateIO="0" EstimateCPU="0.000836" AvgRowSize="151" EstimatedTotalSubtreeCost="695.028" Parallel="0" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1021"/><ColumnReference Column="Expr1036"/><ColumnReference Column="Expr1051"/><ColumnReference Column="Expr1066"/><ColumnReference Column="Expr1081"/><ColumnReference Column="Expr1096"/><ColumnReference Column="Expr1111"/><ColumnReference Column="Expr1126"/><ColumnReference Column="Expr1140"/><ColumnReference Column="Expr1155"/><ColumnReference Column="Expr1170"/><ColumnReference Column="Expr1184"/><ColumnReference Column="Expr1199"/></OutputList><NestedLoops Optimized="0"><OuterReferences><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></OuterReferences>
<RelOp NodeId="40" PhysicalOp="Nested Loops" LogicalOp="Inner Join" EstimateRows="200" EstimateIO="0" EstimateCPU="0.000836" AvgRowSize="147" EstimatedTotalSubtreeCost="641.641" Parallel="0" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1021"/><ColumnReference Column="Expr1036"/><ColumnReference Column="Expr1051"/><ColumnReference Column="Expr1066"/><ColumnReference Column="Expr1081"/><ColumnReference Column="Expr1096"/><ColumnReference Column="Expr1111"/><ColumnReference Column="Expr1126"/><ColumnReference Column="Expr1140"/><ColumnReference Column="Expr1155"/><ColumnReference Column="Expr1170"/><ColumnReference Column="Expr1184"/></OutputList><NestedLoops Optimized="0"><PassThru><ScalarOperator ScalarString="isnull([Expr1170],&apos;&apos;)=&apos;&apos;"><Compare CompareOp="EQ"><ScalarOperator><Intrinsic FunctionName="isnull"><ScalarOperator><Identifier><ColumnReference Column="Expr1170"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="&apos;&apos;"/></ScalarOperator></Intrinsic></ScalarOperator><ScalarOperator><Const ConstValue="&apos;&apos;"/></ScalarOperator></Compare></ScalarOperator></PassThru><OuterReferences><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></OuterReferences>
<RelOp NodeId="41" PhysicalOp="Nested Loops" LogicalOp="Inner Join" EstimateRows="200" EstimateIO="0" EstimateCPU="0.000836" AvgRowSize="135" EstimatedTotalSubtreeCost="588.255" Parallel="0" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1021"/><ColumnReference Column="Expr1036"/><ColumnReference Column="Expr1051"/><ColumnReference Column="Expr1066"/><ColumnReference Column="Expr1081"/><ColumnReference Column="Expr1096"/><ColumnReference Column="Expr1111"/><ColumnReference Column="Expr1126"/><ColumnReference Column="Expr1140"/><ColumnReference Column="Expr1155"/><ColumnReference Column="Expr1170"/></OutputList><NestedLoops Optimized="0"><OuterReferences><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></OuterReferences>
<RelOp NodeId="42" PhysicalOp="Nested Loops" LogicalOp="Inner Join" EstimateRows="200" EstimateIO="0" EstimateCPU="0.000836" AvgRowSize="123" EstimatedTotalSubtreeCost="534.868" Parallel="0" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1021"/><ColumnReference Column="Expr1036"/><ColumnReference Column="Expr1051"/><ColumnReference Column="Expr1066"/><ColumnReference Column="Expr1081"/><ColumnReference Column="Expr1096"/><ColumnReference Column="Expr1111"/><ColumnReference Column="Expr1126"/><ColumnReference Column="Expr1140"/><ColumnReference Column="Expr1155"/></OutputList><NestedLoops Optimized="0"><OuterReferences><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></OuterReferences>
<RelOp NodeId="43" PhysicalOp="Nested Loops" LogicalOp="Inner Join" EstimateRows="200" EstimateIO="0" EstimateCPU="0.000836" AvgRowSize="120" EstimatedTotalSubtreeCost="481.482" Parallel="0" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1021"/><ColumnReference Column="Expr1036"/><ColumnReference Column="Expr1051"/><ColumnReference Column="Expr1066"/><ColumnReference Column="Expr1081"/><ColumnReference Column="Expr1096"/><ColumnReference Column="Expr1111"/><ColumnReference Column="Expr1126"/><ColumnReference Column="Expr1140"/></OutputList><NestedLoops Optimized="0"><PassThru><ScalarOperator ScalarString="isnull([Expr1126],&apos;&apos;)=&apos;&apos;"><Compare CompareOp="EQ"><ScalarOperator><Intrinsic FunctionName="isnull"><ScalarOperator><Identifier><ColumnReference Column="Expr1126"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="&apos;&apos;"/></ScalarOperator></Intrinsic></ScalarOperator><ScalarOperator><Const ConstValue="&apos;&apos;"/></ScalarOperator></Compare></ScalarOperator></PassThru><OuterReferences><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></OuterReferences>
<RelOp NodeId="44" PhysicalOp="Nested Loops" LogicalOp="Inner Join" EstimateRows="200" EstimateIO="0" EstimateCPU="0.000836" AvgRowSize="108" EstimatedTotalSubtreeCost="428.095" Parallel="0" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1021"/><ColumnReference Column="Expr1036"/><ColumnReference Column="Expr1051"/><ColumnReference Column="Expr1066"/><ColumnReference Column="Expr1081"/><ColumnReference Column="Expr1096"/><ColumnReference Column="Expr1111"/><ColumnReference Column="Expr1126"/></OutputList><NestedLoops Optimized="0"><OuterReferences><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></OuterReferences>
<RelOp NodeId="45" PhysicalOp="Nested Loops" LogicalOp="Inner Join" EstimateRows="200" EstimateIO="0" EstimateCPU="0.000836" AvgRowSize="95" EstimatedTotalSubtreeCost="374.709" Parallel="0" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1021"/><ColumnReference Column="Expr1036"/><ColumnReference Column="Expr1051"/><ColumnReference Column="Expr1066"/><ColumnReference Column="Expr1081"/><ColumnReference Column="Expr1096"/><ColumnReference Column="Expr1111"/></OutputList><NestedLoops Optimized="0"><OuterReferences><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></OuterReferences>
<RelOp NodeId="46" PhysicalOp="Nested Loops" LogicalOp="Inner Join" EstimateRows="200" EstimateIO="0" EstimateCPU="0.000836" AvgRowSize="92" EstimatedTotalSubtreeCost="321.323" Parallel="0" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1021"/><ColumnReference Column="Expr1036"/><ColumnReference Column="Expr1051"/><ColumnReference Column="Expr1066"/><ColumnReference Column="Expr1081"/><ColumnReference Column="Expr1096"/></OutputList><NestedLoops Optimized="0"><OuterReferences><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></OuterReferences>
<RelOp NodeId="47" PhysicalOp="Nested Loops" LogicalOp="Inner Join" EstimateRows="200" EstimateIO="0" EstimateCPU="0.000836" AvgRowSize="85" EstimatedTotalSubtreeCost="267.936" Parallel="0" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1021"/><ColumnReference Column="Expr1036"/><ColumnReference Column="Expr1051"/><ColumnReference Column="Expr1066"/><ColumnReference Column="Expr1081"/></OutputList><NestedLoops Optimized="0"><OuterReferences><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></OuterReferences>
<RelOp NodeId="48" PhysicalOp="Nested Loops" LogicalOp="Inner Join" EstimateRows="200" EstimateIO="0" EstimateCPU="0.000836" AvgRowSize="71" EstimatedTotalSubtreeCost="214.55" Parallel="0" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1021"/><ColumnReference Column="Expr1036"/><ColumnReference Column="Expr1051"/><ColumnReference Column="Expr1066"/></OutputList><NestedLoops Optimized="0"><OuterReferences><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></OuterReferences>
<RelOp NodeId="49" PhysicalOp="Nested Loops" LogicalOp="Inner Join" EstimateRows="200" EstimateIO="0" EstimateCPU="0.000836" AvgRowSize="57" EstimatedTotalSubtreeCost="161.163" Parallel="0" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1021"/><ColumnReference Column="Expr1036"/><ColumnReference Column="Expr1051"/></OutputList><NestedLoops Optimized="0"><OuterReferences><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></OuterReferences>
<RelOp NodeId="50" PhysicalOp="Nested Loops" LogicalOp="Inner Join" EstimateRows="200" EstimateIO="0" EstimateCPU="0.000836" AvgRowSize="43" EstimatedTotalSubtreeCost="107.777" Parallel="0" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1021"/><ColumnReference Column="Expr1036"/></OutputList><NestedLoops Optimized="0"><OuterReferences><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></OuterReferences>
<RelOp NodeId="51" PhysicalOp="Nested Loops" LogicalOp="Inner Join" EstimateRows="200" EstimateIO="0" EstimateCPU="0.000836" AvgRowSize="29" EstimatedTotalSubtreeCost="54.3905" Parallel="0" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1021"/></OutputList><NestedLoops Optimized="0"><OuterReferences><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></OuterReferences>
<RelOp NodeId="52" PhysicalOp="Top" LogicalOp="Top" EstimateRows="200" EstimateIO="0" EstimateCPU="2e-005" AvgRowSize="17" EstimatedTotalSubtreeCost="1.00408" Parallel="0" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></OutputList><Top RowCount="1" IsPercent="0" WithTies="0"><TopExpression><ScalarOperator ScalarString="(0)"><Const ConstValue="(0)"/></ScalarOperator></TopExpression>
<RelOp NodeId="53" PhysicalOp="Filter" LogicalOp="Filter" EstimateRows="200" EstimateIO="0" EstimateCPU="5.6e-005" AvgRowSize="17" EstimatedTotalSubtreeCost="1.00406" Parallel="0" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></OutputList><Filter StartupExpression="1">
<RelOp NodeId="54" PhysicalOp="Table-valued function" LogicalOp="Table-valued function" EstimateRows="200" EstimateIO="0" EstimateCPU="1.004" AvgRowSize="17" EstimatedTotalSubtreeCost="1.004" Parallel="0" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></OutputList><TableValuedFunction><DefinedValues><DefinedValue><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></DefinedValue></DefinedValues><Object Table="[XML Reader with XPath filter]"/><ParameterList><ScalarOperator ScalarString="[@xml]"><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator ScalarString="(0)"><Const ConstValue="(0)"/></ScalarOperator><ScalarOperator ScalarString="NULL"><Const ConstValue="NULL"/></ScalarOperator><ScalarOperator ScalarString="NULL"><Const ConstValue="NULL"/></ScalarOperator></ParameterList></TableValuedFunction></RelOp><Predicate><ScalarOperator ScalarString="[@xml] IS NOT NULL"><Identifier><ColumnReference Column="ConstExpr1749"><ScalarOperator><Compare CompareOp="IS NOT"><ScalarOperator><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="NULL"/></ScalarOperator></Compare></ScalarOperator></ColumnReference></Identifier></ScalarOperator></Predicate></Filter></RelOp></Top></RelOp>
<RelOp NodeId="61" PhysicalOp="Stream Aggregate" LogicalOp="Aggregate" EstimateRows="1" EstimateIO="0" EstimateCPU="0.0004325" AvgRowSize="21" EstimatedTotalSubtreeCost="53.3856" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Column="Expr1021"/></OutputList><StreamAggregate><DefinedValues><DefinedValue><ColumnReference Column="Expr1021"/><ScalarOperator ScalarString="MIN(CASE WHEN [@xml] IS NULL THEN NULL ELSE CASE WHEN datalength([Expr1018])&gt;=(128) THEN CONVERT_IMPLICIT(varchar(20),[Expr1019],0) ELSE CONVERT_IMPLICIT(varchar(20),[Expr1018],0) END END)"><Aggregate Distinct="0" AggType="MIN"><ScalarOperator><IF><Condition><ScalarOperator><Compare CompareOp="IS"><ScalarOperator><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="NULL"/></ScalarOperator></Compare></ScalarOperator></Condition><Then><ScalarOperator><Const ConstValue="NULL"/></ScalarOperator></Then><Else><ScalarOperator><IF><Condition><ScalarOperator><Compare CompareOp="GE"><ScalarOperator><Intrinsic FunctionName="datalength"><ScalarOperator><Identifier><ColumnReference Column="Expr1018"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator><ScalarOperator><Const ConstValue="(128)"/></ScalarOperator></Compare></ScalarOperator></Condition><Then><ScalarOperator><Convert DataType="varchar" Length="20" Style="0" Implicit="1"><ScalarOperator><Identifier><ColumnReference Column="Expr1019"/></Identifier></ScalarOperator></Convert></ScalarOperator></Then><Else><ScalarOperator><Convert DataType="varchar" Length="20" Style="0" Implicit="1"><ScalarOperator><Identifier><ColumnReference Column="Expr1018"/></Identifier></ScalarOperator></Convert></ScalarOperator></Else></IF></ScalarOperator></Else></IF></ScalarOperator></Aggregate></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="62" PhysicalOp="UDX" LogicalOp="UDX" EstimateRows="720" EstimateIO="0" EstimateCPU="0.00072" AvgRowSize="8045" EstimatedTotalSubtreeCost="53.2991" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Column="Expr1018"/><ColumnReference Column="Expr1019"/></OutputList><Extension UDXName="XQUERY DATA"><DefinedValues><DefinedValue><ColumnReference Column="Expr1016"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1017"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1018"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1019"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1020"/></DefinedValue></DefinedValues><UsedUDXColumns><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/><ColumnReference Column="Expr1012"/><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Table="[XML Reader]" Column="id"/></UsedUDXColumns>
<RelOp NodeId="63" PhysicalOp="Nested Loops" LogicalOp="Inner Join" EstimateRows="900" EstimateIO="0" EstimateCPU="0.0418" AvgRowSize="8559" EstimatedTotalSubtreeCost="53.1551" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1012"/><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><NestedLoops Optimized="0"><Predicate><ScalarOperator ScalarString="XML Reader with XPath filter.[id]&lt;=XML Reader.[id] AND [Expr1753]&gt;XML Reader.[id]"><Logical Operation="AND"><ScalarOperator><Compare CompareOp="LE"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Identifier><ColumnReference Table="[XML Reader]" Column="id"/></Identifier></ScalarOperator></Compare></ScalarOperator><ScalarOperator><Compare CompareOp="GT"><ScalarOperator><Identifier><ColumnReference Column="Expr1753"/></Identifier></ScalarOperator><ScalarOperator><Identifier><ColumnReference Table="[XML Reader]" Column="id"/></Identifier></ScalarOperator></Compare></ScalarOperator></Logical></ScalarOperator></Predicate>
<RelOp NodeId="64" PhysicalOp="Top" LogicalOp="Top" EstimateRows="1" EstimateIO="0" EstimateCPU="1e-007" AvgRowSize="921" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1012"/><ColumnReference Column="Expr1753"/></OutputList><Top RowCount="0" IsPercent="0" WithTies="0"><TopExpression><ScalarOperator ScalarString="(1)"><Const ConstValue="(1)"/></ScalarOperator></TopExpression>
<RelOp NodeId="65" PhysicalOp="Compute Scalar" LogicalOp="Compute Scalar" EstimateRows="1" EstimateIO="0" EstimateCPU="4.78647e-007" AvgRowSize="921" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1012"/><ColumnReference Column="Expr1753"/></OutputList><ComputeScalar><DefinedValues><DefinedValue><ColumnReference Column="Expr1012"/><ScalarOperator ScalarString="0x58"><Const ConstValue="0x58"/></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="66" PhysicalOp="Filter" LogicalOp="Filter" EstimateRows="1" EstimateIO="0" EstimateCPU="1.224e-005" AvgRowSize="469" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1753"/></OutputList><Filter StartupExpression="0">
<RelOp NodeId="67" PhysicalOp="Compute Scalar" LogicalOp="Compute Scalar" EstimateRows="3.7606" EstimateIO="0" EstimateCPU="1.8e-006" AvgRowSize="469" EstimatedTotalSubtreeCost="41.7996" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1753"/></OutputList><ComputeScalar><DefinedValues><DefinedValue><ColumnReference Column="Expr1753"/><ScalarOperator ScalarString="getdescendantlimit(XML Reader with XPath filter.[id])"><Intrinsic FunctionName="getdescendantlimit"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="68" PhysicalOp="Table-valued function" LogicalOp="Table-valued function" EstimateRows="3.7606" EstimateIO="0" EstimateCPU="1.00036" AvgRowSize="17" EstimatedTotalSubtreeCost="41.7995" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></OutputList><TableValuedFunction><DefinedValues><DefinedValue><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></DefinedValue></DefinedValues><Object Table="[XML Reader with XPath filter]"/><ParameterList><ScalarOperator ScalarString="[@xml]"><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator ScalarString="(7)"><Const ConstValue="(7)"/></ScalarOperator><ScalarOperator ScalarString="XML Reader with XPath filter.[id]"><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator ScalarString="getdescendantlimit(XML Reader with XPath filter.[id])"><Intrinsic FunctionName="getdescendantlimit"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator></ParameterList></TableValuedFunction></RelOp></ComputeScalar></RelOp><Predicate><ScalarOperator ScalarString="XML Reader with XPath filter.[id]=getancestor(XML Reader with XPath filter.[id],(1))"><Compare CompareOp="EQ"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Intrinsic FunctionName="getancestor"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="(1)"/></ScalarOperator></Intrinsic></ScalarOperator></Compare></ScalarOperator></Predicate></Filter></RelOp></ComputeScalar></RelOp></Top></RelOp>
<RelOp NodeId="81" PhysicalOp="Table Spool" LogicalOp="Eager Spool" EstimateRows="10000" EstimateIO="0.013125" EstimateCPU="0.0037006" AvgRowSize="8099" EstimatedTotalSubtreeCost="1.59493" Parallel="0" EstimateRebinds="0" EstimateRewinds="199"><OutputList><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><Spool>
<RelOp NodeId="82" PhysicalOp="Table-valued function" LogicalOp="Table-valued function" EstimateRows="10000" EstimateIO="0" EstimateCPU="1.2" AvgRowSize="8099" EstimatedTotalSubtreeCost="1.2" Parallel="0" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><TableValuedFunction><DefinedValues><DefinedValue><ColumnReference Table="[XML Reader]" Column="id"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="nid"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="tid"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="value"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="lvalue"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></DefinedValue></DefinedValues><Object Table="[XML Reader]"/><ParameterList><ScalarOperator ScalarString="[@xml]"><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator ScalarString="(0)"><Const ConstValue="(0)"/></ScalarOperator><ScalarOperator ScalarString="NULL"><Const ConstValue="NULL"/></ScalarOperator><ScalarOperator ScalarString="NULL"><Const ConstValue="NULL"/></ScalarOperator></ParameterList></TableValuedFunction></RelOp></Spool></RelOp></NestedLoops></RelOp></Extension></RelOp></StreamAggregate></RelOp></NestedLoops></RelOp>
<RelOp NodeId="91" PhysicalOp="Stream Aggregate" LogicalOp="Aggregate" EstimateRows="1" EstimateIO="0" EstimateCPU="0.0004325" AvgRowSize="23" EstimatedTotalSubtreeCost="53.3856" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Column="Expr1036"/></OutputList><StreamAggregate><DefinedValues><DefinedValue><ColumnReference Column="Expr1036"/><ScalarOperator ScalarString="MIN(CASE WHEN [@xml] IS NULL THEN NULL ELSE CASE WHEN datalength([Expr1033])&gt;=(128) THEN CONVERT_IMPLICIT(varchar(25),[Expr1034],0) ELSE CONVERT_IMPLICIT(varchar(25),[Expr1033],0) END END)"><Aggregate Distinct="0" AggType="MIN"><ScalarOperator><IF><Condition><ScalarOperator><Compare CompareOp="IS"><ScalarOperator><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="NULL"/></ScalarOperator></Compare></ScalarOperator></Condition><Then><ScalarOperator><Const ConstValue="NULL"/></ScalarOperator></Then><Else><ScalarOperator><IF><Condition><ScalarOperator><Compare CompareOp="GE"><ScalarOperator><Intrinsic FunctionName="datalength"><ScalarOperator><Identifier><ColumnReference Column="Expr1033"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator><ScalarOperator><Const ConstValue="(128)"/></ScalarOperator></Compare></ScalarOperator></Condition><Then><ScalarOperator><Convert DataType="varchar" Length="25" Style="0" Implicit="1"><ScalarOperator><Identifier><ColumnReference Column="Expr1034"/></Identifier></ScalarOperator></Convert></ScalarOperator></Then><Else><ScalarOperator><Convert DataType="varchar" Length="25" Style="0" Implicit="1"><ScalarOperator><Identifier><ColumnReference Column="Expr1033"/></Identifier></ScalarOperator></Convert></ScalarOperator></Else></IF></ScalarOperator></Else></IF></ScalarOperator></Aggregate></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="92" PhysicalOp="UDX" LogicalOp="UDX" EstimateRows="720" EstimateIO="0" EstimateCPU="0.00072" AvgRowSize="8045" EstimatedTotalSubtreeCost="53.2991" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Column="Expr1033"/><ColumnReference Column="Expr1034"/></OutputList><Extension UDXName="XQUERY DATA"><DefinedValues><DefinedValue><ColumnReference Column="Expr1031"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1032"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1033"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1034"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1035"/></DefinedValue></DefinedValues><UsedUDXColumns><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/><ColumnReference Column="Expr1027"/><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Table="[XML Reader]" Column="id"/></UsedUDXColumns>
<RelOp NodeId="93" PhysicalOp="Nested Loops" LogicalOp="Inner Join" EstimateRows="900" EstimateIO="0" EstimateCPU="0.0418" AvgRowSize="8559" EstimatedTotalSubtreeCost="53.1551" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1027"/><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><NestedLoops Optimized="0"><Predicate><ScalarOperator ScalarString="XML Reader with XPath filter.[id]&lt;=XML Reader.[id] AND [Expr1755]&gt;XML Reader.[id]"><Logical Operation="AND"><ScalarOperator><Compare CompareOp="LE"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Identifier><ColumnReference Table="[XML Reader]" Column="id"/></Identifier></ScalarOperator></Compare></ScalarOperator><ScalarOperator><Compare CompareOp="GT"><ScalarOperator><Identifier><ColumnReference Column="Expr1755"/></Identifier></ScalarOperator><ScalarOperator><Identifier><ColumnReference Table="[XML Reader]" Column="id"/></Identifier></ScalarOperator></Compare></ScalarOperator></Logical></ScalarOperator></Predicate>
<RelOp NodeId="94" PhysicalOp="Top" LogicalOp="Top" EstimateRows="1" EstimateIO="0" EstimateCPU="1e-007" AvgRowSize="921" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1027"/><ColumnReference Column="Expr1755"/></OutputList><Top RowCount="0" IsPercent="0" WithTies="0"><TopExpression><ScalarOperator ScalarString="(1)"><Const ConstValue="(1)"/></ScalarOperator></TopExpression>
<RelOp NodeId="95" PhysicalOp="Compute Scalar" LogicalOp="Compute Scalar" EstimateRows="1" EstimateIO="0" EstimateCPU="4.78647e-007" AvgRowSize="921" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1027"/><ColumnReference Column="Expr1755"/></OutputList><ComputeScalar><DefinedValues><DefinedValue><ColumnReference Column="Expr1027"/><ScalarOperator ScalarString="0x58"><Const ConstValue="0x58"/></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="96" PhysicalOp="Filter" LogicalOp="Filter" EstimateRows="1" EstimateIO="0" EstimateCPU="1.224e-005" AvgRowSize="469" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1755"/></OutputList><Filter StartupExpression="0">
<RelOp NodeId="97" PhysicalOp="Compute Scalar" LogicalOp="Compute Scalar" EstimateRows="3.7606" EstimateIO="0" EstimateCPU="1.8e-006" AvgRowSize="469" EstimatedTotalSubtreeCost="41.7996" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1755"/></OutputList><ComputeScalar><DefinedValues><DefinedValue><ColumnReference Column="Expr1755"/><ScalarOperator ScalarString="getdescendantlimit(XML Reader with XPath filter.[id])"><Intrinsic FunctionName="getdescendantlimit"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="98" PhysicalOp="Table-valued function" LogicalOp="Table-valued function" EstimateRows="3.7606" EstimateIO="0" EstimateCPU="1.00036" AvgRowSize="17" EstimatedTotalSubtreeCost="41.7995" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></OutputList><TableValuedFunction><DefinedValues><DefinedValue><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></DefinedValue></DefinedValues><Object Table="[XML Reader with XPath filter]"/><ParameterList><ScalarOperator ScalarString="[@xml]"><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator ScalarString="(7)"><Const ConstValue="(7)"/></ScalarOperator><ScalarOperator ScalarString="XML Reader with XPath filter.[id]"><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator ScalarString="getdescendantlimit(XML Reader with XPath filter.[id])"><Intrinsic FunctionName="getdescendantlimit"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator></ParameterList></TableValuedFunction></RelOp></ComputeScalar></RelOp><Predicate><ScalarOperator ScalarString="XML Reader with XPath filter.[id]=getancestor(XML Reader with XPath filter.[id],(1))"><Compare CompareOp="EQ"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Intrinsic FunctionName="getancestor"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="(1)"/></ScalarOperator></Intrinsic></ScalarOperator></Compare></ScalarOperator></Predicate></Filter></RelOp></ComputeScalar></RelOp></Top></RelOp>
<RelOp NodeId="111" PhysicalOp="Table Spool" LogicalOp="Eager Spool" EstimateRows="10000" EstimateIO="0.013125" EstimateCPU="0.0037006" AvgRowSize="8099" EstimatedTotalSubtreeCost="1.59493" Parallel="0" EstimateRebinds="0" EstimateRewinds="199"><OutputList><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><Spool>
<RelOp NodeId="112" PhysicalOp="Table-valued function" LogicalOp="Table-valued function" EstimateRows="10000" EstimateIO="0" EstimateCPU="1.2" AvgRowSize="8099" EstimatedTotalSubtreeCost="1.2" Parallel="0" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><TableValuedFunction><DefinedValues><DefinedValue><ColumnReference Table="[XML Reader]" Column="id"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="nid"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="tid"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="value"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="lvalue"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></DefinedValue></DefinedValues><Object Table="[XML Reader]"/><ParameterList><ScalarOperator ScalarString="[@xml]"><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator ScalarString="(0)"><Const ConstValue="(0)"/></ScalarOperator><ScalarOperator ScalarString="NULL"><Const ConstValue="NULL"/></ScalarOperator><ScalarOperator ScalarString="NULL"><Const ConstValue="NULL"/></ScalarOperator></ParameterList></TableValuedFunction></RelOp></Spool></RelOp></NestedLoops></RelOp></Extension></RelOp></StreamAggregate></RelOp></NestedLoops></RelOp>
<RelOp NodeId="121" PhysicalOp="Stream Aggregate" LogicalOp="Aggregate" EstimateRows="1" EstimateIO="0" EstimateCPU="0.0004325" AvgRowSize="23" EstimatedTotalSubtreeCost="53.3856" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Column="Expr1051"/></OutputList><StreamAggregate><DefinedValues><DefinedValue><ColumnReference Column="Expr1051"/><ScalarOperator ScalarString="MIN(CASE WHEN [@xml] IS NULL THEN NULL ELSE CASE WHEN datalength([Expr1048])&gt;=(128) THEN CONVERT_IMPLICIT(varchar(25),[Expr1049],0) ELSE CONVERT_IMPLICIT(varchar(25),[Expr1048],0) END END)"><Aggregate Distinct="0" AggType="MIN"><ScalarOperator><IF><Condition><ScalarOperator><Compare CompareOp="IS"><ScalarOperator><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="NULL"/></ScalarOperator></Compare></ScalarOperator></Condition><Then><ScalarOperator><Const ConstValue="NULL"/></ScalarOperator></Then><Else><ScalarOperator><IF><Condition><ScalarOperator><Compare CompareOp="GE"><ScalarOperator><Intrinsic FunctionName="datalength"><ScalarOperator><Identifier><ColumnReference Column="Expr1048"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator><ScalarOperator><Const ConstValue="(128)"/></ScalarOperator></Compare></ScalarOperator></Condition><Then><ScalarOperator><Convert DataType="varchar" Length="25" Style="0" Implicit="1"><ScalarOperator><Identifier><ColumnReference Column="Expr1049"/></Identifier></ScalarOperator></Convert></ScalarOperator></Then><Else><ScalarOperator><Convert DataType="varchar" Length="25" Style="0" Implicit="1"><ScalarOperator><Identifier><ColumnReference Column="Expr1048"/></Identifier></ScalarOperator></Convert></ScalarOperator></Else></IF></ScalarOperator></Else></IF></ScalarOperator></Aggregate></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="122" PhysicalOp="UDX" LogicalOp="UDX" EstimateRows="720" EstimateIO="0" EstimateCPU="0.00072" AvgRowSize="8045" EstimatedTotalSubtreeCost="53.2991" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Column="Expr1048"/><ColumnReference Column="Expr1049"/></OutputList><Extension UDXName="XQUERY DATA"><DefinedValues><DefinedValue><ColumnReference Column="Expr1046"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1047"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1048"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1049"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1050"/></DefinedValue></DefinedValues><UsedUDXColumns><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/><ColumnReference Column="Expr1042"/><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Table="[XML Reader]" Column="id"/></UsedUDXColumns>
<RelOp NodeId="123" PhysicalOp="Nested Loops" LogicalOp="Inner Join" EstimateRows="900" EstimateIO="0" EstimateCPU="0.0418" AvgRowSize="8559" EstimatedTotalSubtreeCost="53.1551" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1042"/><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><NestedLoops Optimized="0"><Predicate><ScalarOperator ScalarString="XML Reader with XPath filter.[id]&lt;=XML Reader.[id] AND [Expr1757]&gt;XML Reader.[id]"><Logical Operation="AND"><ScalarOperator><Compare CompareOp="LE"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Identifier><ColumnReference Table="[XML Reader]" Column="id"/></Identifier></ScalarOperator></Compare></ScalarOperator><ScalarOperator><Compare CompareOp="GT"><ScalarOperator><Identifier><ColumnReference Column="Expr1757"/></Identifier></ScalarOperator><ScalarOperator><Identifier><ColumnReference Table="[XML Reader]" Column="id"/></Identifier></ScalarOperator></Compare></ScalarOperator></Logical></ScalarOperator></Predicate>
<RelOp NodeId="124" PhysicalOp="Top" LogicalOp="Top" EstimateRows="1" EstimateIO="0" EstimateCPU="1e-007" AvgRowSize="921" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1042"/><ColumnReference Column="Expr1757"/></OutputList><Top RowCount="0" IsPercent="0" WithTies="0"><TopExpression><ScalarOperator ScalarString="(1)"><Const ConstValue="(1)"/></ScalarOperator></TopExpression>
<RelOp NodeId="125" PhysicalOp="Compute Scalar" LogicalOp="Compute Scalar" EstimateRows="1" EstimateIO="0" EstimateCPU="4.78647e-007" AvgRowSize="921" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1042"/><ColumnReference Column="Expr1757"/></OutputList><ComputeScalar><DefinedValues><DefinedValue><ColumnReference Column="Expr1042"/><ScalarOperator ScalarString="0x58"><Const ConstValue="0x58"/></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="126" PhysicalOp="Filter" LogicalOp="Filter" EstimateRows="1" EstimateIO="0" EstimateCPU="1.224e-005" AvgRowSize="469" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1757"/></OutputList><Filter StartupExpression="0">
<RelOp NodeId="127" PhysicalOp="Compute Scalar" LogicalOp="Compute Scalar" EstimateRows="3.7606" EstimateIO="0" EstimateCPU="1.8e-006" AvgRowSize="469" EstimatedTotalSubtreeCost="41.7996" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1757"/></OutputList><ComputeScalar><DefinedValues><DefinedValue><ColumnReference Column="Expr1757"/><ScalarOperator ScalarString="getdescendantlimit(XML Reader with XPath filter.[id])"><Intrinsic FunctionName="getdescendantlimit"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="128" PhysicalOp="Table-valued function" LogicalOp="Table-valued function" EstimateRows="3.7606" EstimateIO="0" EstimateCPU="1.00036" AvgRowSize="17" EstimatedTotalSubtreeCost="41.7995" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></OutputList><TableValuedFunction><DefinedValues><DefinedValue><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></DefinedValue></DefinedValues><Object Table="[XML Reader with XPath filter]"/><ParameterList><ScalarOperator ScalarString="[@xml]"><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator ScalarString="(7)"><Const ConstValue="(7)"/></ScalarOperator><ScalarOperator ScalarString="XML Reader with XPath filter.[id]"><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator ScalarString="getdescendantlimit(XML Reader with XPath filter.[id])"><Intrinsic FunctionName="getdescendantlimit"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator></ParameterList></TableValuedFunction></RelOp></ComputeScalar></RelOp><Predicate><ScalarOperator ScalarString="XML Reader with XPath filter.[id]=getancestor(XML Reader with XPath filter.[id],(1))"><Compare CompareOp="EQ"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Intrinsic FunctionName="getancestor"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="(1)"/></ScalarOperator></Intrinsic></ScalarOperator></Compare></ScalarOperator></Predicate></Filter></RelOp></ComputeScalar></RelOp></Top></RelOp>
<RelOp NodeId="141" PhysicalOp="Table Spool" LogicalOp="Eager Spool" EstimateRows="10000" EstimateIO="0.013125" EstimateCPU="0.0037006" AvgRowSize="8099" EstimatedTotalSubtreeCost="1.59493" Parallel="0" EstimateRebinds="0" EstimateRewinds="199"><OutputList><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><Spool>
<RelOp NodeId="142" PhysicalOp="Table-valued function" LogicalOp="Table-valued function" EstimateRows="10000" EstimateIO="0" EstimateCPU="1.2" AvgRowSize="8099" EstimatedTotalSubtreeCost="1.2" Parallel="0" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><TableValuedFunction><DefinedValues><DefinedValue><ColumnReference Table="[XML Reader]" Column="id"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="nid"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="tid"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="value"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="lvalue"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></DefinedValue></DefinedValues><Object Table="[XML Reader]"/><ParameterList><ScalarOperator ScalarString="[@xml]"><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator ScalarString="(0)"><Const ConstValue="(0)"/></ScalarOperator><ScalarOperator ScalarString="NULL"><Const ConstValue="NULL"/></ScalarOperator><ScalarOperator ScalarString="NULL"><Const ConstValue="NULL"/></ScalarOperator></ParameterList></TableValuedFunction></RelOp></Spool></RelOp></NestedLoops></RelOp></Extension></RelOp></StreamAggregate></RelOp></NestedLoops></RelOp>
<RelOp NodeId="151" PhysicalOp="Stream Aggregate" LogicalOp="Aggregate" EstimateRows="1" EstimateIO="0" EstimateCPU="0.0004325" AvgRowSize="23" EstimatedTotalSubtreeCost="53.3856" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Column="Expr1066"/></OutputList><StreamAggregate><DefinedValues><DefinedValue><ColumnReference Column="Expr1066"/><ScalarOperator ScalarString="MIN(CASE WHEN [@xml] IS NULL THEN NULL ELSE CASE WHEN datalength([Expr1063])&gt;=(128) THEN CONVERT_IMPLICIT(varchar(25),[Expr1064],0) ELSE CONVERT_IMPLICIT(varchar(25),[Expr1063],0) END END)"><Aggregate Distinct="0" AggType="MIN"><ScalarOperator><IF><Condition><ScalarOperator><Compare CompareOp="IS"><ScalarOperator><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="NULL"/></ScalarOperator></Compare></ScalarOperator></Condition><Then><ScalarOperator><Const ConstValue="NULL"/></ScalarOperator></Then><Else><ScalarOperator><IF><Condition><ScalarOperator><Compare CompareOp="GE"><ScalarOperator><Intrinsic FunctionName="datalength"><ScalarOperator><Identifier><ColumnReference Column="Expr1063"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator><ScalarOperator><Const ConstValue="(128)"/></ScalarOperator></Compare></ScalarOperator></Condition><Then><ScalarOperator><Convert DataType="varchar" Length="25" Style="0" Implicit="1"><ScalarOperator><Identifier><ColumnReference Column="Expr1064"/></Identifier></ScalarOperator></Convert></ScalarOperator></Then><Else><ScalarOperator><Convert DataType="varchar" Length="25" Style="0" Implicit="1"><ScalarOperator><Identifier><ColumnReference Column="Expr1063"/></Identifier></ScalarOperator></Convert></ScalarOperator></Else></IF></ScalarOperator></Else></IF></ScalarOperator></Aggregate></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="152" PhysicalOp="UDX" LogicalOp="UDX" EstimateRows="720" EstimateIO="0" EstimateCPU="0.00072" AvgRowSize="8045" EstimatedTotalSubtreeCost="53.2991" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Column="Expr1063"/><ColumnReference Column="Expr1064"/></OutputList><Extension UDXName="XQUERY DATA"><DefinedValues><DefinedValue><ColumnReference Column="Expr1061"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1062"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1063"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1064"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1065"/></DefinedValue></DefinedValues><UsedUDXColumns><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/><ColumnReference Column="Expr1057"/><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Table="[XML Reader]" Column="id"/></UsedUDXColumns>
<RelOp NodeId="153" PhysicalOp="Nested Loops" LogicalOp="Inner Join" EstimateRows="900" EstimateIO="0" EstimateCPU="0.0418" AvgRowSize="8559" EstimatedTotalSubtreeCost="53.1551" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1057"/><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><NestedLoops Optimized="0"><Predicate><ScalarOperator ScalarString="XML Reader with XPath filter.[id]&lt;=XML Reader.[id] AND [Expr1759]&gt;XML Reader.[id]"><Logical Operation="AND"><ScalarOperator><Compare CompareOp="LE"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Identifier><ColumnReference Table="[XML Reader]" Column="id"/></Identifier></ScalarOperator></Compare></ScalarOperator><ScalarOperator><Compare CompareOp="GT"><ScalarOperator><Identifier><ColumnReference Column="Expr1759"/></Identifier></ScalarOperator><ScalarOperator><Identifier><ColumnReference Table="[XML Reader]" Column="id"/></Identifier></ScalarOperator></Compare></ScalarOperator></Logical></ScalarOperator></Predicate>
<RelOp NodeId="154" PhysicalOp="Top" LogicalOp="Top" EstimateRows="1" EstimateIO="0" EstimateCPU="1e-007" AvgRowSize="921" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1057"/><ColumnReference Column="Expr1759"/></OutputList><Top RowCount="0" IsPercent="0" WithTies="0"><TopExpression><ScalarOperator ScalarString="(1)"><Const ConstValue="(1)"/></ScalarOperator></TopExpression>
<RelOp NodeId="155" PhysicalOp="Compute Scalar" LogicalOp="Compute Scalar" EstimateRows="1" EstimateIO="0" EstimateCPU="4.78647e-007" AvgRowSize="921" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1057"/><ColumnReference Column="Expr1759"/></OutputList><ComputeScalar><DefinedValues><DefinedValue><ColumnReference Column="Expr1057"/><ScalarOperator ScalarString="0x58"><Const ConstValue="0x58"/></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="156" PhysicalOp="Filter" LogicalOp="Filter" EstimateRows="1" EstimateIO="0" EstimateCPU="1.224e-005" AvgRowSize="469" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1759"/></OutputList><Filter StartupExpression="0">
<RelOp NodeId="157" PhysicalOp="Compute Scalar" LogicalOp="Compute Scalar" EstimateRows="3.7606" EstimateIO="0" EstimateCPU="1.8e-006" AvgRowSize="469" EstimatedTotalSubtreeCost="41.7996" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1759"/></OutputList><ComputeScalar><DefinedValues><DefinedValue><ColumnReference Column="Expr1759"/><ScalarOperator ScalarString="getdescendantlimit(XML Reader with XPath filter.[id])"><Intrinsic FunctionName="getdescendantlimit"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="158" PhysicalOp="Table-valued function" LogicalOp="Table-valued function" EstimateRows="3.7606" EstimateIO="0" EstimateCPU="1.00036" AvgRowSize="17" EstimatedTotalSubtreeCost="41.7995" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></OutputList><TableValuedFunction><DefinedValues><DefinedValue><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></DefinedValue></DefinedValues><Object Table="[XML Reader with XPath filter]"/><ParameterList><ScalarOperator ScalarString="[@xml]"><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator ScalarString="(7)"><Const ConstValue="(7)"/></ScalarOperator><ScalarOperator ScalarString="XML Reader with XPath filter.[id]"><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator ScalarString="getdescendantlimit(XML Reader with XPath filter.[id])"><Intrinsic FunctionName="getdescendantlimit"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator></ParameterList></TableValuedFunction></RelOp></ComputeScalar></RelOp><Predicate><ScalarOperator ScalarString="XML Reader with XPath filter.[id]=getancestor(XML Reader with XPath filter.[id],(1))"><Compare CompareOp="EQ"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Intrinsic FunctionName="getancestor"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="(1)"/></ScalarOperator></Intrinsic></ScalarOperator></Compare></ScalarOperator></Predicate></Filter></RelOp></ComputeScalar></RelOp></Top></RelOp>
<RelOp NodeId="171" PhysicalOp="Table Spool" LogicalOp="Eager Spool" EstimateRows="10000" EstimateIO="0.013125" EstimateCPU="0.0037006" AvgRowSize="8099" EstimatedTotalSubtreeCost="1.59493" Parallel="0" EstimateRebinds="0" EstimateRewinds="199"><OutputList><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><Spool>
<RelOp NodeId="172" PhysicalOp="Table-valued function" LogicalOp="Table-valued function" EstimateRows="10000" EstimateIO="0" EstimateCPU="1.2" AvgRowSize="8099" EstimatedTotalSubtreeCost="1.2" Parallel="0" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><TableValuedFunction><DefinedValues><DefinedValue><ColumnReference Table="[XML Reader]" Column="id"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="nid"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="tid"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="value"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="lvalue"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></DefinedValue></DefinedValues><Object Table="[XML Reader]"/><ParameterList><ScalarOperator ScalarString="[@xml]"><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator ScalarString="(0)"><Const ConstValue="(0)"/></ScalarOperator><ScalarOperator ScalarString="NULL"><Const ConstValue="NULL"/></ScalarOperator><ScalarOperator ScalarString="NULL"><Const ConstValue="NULL"/></ScalarOperator></ParameterList></TableValuedFunction></RelOp></Spool></RelOp></NestedLoops></RelOp></Extension></RelOp></StreamAggregate></RelOp></NestedLoops></RelOp>
<RelOp NodeId="181" PhysicalOp="Stream Aggregate" LogicalOp="Aggregate" EstimateRows="1" EstimateIO="0" EstimateCPU="0.0004325" AvgRowSize="23" EstimatedTotalSubtreeCost="53.3856" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Column="Expr1081"/></OutputList><StreamAggregate><DefinedValues><DefinedValue><ColumnReference Column="Expr1081"/><ScalarOperator ScalarString="MIN(CASE WHEN [@xml] IS NULL THEN NULL ELSE CASE WHEN datalength([Expr1078])&gt;=(128) THEN CONVERT_IMPLICIT(varchar(25),[Expr1079],0) ELSE CONVERT_IMPLICIT(varchar(25),[Expr1078],0) END END)"><Aggregate Distinct="0" AggType="MIN"><ScalarOperator><IF><Condition><ScalarOperator><Compare CompareOp="IS"><ScalarOperator><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="NULL"/></ScalarOperator></Compare></ScalarOperator></Condition><Then><ScalarOperator><Const ConstValue="NULL"/></ScalarOperator></Then><Else><ScalarOperator><IF><Condition><ScalarOperator><Compare CompareOp="GE"><ScalarOperator><Intrinsic FunctionName="datalength"><ScalarOperator><Identifier><ColumnReference Column="Expr1078"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator><ScalarOperator><Const ConstValue="(128)"/></ScalarOperator></Compare></ScalarOperator></Condition><Then><ScalarOperator><Convert DataType="varchar" Length="25" Style="0" Implicit="1"><ScalarOperator><Identifier><ColumnReference Column="Expr1079"/></Identifier></ScalarOperator></Convert></ScalarOperator></Then><Else><ScalarOperator><Convert DataType="varchar" Length="25" Style="0" Implicit="1"><ScalarOperator><Identifier><ColumnReference Column="Expr1078"/></Identifier></ScalarOperator></Convert></ScalarOperator></Else></IF></ScalarOperator></Else></IF></ScalarOperator></Aggregate></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="182" PhysicalOp="UDX" LogicalOp="UDX" EstimateRows="720" EstimateIO="0" EstimateCPU="0.00072" AvgRowSize="8045" EstimatedTotalSubtreeCost="53.2991" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Column="Expr1078"/><ColumnReference Column="Expr1079"/></OutputList><Extension UDXName="XQUERY DATA"><DefinedValues><DefinedValue><ColumnReference Column="Expr1076"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1077"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1078"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1079"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1080"/></DefinedValue></DefinedValues><UsedUDXColumns><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/><ColumnReference Column="Expr1072"/><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Table="[XML Reader]" Column="id"/></UsedUDXColumns>
<RelOp NodeId="183" PhysicalOp="Nested Loops" LogicalOp="Inner Join" EstimateRows="900" EstimateIO="0" EstimateCPU="0.0418" AvgRowSize="8559" EstimatedTotalSubtreeCost="53.1551" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1072"/><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><NestedLoops Optimized="0"><Predicate><ScalarOperator ScalarString="XML Reader with XPath filter.[id]&lt;=XML Reader.[id] AND [Expr1761]&gt;XML Reader.[id]"><Logical Operation="AND"><ScalarOperator><Compare CompareOp="LE"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Identifier><ColumnReference Table="[XML Reader]" Column="id"/></Identifier></ScalarOperator></Compare></ScalarOperator><ScalarOperator><Compare CompareOp="GT"><ScalarOperator><Identifier><ColumnReference Column="Expr1761"/></Identifier></ScalarOperator><ScalarOperator><Identifier><ColumnReference Table="[XML Reader]" Column="id"/></Identifier></ScalarOperator></Compare></ScalarOperator></Logical></ScalarOperator></Predicate>
<RelOp NodeId="184" PhysicalOp="Top" LogicalOp="Top" EstimateRows="1" EstimateIO="0" EstimateCPU="1e-007" AvgRowSize="921" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1072"/><ColumnReference Column="Expr1761"/></OutputList><Top RowCount="0" IsPercent="0" WithTies="0"><TopExpression><ScalarOperator ScalarString="(1)"><Const ConstValue="(1)"/></ScalarOperator></TopExpression>
<RelOp NodeId="185" PhysicalOp="Compute Scalar" LogicalOp="Compute Scalar" EstimateRows="1" EstimateIO="0" EstimateCPU="4.78647e-007" AvgRowSize="921" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1072"/><ColumnReference Column="Expr1761"/></OutputList><ComputeScalar><DefinedValues><DefinedValue><ColumnReference Column="Expr1072"/><ScalarOperator ScalarString="0x58"><Const ConstValue="0x58"/></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="186" PhysicalOp="Filter" LogicalOp="Filter" EstimateRows="1" EstimateIO="0" EstimateCPU="1.224e-005" AvgRowSize="469" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1761"/></OutputList><Filter StartupExpression="0">
<RelOp NodeId="187" PhysicalOp="Compute Scalar" LogicalOp="Compute Scalar" EstimateRows="3.7606" EstimateIO="0" EstimateCPU="1.8e-006" AvgRowSize="469" EstimatedTotalSubtreeCost="41.7996" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1761"/></OutputList><ComputeScalar><DefinedValues><DefinedValue><ColumnReference Column="Expr1761"/><ScalarOperator ScalarString="getdescendantlimit(XML Reader with XPath filter.[id])"><Intrinsic FunctionName="getdescendantlimit"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="188" PhysicalOp="Table-valued function" LogicalOp="Table-valued function" EstimateRows="3.7606" EstimateIO="0" EstimateCPU="1.00036" AvgRowSize="17" EstimatedTotalSubtreeCost="41.7995" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></OutputList><TableValuedFunction><DefinedValues><DefinedValue><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></DefinedValue></DefinedValues><Object Table="[XML Reader with XPath filter]"/><ParameterList><ScalarOperator ScalarString="[@xml]"><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator ScalarString="(7)"><Const ConstValue="(7)"/></ScalarOperator><ScalarOperator ScalarString="XML Reader with XPath filter.[id]"><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator ScalarString="getdescendantlimit(XML Reader with XPath filter.[id])"><Intrinsic FunctionName="getdescendantlimit"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator></ParameterList></TableValuedFunction></RelOp></ComputeScalar></RelOp><Predicate><ScalarOperator ScalarString="XML Reader with XPath filter.[id]=getancestor(XML Reader with XPath filter.[id],(1))"><Compare CompareOp="EQ"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Intrinsic FunctionName="getancestor"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="(1)"/></ScalarOperator></Intrinsic></ScalarOperator></Compare></ScalarOperator></Predicate></Filter></RelOp></ComputeScalar></RelOp></Top></RelOp>
<RelOp NodeId="201" PhysicalOp="Table Spool" LogicalOp="Eager Spool" EstimateRows="10000" EstimateIO="0.013125" EstimateCPU="0.0037006" AvgRowSize="8099" EstimatedTotalSubtreeCost="1.59493" Parallel="0" EstimateRebinds="0" EstimateRewinds="199"><OutputList><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><Spool>
<RelOp NodeId="202" PhysicalOp="Table-valued function" LogicalOp="Table-valued function" EstimateRows="10000" EstimateIO="0" EstimateCPU="1.2" AvgRowSize="8099" EstimatedTotalSubtreeCost="1.2" Parallel="0" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><TableValuedFunction><DefinedValues><DefinedValue><ColumnReference Table="[XML Reader]" Column="id"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="nid"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="tid"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="value"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="lvalue"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></DefinedValue></DefinedValues><Object Table="[XML Reader]"/><ParameterList><ScalarOperator ScalarString="[@xml]"><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator ScalarString="(0)"><Const ConstValue="(0)"/></ScalarOperator><ScalarOperator ScalarString="NULL"><Const ConstValue="NULL"/></ScalarOperator><ScalarOperator ScalarString="NULL"><Const ConstValue="NULL"/></ScalarOperator></ParameterList></TableValuedFunction></RelOp></Spool></RelOp></NestedLoops></RelOp></Extension></RelOp></StreamAggregate></RelOp></NestedLoops></RelOp>
<RelOp NodeId="211" PhysicalOp="Stream Aggregate" LogicalOp="Aggregate" EstimateRows="1" EstimateIO="0" EstimateCPU="0.0004325" AvgRowSize="16" EstimatedTotalSubtreeCost="53.3856" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Column="Expr1096"/></OutputList><StreamAggregate><DefinedValues><DefinedValue><ColumnReference Column="Expr1096"/><ScalarOperator ScalarString="MIN(CASE WHEN [@xml] IS NULL THEN NULL ELSE CASE WHEN datalength([Expr1093])&gt;=(128) THEN CONVERT_IMPLICIT(varchar(10),[Expr1094],0) ELSE CONVERT_IMPLICIT(varchar(10),[Expr1093],0) END END)"><Aggregate Distinct="0" AggType="MIN"><ScalarOperator><IF><Condition><ScalarOperator><Compare CompareOp="IS"><ScalarOperator><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="NULL"/></ScalarOperator></Compare></ScalarOperator></Condition><Then><ScalarOperator><Const ConstValue="NULL"/></ScalarOperator></Then><Else><ScalarOperator><IF><Condition><ScalarOperator><Compare CompareOp="GE"><ScalarOperator><Intrinsic FunctionName="datalength"><ScalarOperator><Identifier><ColumnReference Column="Expr1093"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator><ScalarOperator><Const ConstValue="(128)"/></ScalarOperator></Compare></ScalarOperator></Condition><Then><ScalarOperator><Convert DataType="varchar" Length="10" Style="0" Implicit="1"><ScalarOperator><Identifier><ColumnReference Column="Expr1094"/></Identifier></ScalarOperator></Convert></ScalarOperator></Then><Else><ScalarOperator><Convert DataType="varchar" Length="10" Style="0" Implicit="1"><ScalarOperator><Identifier><ColumnReference Column="Expr1093"/></Identifier></ScalarOperator></Convert></ScalarOperator></Else></IF></ScalarOperator></Else></IF></ScalarOperator></Aggregate></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="212" PhysicalOp="UDX" LogicalOp="UDX" EstimateRows="720" EstimateIO="0" EstimateCPU="0.00072" AvgRowSize="8045" EstimatedTotalSubtreeCost="53.2991" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Column="Expr1093"/><ColumnReference Column="Expr1094"/></OutputList><Extension UDXName="XQUERY DATA"><DefinedValues><DefinedValue><ColumnReference Column="Expr1091"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1092"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1093"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1094"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1095"/></DefinedValue></DefinedValues><UsedUDXColumns><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/><ColumnReference Column="Expr1087"/><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Table="[XML Reader]" Column="id"/></UsedUDXColumns>
<RelOp NodeId="213" PhysicalOp="Nested Loops" LogicalOp="Inner Join" EstimateRows="900" EstimateIO="0" EstimateCPU="0.0418" AvgRowSize="8559" EstimatedTotalSubtreeCost="53.1551" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1087"/><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><NestedLoops Optimized="0"><Predicate><ScalarOperator ScalarString="XML Reader with XPath filter.[id]&lt;=XML Reader.[id] AND [Expr1763]&gt;XML Reader.[id]"><Logical Operation="AND"><ScalarOperator><Compare CompareOp="LE"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Identifier><ColumnReference Table="[XML Reader]" Column="id"/></Identifier></ScalarOperator></Compare></ScalarOperator><ScalarOperator><Compare CompareOp="GT"><ScalarOperator><Identifier><ColumnReference Column="Expr1763"/></Identifier></ScalarOperator><ScalarOperator><Identifier><ColumnReference Table="[XML Reader]" Column="id"/></Identifier></ScalarOperator></Compare></ScalarOperator></Logical></ScalarOperator></Predicate>
<RelOp NodeId="214" PhysicalOp="Top" LogicalOp="Top" EstimateRows="1" EstimateIO="0" EstimateCPU="1e-007" AvgRowSize="921" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1087"/><ColumnReference Column="Expr1763"/></OutputList><Top RowCount="0" IsPercent="0" WithTies="0"><TopExpression><ScalarOperator ScalarString="(1)"><Const ConstValue="(1)"/></ScalarOperator></TopExpression>
<RelOp NodeId="215" PhysicalOp="Compute Scalar" LogicalOp="Compute Scalar" EstimateRows="1" EstimateIO="0" EstimateCPU="4.78647e-007" AvgRowSize="921" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1087"/><ColumnReference Column="Expr1763"/></OutputList><ComputeScalar><DefinedValues><DefinedValue><ColumnReference Column="Expr1087"/><ScalarOperator ScalarString="0x58"><Const ConstValue="0x58"/></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="216" PhysicalOp="Filter" LogicalOp="Filter" EstimateRows="1" EstimateIO="0" EstimateCPU="1.224e-005" AvgRowSize="469" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1763"/></OutputList><Filter StartupExpression="0">
<RelOp NodeId="217" PhysicalOp="Compute Scalar" LogicalOp="Compute Scalar" EstimateRows="3.7606" EstimateIO="0" EstimateCPU="1.8e-006" AvgRowSize="469" EstimatedTotalSubtreeCost="41.7996" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1763"/></OutputList><ComputeScalar><DefinedValues><DefinedValue><ColumnReference Column="Expr1763"/><ScalarOperator ScalarString="getdescendantlimit(XML Reader with XPath filter.[id])"><Intrinsic FunctionName="getdescendantlimit"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="218" PhysicalOp="Table-valued function" LogicalOp="Table-valued function" EstimateRows="3.7606" EstimateIO="0" EstimateCPU="1.00036" AvgRowSize="17" EstimatedTotalSubtreeCost="41.7995" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></OutputList><TableValuedFunction><DefinedValues><DefinedValue><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></DefinedValue></DefinedValues><Object Table="[XML Reader with XPath filter]"/><ParameterList><ScalarOperator ScalarString="[@xml]"><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator ScalarString="(7)"><Const ConstValue="(7)"/></ScalarOperator><ScalarOperator ScalarString="XML Reader with XPath filter.[id]"><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator ScalarString="getdescendantlimit(XML Reader with XPath filter.[id])"><Intrinsic FunctionName="getdescendantlimit"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator></ParameterList></TableValuedFunction></RelOp></ComputeScalar></RelOp><Predicate><ScalarOperator ScalarString="XML Reader with XPath filter.[id]=getancestor(XML Reader with XPath filter.[id],(1))"><Compare CompareOp="EQ"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Intrinsic FunctionName="getancestor"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="(1)"/></ScalarOperator></Intrinsic></ScalarOperator></Compare></ScalarOperator></Predicate></Filter></RelOp></ComputeScalar></RelOp></Top></RelOp>
<RelOp NodeId="231" PhysicalOp="Table Spool" LogicalOp="Eager Spool" EstimateRows="10000" EstimateIO="0.013125" EstimateCPU="0.0037006" AvgRowSize="8099" EstimatedTotalSubtreeCost="1.59493" Parallel="0" EstimateRebinds="0" EstimateRewinds="199"><OutputList><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><Spool>
<RelOp NodeId="232" PhysicalOp="Table-valued function" LogicalOp="Table-valued function" EstimateRows="10000" EstimateIO="0" EstimateCPU="1.2" AvgRowSize="8099" EstimatedTotalSubtreeCost="1.2" Parallel="0" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><TableValuedFunction><DefinedValues><DefinedValue><ColumnReference Table="[XML Reader]" Column="id"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="nid"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="tid"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="value"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="lvalue"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></DefinedValue></DefinedValues><Object Table="[XML Reader]"/><ParameterList><ScalarOperator ScalarString="[@xml]"><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator ScalarString="(0)"><Const ConstValue="(0)"/></ScalarOperator><ScalarOperator ScalarString="NULL"><Const ConstValue="NULL"/></ScalarOperator><ScalarOperator ScalarString="NULL"><Const ConstValue="NULL"/></ScalarOperator></ParameterList></TableValuedFunction></RelOp></Spool></RelOp></NestedLoops></RelOp></Extension></RelOp></StreamAggregate></RelOp></NestedLoops></RelOp>
<RelOp NodeId="241" PhysicalOp="Stream Aggregate" LogicalOp="Aggregate" EstimateRows="1" EstimateIO="0" EstimateCPU="0.0004325" AvgRowSize="12" EstimatedTotalSubtreeCost="53.3856" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Column="Expr1111"/></OutputList><StreamAggregate><DefinedValues><DefinedValue><ColumnReference Column="Expr1111"/><ScalarOperator ScalarString="MIN(CASE WHEN [@xml] IS NULL THEN NULL ELSE CASE WHEN datalength([Expr1108])&gt;=(128) THEN CONVERT_IMPLICIT(varchar(3),[Expr1109],0) ELSE CONVERT_IMPLICIT(varchar(3),[Expr1108],0) END END)"><Aggregate Distinct="0" AggType="MIN"><ScalarOperator><IF><Condition><ScalarOperator><Compare CompareOp="IS"><ScalarOperator><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="NULL"/></ScalarOperator></Compare></ScalarOperator></Condition><Then><ScalarOperator><Const ConstValue="NULL"/></ScalarOperator></Then><Else><ScalarOperator><IF><Condition><ScalarOperator><Compare CompareOp="GE"><ScalarOperator><Intrinsic FunctionName="datalength"><ScalarOperator><Identifier><ColumnReference Column="Expr1108"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator><ScalarOperator><Const ConstValue="(128)"/></ScalarOperator></Compare></ScalarOperator></Condition><Then><ScalarOperator><Convert DataType="varchar" Length="3" Style="0" Implicit="1"><ScalarOperator><Identifier><ColumnReference Column="Expr1109"/></Identifier></ScalarOperator></Convert></ScalarOperator></Then><Else><ScalarOperator><Convert DataType="varchar" Length="3" Style="0" Implicit="1"><ScalarOperator><Identifier><ColumnReference Column="Expr1108"/></Identifier></ScalarOperator></Convert></ScalarOperator></Else></IF></ScalarOperator></Else></IF></ScalarOperator></Aggregate></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="242" PhysicalOp="UDX" LogicalOp="UDX" EstimateRows="720" EstimateIO="0" EstimateCPU="0.00072" AvgRowSize="8045" EstimatedTotalSubtreeCost="53.2991" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Column="Expr1108"/><ColumnReference Column="Expr1109"/></OutputList><Extension UDXName="XQUERY DATA"><DefinedValues><DefinedValue><ColumnReference Column="Expr1106"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1107"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1108"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1109"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1110"/></DefinedValue></DefinedValues><UsedUDXColumns><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/><ColumnReference Column="Expr1102"/><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Table="[XML Reader]" Column="id"/></UsedUDXColumns>
<RelOp NodeId="243" PhysicalOp="Nested Loops" LogicalOp="Inner Join" EstimateRows="900" EstimateIO="0" EstimateCPU="0.0418" AvgRowSize="8559" EstimatedTotalSubtreeCost="53.1551" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1102"/><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><NestedLoops Optimized="0"><Predicate><ScalarOperator ScalarString="XML Reader with XPath filter.[id]&lt;=XML Reader.[id] AND [Expr1765]&gt;XML Reader.[id]"><Logical Operation="AND"><ScalarOperator><Compare CompareOp="LE"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Identifier><ColumnReference Table="[XML Reader]" Column="id"/></Identifier></ScalarOperator></Compare></ScalarOperator><ScalarOperator><Compare CompareOp="GT"><ScalarOperator><Identifier><ColumnReference Column="Expr1765"/></Identifier></ScalarOperator><ScalarOperator><Identifier><ColumnReference Table="[XML Reader]" Column="id"/></Identifier></ScalarOperator></Compare></ScalarOperator></Logical></ScalarOperator></Predicate>
<RelOp NodeId="244" PhysicalOp="Top" LogicalOp="Top" EstimateRows="1" EstimateIO="0" EstimateCPU="1e-007" AvgRowSize="921" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1102"/><ColumnReference Column="Expr1765"/></OutputList><Top RowCount="0" IsPercent="0" WithTies="0"><TopExpression><ScalarOperator ScalarString="(1)"><Const ConstValue="(1)"/></ScalarOperator></TopExpression>
<RelOp NodeId="245" PhysicalOp="Compute Scalar" LogicalOp="Compute Scalar" EstimateRows="1" EstimateIO="0" EstimateCPU="4.78647e-007" AvgRowSize="921" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1102"/><ColumnReference Column="Expr1765"/></OutputList><ComputeScalar><DefinedValues><DefinedValue><ColumnReference Column="Expr1102"/><ScalarOperator ScalarString="0x58"><Const ConstValue="0x58"/></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="246" PhysicalOp="Filter" LogicalOp="Filter" EstimateRows="1" EstimateIO="0" EstimateCPU="1.224e-005" AvgRowSize="469" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1765"/></OutputList><Filter StartupExpression="0">
<RelOp NodeId="247" PhysicalOp="Compute Scalar" LogicalOp="Compute Scalar" EstimateRows="3.7606" EstimateIO="0" EstimateCPU="1.8e-006" AvgRowSize="469" EstimatedTotalSubtreeCost="41.7996" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1765"/></OutputList><ComputeScalar><DefinedValues><DefinedValue><ColumnReference Column="Expr1765"/><ScalarOperator ScalarString="getdescendantlimit(XML Reader with XPath filter.[id])"><Intrinsic FunctionName="getdescendantlimit"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="248" PhysicalOp="Table-valued function" LogicalOp="Table-valued function" EstimateRows="3.7606" EstimateIO="0" EstimateCPU="1.00036" AvgRowSize="17" EstimatedTotalSubtreeCost="41.7995" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></OutputList><TableValuedFunction><DefinedValues><DefinedValue><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></DefinedValue></DefinedValues><Object Table="[XML Reader with XPath filter]"/><ParameterList><ScalarOperator ScalarString="[@xml]"><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator ScalarString="(7)"><Const ConstValue="(7)"/></ScalarOperator><ScalarOperator ScalarString="XML Reader with XPath filter.[id]"><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator ScalarString="getdescendantlimit(XML Reader with XPath filter.[id])"><Intrinsic FunctionName="getdescendantlimit"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator></ParameterList></TableValuedFunction></RelOp></ComputeScalar></RelOp><Predicate><ScalarOperator ScalarString="XML Reader with XPath filter.[id]=getancestor(XML Reader with XPath filter.[id],(1))"><Compare CompareOp="EQ"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Intrinsic FunctionName="getancestor"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="(1)"/></ScalarOperator></Intrinsic></ScalarOperator></Compare></ScalarOperator></Predicate></Filter></RelOp></ComputeScalar></RelOp></Top></RelOp>
<RelOp NodeId="261" PhysicalOp="Table Spool" LogicalOp="Eager Spool" EstimateRows="10000" EstimateIO="0.013125" EstimateCPU="0.0037006" AvgRowSize="8099" EstimatedTotalSubtreeCost="1.59493" Parallel="0" EstimateRebinds="0" EstimateRewinds="199"><OutputList><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><Spool>
<RelOp NodeId="262" PhysicalOp="Table-valued function" LogicalOp="Table-valued function" EstimateRows="10000" EstimateIO="0" EstimateCPU="1.2" AvgRowSize="8099" EstimatedTotalSubtreeCost="1.2" Parallel="0" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><TableValuedFunction><DefinedValues><DefinedValue><ColumnReference Table="[XML Reader]" Column="id"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="nid"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="tid"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="value"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="lvalue"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></DefinedValue></DefinedValues><Object Table="[XML Reader]"/><ParameterList><ScalarOperator ScalarString="[@xml]"><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator ScalarString="(0)"><Const ConstValue="(0)"/></ScalarOperator><ScalarOperator ScalarString="NULL"><Const ConstValue="NULL"/></ScalarOperator><ScalarOperator ScalarString="NULL"><Const ConstValue="NULL"/></ScalarOperator></ParameterList></TableValuedFunction></RelOp></Spool></RelOp></NestedLoops></RelOp></Extension></RelOp></StreamAggregate></RelOp></NestedLoops></RelOp>
<RelOp NodeId="271" PhysicalOp="Stream Aggregate" LogicalOp="Aggregate" EstimateRows="1" EstimateIO="0" EstimateCPU="0.0004325" AvgRowSize="21" EstimatedTotalSubtreeCost="53.3856" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Column="Expr1126"/></OutputList><StreamAggregate><DefinedValues><DefinedValue><ColumnReference Column="Expr1126"/><ScalarOperator ScalarString="MIN(CASE WHEN [@xml] IS NULL THEN NULL ELSE CASE WHEN datalength([Expr1123])&gt;=(128) THEN CONVERT_IMPLICIT(varchar(20),[Expr1124],0) ELSE CONVERT_IMPLICIT(varchar(20),[Expr1123],0) END END)"><Aggregate Distinct="0" AggType="MIN"><ScalarOperator><IF><Condition><ScalarOperator><Compare CompareOp="IS"><ScalarOperator><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="NULL"/></ScalarOperator></Compare></ScalarOperator></Condition><Then><ScalarOperator><Const ConstValue="NULL"/></ScalarOperator></Then><Else><ScalarOperator><IF><Condition><ScalarOperator><Compare CompareOp="GE"><ScalarOperator><Intrinsic FunctionName="datalength"><ScalarOperator><Identifier><ColumnReference Column="Expr1123"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator><ScalarOperator><Const ConstValue="(128)"/></ScalarOperator></Compare></ScalarOperator></Condition><Then><ScalarOperator><Convert DataType="varchar" Length="20" Style="0" Implicit="1"><ScalarOperator><Identifier><ColumnReference Column="Expr1124"/></Identifier></ScalarOperator></Convert></ScalarOperator></Then><Else><ScalarOperator><Convert DataType="varchar" Length="20" Style="0" Implicit="1"><ScalarOperator><Identifier><ColumnReference Column="Expr1123"/></Identifier></ScalarOperator></Convert></ScalarOperator></Else></IF></ScalarOperator></Else></IF></ScalarOperator></Aggregate></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="272" PhysicalOp="UDX" LogicalOp="UDX" EstimateRows="720" EstimateIO="0" EstimateCPU="0.00072" AvgRowSize="8045" EstimatedTotalSubtreeCost="53.2991" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Column="Expr1123"/><ColumnReference Column="Expr1124"/></OutputList><Extension UDXName="XQUERY DATA"><DefinedValues><DefinedValue><ColumnReference Column="Expr1121"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1122"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1123"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1124"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1125"/></DefinedValue></DefinedValues><UsedUDXColumns><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/><ColumnReference Column="Expr1117"/><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Table="[XML Reader]" Column="id"/></UsedUDXColumns>
<RelOp NodeId="273" PhysicalOp="Nested Loops" LogicalOp="Inner Join" EstimateRows="900" EstimateIO="0" EstimateCPU="0.0418" AvgRowSize="8559" EstimatedTotalSubtreeCost="53.1551" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1117"/><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><NestedLoops Optimized="0"><Predicate><ScalarOperator ScalarString="XML Reader with XPath filter.[id]&lt;=XML Reader.[id] AND [Expr1767]&gt;XML Reader.[id]"><Logical Operation="AND"><ScalarOperator><Compare CompareOp="LE"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Identifier><ColumnReference Table="[XML Reader]" Column="id"/></Identifier></ScalarOperator></Compare></ScalarOperator><ScalarOperator><Compare CompareOp="GT"><ScalarOperator><Identifier><ColumnReference Column="Expr1767"/></Identifier></ScalarOperator><ScalarOperator><Identifier><ColumnReference Table="[XML Reader]" Column="id"/></Identifier></ScalarOperator></Compare></ScalarOperator></Logical></ScalarOperator></Predicate>
<RelOp NodeId="274" PhysicalOp="Top" LogicalOp="Top" EstimateRows="1" EstimateIO="0" EstimateCPU="1e-007" AvgRowSize="921" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1117"/><ColumnReference Column="Expr1767"/></OutputList><Top RowCount="0" IsPercent="0" WithTies="0"><TopExpression><ScalarOperator ScalarString="(1)"><Const ConstValue="(1)"/></ScalarOperator></TopExpression>
<RelOp NodeId="275" PhysicalOp="Compute Scalar" LogicalOp="Compute Scalar" EstimateRows="1" EstimateIO="0" EstimateCPU="4.78647e-007" AvgRowSize="921" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1117"/><ColumnReference Column="Expr1767"/></OutputList><ComputeScalar><DefinedValues><DefinedValue><ColumnReference Column="Expr1117"/><ScalarOperator ScalarString="0x58"><Const ConstValue="0x58"/></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="276" PhysicalOp="Filter" LogicalOp="Filter" EstimateRows="1" EstimateIO="0" EstimateCPU="1.224e-005" AvgRowSize="469" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1767"/></OutputList><Filter StartupExpression="0">
<RelOp NodeId="277" PhysicalOp="Compute Scalar" LogicalOp="Compute Scalar" EstimateRows="3.7606" EstimateIO="0" EstimateCPU="1.8e-006" AvgRowSize="469" EstimatedTotalSubtreeCost="41.7996" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1767"/></OutputList><ComputeScalar><DefinedValues><DefinedValue><ColumnReference Column="Expr1767"/><ScalarOperator ScalarString="getdescendantlimit(XML Reader with XPath filter.[id])"><Intrinsic FunctionName="getdescendantlimit"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="278" PhysicalOp="Table-valued function" LogicalOp="Table-valued function" EstimateRows="3.7606" EstimateIO="0" EstimateCPU="1.00036" AvgRowSize="17" EstimatedTotalSubtreeCost="41.7995" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></OutputList><TableValuedFunction><DefinedValues><DefinedValue><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></DefinedValue></DefinedValues><Object Table="[XML Reader with XPath filter]"/><ParameterList><ScalarOperator ScalarString="[@xml]"><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator ScalarString="(7)"><Const ConstValue="(7)"/></ScalarOperator><ScalarOperator ScalarString="XML Reader with XPath filter.[id]"><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator ScalarString="getdescendantlimit(XML Reader with XPath filter.[id])"><Intrinsic FunctionName="getdescendantlimit"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator></ParameterList></TableValuedFunction></RelOp></ComputeScalar></RelOp><Predicate><ScalarOperator ScalarString="XML Reader with XPath filter.[id]=getancestor(XML Reader with XPath filter.[id],(1))"><Compare CompareOp="EQ"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Intrinsic FunctionName="getancestor"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="(1)"/></ScalarOperator></Intrinsic></ScalarOperator></Compare></ScalarOperator></Predicate></Filter></RelOp></ComputeScalar></RelOp></Top></RelOp>
<RelOp NodeId="291" PhysicalOp="Table Spool" LogicalOp="Eager Spool" EstimateRows="10000" EstimateIO="0.013125" EstimateCPU="0.0037006" AvgRowSize="8099" EstimatedTotalSubtreeCost="1.59493" Parallel="0" EstimateRebinds="0" EstimateRewinds="199"><OutputList><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><Spool>
<RelOp NodeId="292" PhysicalOp="Table-valued function" LogicalOp="Table-valued function" EstimateRows="10000" EstimateIO="0" EstimateCPU="1.2" AvgRowSize="8099" EstimatedTotalSubtreeCost="1.2" Parallel="0" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><TableValuedFunction><DefinedValues><DefinedValue><ColumnReference Table="[XML Reader]" Column="id"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="nid"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="tid"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="value"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="lvalue"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></DefinedValue></DefinedValues><Object Table="[XML Reader]"/><ParameterList><ScalarOperator ScalarString="[@xml]"><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator ScalarString="(0)"><Const ConstValue="(0)"/></ScalarOperator><ScalarOperator ScalarString="NULL"><Const ConstValue="NULL"/></ScalarOperator><ScalarOperator ScalarString="NULL"><Const ConstValue="NULL"/></ScalarOperator></ParameterList></TableValuedFunction></RelOp></Spool></RelOp></NestedLoops></RelOp></Extension></RelOp></StreamAggregate></RelOp></NestedLoops></RelOp>
<RelOp NodeId="301" PhysicalOp="Stream Aggregate" LogicalOp="Aggregate" EstimateRows="1" EstimateIO="0" EstimateCPU="0.0004325" AvgRowSize="21" EstimatedTotalSubtreeCost="53.3856" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Column="Expr1140"/></OutputList><StreamAggregate><DefinedValues><DefinedValue><ColumnReference Column="Expr1140"/><ScalarOperator ScalarString="MIN(CASE WHEN [@xml] IS NULL THEN NULL ELSE CASE WHEN datalength([Expr1137])&gt;=(128) THEN CONVERT_IMPLICIT(varchar(20),[Expr1138],0) ELSE CONVERT_IMPLICIT(varchar(20),[Expr1137],0) END END)"><Aggregate Distinct="0" AggType="MIN"><ScalarOperator><IF><Condition><ScalarOperator><Compare CompareOp="IS"><ScalarOperator><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="NULL"/></ScalarOperator></Compare></ScalarOperator></Condition><Then><ScalarOperator><Const ConstValue="NULL"/></ScalarOperator></Then><Else><ScalarOperator><IF><Condition><ScalarOperator><Compare CompareOp="GE"><ScalarOperator><Intrinsic FunctionName="datalength"><ScalarOperator><Identifier><ColumnReference Column="Expr1137"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator><ScalarOperator><Const ConstValue="(128)"/></ScalarOperator></Compare></ScalarOperator></Condition><Then><ScalarOperator><Convert DataType="varchar" Length="20" Style="0" Implicit="1"><ScalarOperator><Identifier><ColumnReference Column="Expr1138"/></Identifier></ScalarOperator></Convert></ScalarOperator></Then><Else><ScalarOperator><Convert DataType="varchar" Length="20" Style="0" Implicit="1"><ScalarOperator><Identifier><ColumnReference Column="Expr1137"/></Identifier></ScalarOperator></Convert></ScalarOperator></Else></IF></ScalarOperator></Else></IF></ScalarOperator></Aggregate></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="302" PhysicalOp="UDX" LogicalOp="UDX" EstimateRows="720" EstimateIO="0" EstimateCPU="0.00072" AvgRowSize="8045" EstimatedTotalSubtreeCost="53.2991" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Column="Expr1137"/><ColumnReference Column="Expr1138"/></OutputList><Extension UDXName="XQUERY DATA"><DefinedValues><DefinedValue><ColumnReference Column="Expr1135"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1136"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1137"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1138"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1139"/></DefinedValue></DefinedValues><UsedUDXColumns><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/><ColumnReference Column="Expr1131"/><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Table="[XML Reader]" Column="id"/></UsedUDXColumns>
<RelOp NodeId="303" PhysicalOp="Nested Loops" LogicalOp="Inner Join" EstimateRows="900" EstimateIO="0" EstimateCPU="0.0418" AvgRowSize="8559" EstimatedTotalSubtreeCost="53.1551" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1131"/><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><NestedLoops Optimized="0"><Predicate><ScalarOperator ScalarString="XML Reader with XPath filter.[id]&lt;=XML Reader.[id] AND [Expr1769]&gt;XML Reader.[id]"><Logical Operation="AND"><ScalarOperator><Compare CompareOp="LE"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Identifier><ColumnReference Table="[XML Reader]" Column="id"/></Identifier></ScalarOperator></Compare></ScalarOperator><ScalarOperator><Compare CompareOp="GT"><ScalarOperator><Identifier><ColumnReference Column="Expr1769"/></Identifier></ScalarOperator><ScalarOperator><Identifier><ColumnReference Table="[XML Reader]" Column="id"/></Identifier></ScalarOperator></Compare></ScalarOperator></Logical></ScalarOperator></Predicate>
<RelOp NodeId="304" PhysicalOp="Top" LogicalOp="Top" EstimateRows="1" EstimateIO="0" EstimateCPU="1e-007" AvgRowSize="921" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1131"/><ColumnReference Column="Expr1769"/></OutputList><Top RowCount="0" IsPercent="0" WithTies="0"><TopExpression><ScalarOperator ScalarString="(1)"><Const ConstValue="(1)"/></ScalarOperator></TopExpression>
<RelOp NodeId="305" PhysicalOp="Compute Scalar" LogicalOp="Compute Scalar" EstimateRows="1" EstimateIO="0" EstimateCPU="4.78647e-007" AvgRowSize="921" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1131"/><ColumnReference Column="Expr1769"/></OutputList><ComputeScalar><DefinedValues><DefinedValue><ColumnReference Column="Expr1131"/><ScalarOperator ScalarString="0x58"><Const ConstValue="0x58"/></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="306" PhysicalOp="Filter" LogicalOp="Filter" EstimateRows="1" EstimateIO="0" EstimateCPU="1.224e-005" AvgRowSize="469" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1769"/></OutputList><Filter StartupExpression="0">
<RelOp NodeId="307" PhysicalOp="Compute Scalar" LogicalOp="Compute Scalar" EstimateRows="3.7606" EstimateIO="0" EstimateCPU="1.8e-006" AvgRowSize="469" EstimatedTotalSubtreeCost="41.7996" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1769"/></OutputList><ComputeScalar><DefinedValues><DefinedValue><ColumnReference Column="Expr1769"/><ScalarOperator ScalarString="getdescendantlimit(XML Reader with XPath filter.[id])"><Intrinsic FunctionName="getdescendantlimit"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="308" PhysicalOp="Table-valued function" LogicalOp="Table-valued function" EstimateRows="3.7606" EstimateIO="0" EstimateCPU="1.00036" AvgRowSize="17" EstimatedTotalSubtreeCost="41.7995" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></OutputList><TableValuedFunction><DefinedValues><DefinedValue><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></DefinedValue></DefinedValues><Object Table="[XML Reader with XPath filter]"/><ParameterList><ScalarOperator ScalarString="[@xml]"><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator ScalarString="(7)"><Const ConstValue="(7)"/></ScalarOperator><ScalarOperator ScalarString="XML Reader with XPath filter.[id]"><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator ScalarString="getdescendantlimit(XML Reader with XPath filter.[id])"><Intrinsic FunctionName="getdescendantlimit"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator></ParameterList></TableValuedFunction></RelOp></ComputeScalar></RelOp><Predicate><ScalarOperator ScalarString="XML Reader with XPath filter.[id]=getancestor(XML Reader with XPath filter.[id],(1))"><Compare CompareOp="EQ"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Intrinsic FunctionName="getancestor"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="(1)"/></ScalarOperator></Intrinsic></ScalarOperator></Compare></ScalarOperator></Predicate></Filter></RelOp></ComputeScalar></RelOp></Top></RelOp>
<RelOp NodeId="321" PhysicalOp="Table Spool" LogicalOp="Eager Spool" EstimateRows="10000" EstimateIO="0.013125" EstimateCPU="0.0037006" AvgRowSize="8099" EstimatedTotalSubtreeCost="1.59493" Parallel="0" EstimateRebinds="0" EstimateRewinds="199"><OutputList><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><Spool>
<RelOp NodeId="322" PhysicalOp="Table-valued function" LogicalOp="Table-valued function" EstimateRows="10000" EstimateIO="0" EstimateCPU="1.2" AvgRowSize="8099" EstimatedTotalSubtreeCost="1.2" Parallel="0" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><TableValuedFunction><DefinedValues><DefinedValue><ColumnReference Table="[XML Reader]" Column="id"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="nid"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="tid"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="value"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="lvalue"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></DefinedValue></DefinedValues><Object Table="[XML Reader]"/><ParameterList><ScalarOperator ScalarString="[@xml]"><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator ScalarString="(0)"><Const ConstValue="(0)"/></ScalarOperator><ScalarOperator ScalarString="NULL"><Const ConstValue="NULL"/></ScalarOperator><ScalarOperator ScalarString="NULL"><Const ConstValue="NULL"/></ScalarOperator></ParameterList></TableValuedFunction></RelOp></Spool></RelOp></NestedLoops></RelOp></Extension></RelOp></StreamAggregate></RelOp></NestedLoops></RelOp>
<RelOp NodeId="331" PhysicalOp="Stream Aggregate" LogicalOp="Aggregate" EstimateRows="1" EstimateIO="0" EstimateCPU="0.0004325" AvgRowSize="12" EstimatedTotalSubtreeCost="53.3856" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Column="Expr1155"/></OutputList><StreamAggregate><DefinedValues><DefinedValue><ColumnReference Column="Expr1155"/><ScalarOperator ScalarString="MIN(CASE WHEN [@xml] IS NULL THEN NULL ELSE CASE WHEN datalength([Expr1152])&gt;=(128) THEN CONVERT_IMPLICIT(varchar(3),[Expr1153],0) ELSE CONVERT_IMPLICIT(varchar(3),[Expr1152],0) END END)"><Aggregate Distinct="0" AggType="MIN"><ScalarOperator><IF><Condition><ScalarOperator><Compare CompareOp="IS"><ScalarOperator><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="NULL"/></ScalarOperator></Compare></ScalarOperator></Condition><Then><ScalarOperator><Const ConstValue="NULL"/></ScalarOperator></Then><Else><ScalarOperator><IF><Condition><ScalarOperator><Compare CompareOp="GE"><ScalarOperator><Intrinsic FunctionName="datalength"><ScalarOperator><Identifier><ColumnReference Column="Expr1152"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator><ScalarOperator><Const ConstValue="(128)"/></ScalarOperator></Compare></ScalarOperator></Condition><Then><ScalarOperator><Convert DataType="varchar" Length="3" Style="0" Implicit="1"><ScalarOperator><Identifier><ColumnReference Column="Expr1153"/></Identifier></ScalarOperator></Convert></ScalarOperator></Then><Else><ScalarOperator><Convert DataType="varchar" Length="3" Style="0" Implicit="1"><ScalarOperator><Identifier><ColumnReference Column="Expr1152"/></Identifier></ScalarOperator></Convert></ScalarOperator></Else></IF></ScalarOperator></Else></IF></ScalarOperator></Aggregate></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="332" PhysicalOp="UDX" LogicalOp="UDX" EstimateRows="720" EstimateIO="0" EstimateCPU="0.00072" AvgRowSize="8045" EstimatedTotalSubtreeCost="53.2991" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Column="Expr1152"/><ColumnReference Column="Expr1153"/></OutputList><Extension UDXName="XQUERY DATA"><DefinedValues><DefinedValue><ColumnReference Column="Expr1150"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1151"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1152"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1153"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1154"/></DefinedValue></DefinedValues><UsedUDXColumns><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/><ColumnReference Column="Expr1146"/><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Table="[XML Reader]" Column="id"/></UsedUDXColumns>
<RelOp NodeId="333" PhysicalOp="Nested Loops" LogicalOp="Inner Join" EstimateRows="900" EstimateIO="0" EstimateCPU="0.0418" AvgRowSize="8559" EstimatedTotalSubtreeCost="53.1551" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1146"/><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><NestedLoops Optimized="0"><Predicate><ScalarOperator ScalarString="XML Reader with XPath filter.[id]&lt;=XML Reader.[id] AND [Expr1771]&gt;XML Reader.[id]"><Logical Operation="AND"><ScalarOperator><Compare CompareOp="LE"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Identifier><ColumnReference Table="[XML Reader]" Column="id"/></Identifier></ScalarOperator></Compare></ScalarOperator><ScalarOperator><Compare CompareOp="GT"><ScalarOperator><Identifier><ColumnReference Column="Expr1771"/></Identifier></ScalarOperator><ScalarOperator><Identifier><ColumnReference Table="[XML Reader]" Column="id"/></Identifier></ScalarOperator></Compare></ScalarOperator></Logical></ScalarOperator></Predicate>
<RelOp NodeId="334" PhysicalOp="Top" LogicalOp="Top" EstimateRows="1" EstimateIO="0" EstimateCPU="1e-007" AvgRowSize="921" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1146"/><ColumnReference Column="Expr1771"/></OutputList><Top RowCount="0" IsPercent="0" WithTies="0"><TopExpression><ScalarOperator ScalarString="(1)"><Const ConstValue="(1)"/></ScalarOperator></TopExpression>
<RelOp NodeId="335" PhysicalOp="Compute Scalar" LogicalOp="Compute Scalar" EstimateRows="1" EstimateIO="0" EstimateCPU="4.78647e-007" AvgRowSize="921" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1146"/><ColumnReference Column="Expr1771"/></OutputList><ComputeScalar><DefinedValues><DefinedValue><ColumnReference Column="Expr1146"/><ScalarOperator ScalarString="0x58"><Const ConstValue="0x58"/></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="336" PhysicalOp="Filter" LogicalOp="Filter" EstimateRows="1" EstimateIO="0" EstimateCPU="1.224e-005" AvgRowSize="469" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1771"/></OutputList><Filter StartupExpression="0">
<RelOp NodeId="337" PhysicalOp="Compute Scalar" LogicalOp="Compute Scalar" EstimateRows="3.7606" EstimateIO="0" EstimateCPU="1.8e-006" AvgRowSize="469" EstimatedTotalSubtreeCost="41.7996" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1771"/></OutputList><ComputeScalar><DefinedValues><DefinedValue><ColumnReference Column="Expr1771"/><ScalarOperator ScalarString="getdescendantlimit(XML Reader with XPath filter.[id])"><Intrinsic FunctionName="getdescendantlimit"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="338" PhysicalOp="Table-valued function" LogicalOp="Table-valued function" EstimateRows="3.7606" EstimateIO="0" EstimateCPU="1.00036" AvgRowSize="17" EstimatedTotalSubtreeCost="41.7995" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></OutputList><TableValuedFunction><DefinedValues><DefinedValue><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></DefinedValue></DefinedValues><Object Table="[XML Reader with XPath filter]"/><ParameterList><ScalarOperator ScalarString="[@xml]"><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator ScalarString="(7)"><Const ConstValue="(7)"/></ScalarOperator><ScalarOperator ScalarString="XML Reader with XPath filter.[id]"><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator ScalarString="getdescendantlimit(XML Reader with XPath filter.[id])"><Intrinsic FunctionName="getdescendantlimit"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator></ParameterList></TableValuedFunction></RelOp></ComputeScalar></RelOp><Predicate><ScalarOperator ScalarString="XML Reader with XPath filter.[id]=getancestor(XML Reader with XPath filter.[id],(1))"><Compare CompareOp="EQ"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Intrinsic FunctionName="getancestor"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="(1)"/></ScalarOperator></Intrinsic></ScalarOperator></Compare></ScalarOperator></Predicate></Filter></RelOp></ComputeScalar></RelOp></Top></RelOp>
<RelOp NodeId="351" PhysicalOp="Table Spool" LogicalOp="Eager Spool" EstimateRows="10000" EstimateIO="0.013125" EstimateCPU="0.0037006" AvgRowSize="8099" EstimatedTotalSubtreeCost="1.59493" Parallel="0" EstimateRebinds="0" EstimateRewinds="199"><OutputList><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><Spool>
<RelOp NodeId="352" PhysicalOp="Table-valued function" LogicalOp="Table-valued function" EstimateRows="10000" EstimateIO="0" EstimateCPU="1.2" AvgRowSize="8099" EstimatedTotalSubtreeCost="1.2" Parallel="0" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><TableValuedFunction><DefinedValues><DefinedValue><ColumnReference Table="[XML Reader]" Column="id"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="nid"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="tid"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="value"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="lvalue"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></DefinedValue></DefinedValues><Object Table="[XML Reader]"/><ParameterList><ScalarOperator ScalarString="[@xml]"><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator ScalarString="(0)"><Const ConstValue="(0)"/></ScalarOperator><ScalarOperator ScalarString="NULL"><Const ConstValue="NULL"/></ScalarOperator><ScalarOperator ScalarString="NULL"><Const ConstValue="NULL"/></ScalarOperator></ParameterList></TableValuedFunction></RelOp></Spool></RelOp></NestedLoops></RelOp></Extension></RelOp></StreamAggregate></RelOp></NestedLoops></RelOp>
<RelOp NodeId="361" PhysicalOp="Stream Aggregate" LogicalOp="Aggregate" EstimateRows="1" EstimateIO="0" EstimateCPU="0.0004325" AvgRowSize="21" EstimatedTotalSubtreeCost="53.3856" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Column="Expr1170"/></OutputList><StreamAggregate><DefinedValues><DefinedValue><ColumnReference Column="Expr1170"/><ScalarOperator ScalarString="MIN(CASE WHEN [@xml] IS NULL THEN NULL ELSE CASE WHEN datalength([Expr1167])&gt;=(128) THEN CONVERT_IMPLICIT(varchar(20),[Expr1168],0) ELSE CONVERT_IMPLICIT(varchar(20),[Expr1167],0) END END)"><Aggregate Distinct="0" AggType="MIN"><ScalarOperator><IF><Condition><ScalarOperator><Compare CompareOp="IS"><ScalarOperator><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="NULL"/></ScalarOperator></Compare></ScalarOperator></Condition><Then><ScalarOperator><Const ConstValue="NULL"/></ScalarOperator></Then><Else><ScalarOperator><IF><Condition><ScalarOperator><Compare CompareOp="GE"><ScalarOperator><Intrinsic FunctionName="datalength"><ScalarOperator><Identifier><ColumnReference Column="Expr1167"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator><ScalarOperator><Const ConstValue="(128)"/></ScalarOperator></Compare></ScalarOperator></Condition><Then><ScalarOperator><Convert DataType="varchar" Length="20" Style="0" Implicit="1"><ScalarOperator><Identifier><ColumnReference Column="Expr1168"/></Identifier></ScalarOperator></Convert></ScalarOperator></Then><Else><ScalarOperator><Convert DataType="varchar" Length="20" Style="0" Implicit="1"><ScalarOperator><Identifier><ColumnReference Column="Expr1167"/></Identifier></ScalarOperator></Convert></ScalarOperator></Else></IF></ScalarOperator></Else></IF></ScalarOperator></Aggregate></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="362" PhysicalOp="UDX" LogicalOp="UDX" EstimateRows="720" EstimateIO="0" EstimateCPU="0.00072" AvgRowSize="8045" EstimatedTotalSubtreeCost="53.2991" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Column="Expr1167"/><ColumnReference Column="Expr1168"/></OutputList><Extension UDXName="XQUERY DATA"><DefinedValues><DefinedValue><ColumnReference Column="Expr1165"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1166"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1167"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1168"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1169"/></DefinedValue></DefinedValues><UsedUDXColumns><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/><ColumnReference Column="Expr1161"/><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Table="[XML Reader]" Column="id"/></UsedUDXColumns>
<RelOp NodeId="363" PhysicalOp="Nested Loops" LogicalOp="Inner Join" EstimateRows="900" EstimateIO="0" EstimateCPU="0.0418" AvgRowSize="8559" EstimatedTotalSubtreeCost="53.1551" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1161"/><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><NestedLoops Optimized="0"><Predicate><ScalarOperator ScalarString="XML Reader with XPath filter.[id]&lt;=XML Reader.[id] AND [Expr1773]&gt;XML Reader.[id]"><Logical Operation="AND"><ScalarOperator><Compare CompareOp="LE"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Identifier><ColumnReference Table="[XML Reader]" Column="id"/></Identifier></ScalarOperator></Compare></ScalarOperator><ScalarOperator><Compare CompareOp="GT"><ScalarOperator><Identifier><ColumnReference Column="Expr1773"/></Identifier></ScalarOperator><ScalarOperator><Identifier><ColumnReference Table="[XML Reader]" Column="id"/></Identifier></ScalarOperator></Compare></ScalarOperator></Logical></ScalarOperator></Predicate>
<RelOp NodeId="364" PhysicalOp="Top" LogicalOp="Top" EstimateRows="1" EstimateIO="0" EstimateCPU="1e-007" AvgRowSize="921" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1161"/><ColumnReference Column="Expr1773"/></OutputList><Top RowCount="0" IsPercent="0" WithTies="0"><TopExpression><ScalarOperator ScalarString="(1)"><Const ConstValue="(1)"/></ScalarOperator></TopExpression>
<RelOp NodeId="365" PhysicalOp="Compute Scalar" LogicalOp="Compute Scalar" EstimateRows="1" EstimateIO="0" EstimateCPU="4.78647e-007" AvgRowSize="921" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1161"/><ColumnReference Column="Expr1773"/></OutputList><ComputeScalar><DefinedValues><DefinedValue><ColumnReference Column="Expr1161"/><ScalarOperator ScalarString="0x58"><Const ConstValue="0x58"/></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="366" PhysicalOp="Filter" LogicalOp="Filter" EstimateRows="1" EstimateIO="0" EstimateCPU="1.224e-005" AvgRowSize="469" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1773"/></OutputList><Filter StartupExpression="0">
<RelOp NodeId="367" PhysicalOp="Compute Scalar" LogicalOp="Compute Scalar" EstimateRows="3.7606" EstimateIO="0" EstimateCPU="1.8e-006" AvgRowSize="469" EstimatedTotalSubtreeCost="41.7996" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1773"/></OutputList><ComputeScalar><DefinedValues><DefinedValue><ColumnReference Column="Expr1773"/><ScalarOperator ScalarString="getdescendantlimit(XML Reader with XPath filter.[id])"><Intrinsic FunctionName="getdescendantlimit"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="368" PhysicalOp="Table-valued function" LogicalOp="Table-valued function" EstimateRows="3.7606" EstimateIO="0" EstimateCPU="1.00036" AvgRowSize="17" EstimatedTotalSubtreeCost="41.7995" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></OutputList><TableValuedFunction><DefinedValues><DefinedValue><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></DefinedValue></DefinedValues><Object Table="[XML Reader with XPath filter]"/><ParameterList><ScalarOperator ScalarString="[@xml]"><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator ScalarString="(7)"><Const ConstValue="(7)"/></ScalarOperator><ScalarOperator ScalarString="XML Reader with XPath filter.[id]"><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator ScalarString="getdescendantlimit(XML Reader with XPath filter.[id])"><Intrinsic FunctionName="getdescendantlimit"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator></ParameterList></TableValuedFunction></RelOp></ComputeScalar></RelOp><Predicate><ScalarOperator ScalarString="XML Reader with XPath filter.[id]=getancestor(XML Reader with XPath filter.[id],(1))"><Compare CompareOp="EQ"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Intrinsic FunctionName="getancestor"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="(1)"/></ScalarOperator></Intrinsic></ScalarOperator></Compare></ScalarOperator></Predicate></Filter></RelOp></ComputeScalar></RelOp></Top></RelOp>
<RelOp NodeId="381" PhysicalOp="Table Spool" LogicalOp="Eager Spool" EstimateRows="10000" EstimateIO="0.013125" EstimateCPU="0.0037006" AvgRowSize="8099" EstimatedTotalSubtreeCost="1.59493" Parallel="0" EstimateRebinds="0" EstimateRewinds="199"><OutputList><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><Spool>
<RelOp NodeId="382" PhysicalOp="Table-valued function" LogicalOp="Table-valued function" EstimateRows="10000" EstimateIO="0" EstimateCPU="1.2" AvgRowSize="8099" EstimatedTotalSubtreeCost="1.2" Parallel="0" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><TableValuedFunction><DefinedValues><DefinedValue><ColumnReference Table="[XML Reader]" Column="id"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="nid"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="tid"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="value"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="lvalue"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></DefinedValue></DefinedValues><Object Table="[XML Reader]"/><ParameterList><ScalarOperator ScalarString="[@xml]"><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator ScalarString="(0)"><Const ConstValue="(0)"/></ScalarOperator><ScalarOperator ScalarString="NULL"><Const ConstValue="NULL"/></ScalarOperator><ScalarOperator ScalarString="NULL"><Const ConstValue="NULL"/></ScalarOperator></ParameterList></TableValuedFunction></RelOp></Spool></RelOp></NestedLoops></RelOp></Extension></RelOp></StreamAggregate></RelOp></NestedLoops></RelOp>
<RelOp NodeId="391" PhysicalOp="Stream Aggregate" LogicalOp="Aggregate" EstimateRows="1" EstimateIO="0" EstimateCPU="0.0004325" AvgRowSize="21" EstimatedTotalSubtreeCost="53.3856" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Column="Expr1184"/></OutputList><StreamAggregate><DefinedValues><DefinedValue><ColumnReference Column="Expr1184"/><ScalarOperator ScalarString="MIN(CASE WHEN [@xml] IS NULL THEN NULL ELSE CASE WHEN datalength([Expr1181])&gt;=(128) THEN CONVERT_IMPLICIT(varchar(20),[Expr1182],0) ELSE CONVERT_IMPLICIT(varchar(20),[Expr1181],0) END END)"><Aggregate Distinct="0" AggType="MIN"><ScalarOperator><IF><Condition><ScalarOperator><Compare CompareOp="IS"><ScalarOperator><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="NULL"/></ScalarOperator></Compare></ScalarOperator></Condition><Then><ScalarOperator><Const ConstValue="NULL"/></ScalarOperator></Then><Else><ScalarOperator><IF><Condition><ScalarOperator><Compare CompareOp="GE"><ScalarOperator><Intrinsic FunctionName="datalength"><ScalarOperator><Identifier><ColumnReference Column="Expr1181"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator><ScalarOperator><Const ConstValue="(128)"/></ScalarOperator></Compare></ScalarOperator></Condition><Then><ScalarOperator><Convert DataType="varchar" Length="20" Style="0" Implicit="1"><ScalarOperator><Identifier><ColumnReference Column="Expr1182"/></Identifier></ScalarOperator></Convert></ScalarOperator></Then><Else><ScalarOperator><Convert DataType="varchar" Length="20" Style="0" Implicit="1"><ScalarOperator><Identifier><ColumnReference Column="Expr1181"/></Identifier></ScalarOperator></Convert></ScalarOperator></Else></IF></ScalarOperator></Else></IF></ScalarOperator></Aggregate></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="392" PhysicalOp="UDX" LogicalOp="UDX" EstimateRows="720" EstimateIO="0" EstimateCPU="0.00072" AvgRowSize="8045" EstimatedTotalSubtreeCost="53.2991" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Column="Expr1181"/><ColumnReference Column="Expr1182"/></OutputList><Extension UDXName="XQUERY DATA"><DefinedValues><DefinedValue><ColumnReference Column="Expr1179"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1180"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1181"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1182"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1183"/></DefinedValue></DefinedValues><UsedUDXColumns><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/><ColumnReference Column="Expr1175"/><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Table="[XML Reader]" Column="id"/></UsedUDXColumns>
<RelOp NodeId="393" PhysicalOp="Nested Loops" LogicalOp="Inner Join" EstimateRows="900" EstimateIO="0" EstimateCPU="0.0418" AvgRowSize="8559" EstimatedTotalSubtreeCost="53.1551" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1175"/><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><NestedLoops Optimized="0"><Predicate><ScalarOperator ScalarString="XML Reader with XPath filter.[id]&lt;=XML Reader.[id] AND [Expr1775]&gt;XML Reader.[id]"><Logical Operation="AND"><ScalarOperator><Compare CompareOp="LE"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Identifier><ColumnReference Table="[XML Reader]" Column="id"/></Identifier></ScalarOperator></Compare></ScalarOperator><ScalarOperator><Compare CompareOp="GT"><ScalarOperator><Identifier><ColumnReference Column="Expr1775"/></Identifier></ScalarOperator><ScalarOperator><Identifier><ColumnReference Table="[XML Reader]" Column="id"/></Identifier></ScalarOperator></Compare></ScalarOperator></Logical></ScalarOperator></Predicate>
<RelOp NodeId="394" PhysicalOp="Top" LogicalOp="Top" EstimateRows="1" EstimateIO="0" EstimateCPU="1e-007" AvgRowSize="921" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1175"/><ColumnReference Column="Expr1775"/></OutputList><Top RowCount="0" IsPercent="0" WithTies="0"><TopExpression><ScalarOperator ScalarString="(1)"><Const ConstValue="(1)"/></ScalarOperator></TopExpression>
<RelOp NodeId="395" PhysicalOp="Compute Scalar" LogicalOp="Compute Scalar" EstimateRows="1" EstimateIO="0" EstimateCPU="4.78647e-007" AvgRowSize="921" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1175"/><ColumnReference Column="Expr1775"/></OutputList><ComputeScalar><DefinedValues><DefinedValue><ColumnReference Column="Expr1175"/><ScalarOperator ScalarString="0x58"><Const ConstValue="0x58"/></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="396" PhysicalOp="Filter" LogicalOp="Filter" EstimateRows="1" EstimateIO="0" EstimateCPU="1.224e-005" AvgRowSize="469" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1775"/></OutputList><Filter StartupExpression="0">
<RelOp NodeId="397" PhysicalOp="Compute Scalar" LogicalOp="Compute Scalar" EstimateRows="3.7606" EstimateIO="0" EstimateCPU="1.8e-006" AvgRowSize="469" EstimatedTotalSubtreeCost="41.7996" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1775"/></OutputList><ComputeScalar><DefinedValues><DefinedValue><ColumnReference Column="Expr1775"/><ScalarOperator ScalarString="getdescendantlimit(XML Reader with XPath filter.[id])"><Intrinsic FunctionName="getdescendantlimit"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="398" PhysicalOp="Table-valued function" LogicalOp="Table-valued function" EstimateRows="3.7606" EstimateIO="0" EstimateCPU="1.00036" AvgRowSize="17" EstimatedTotalSubtreeCost="41.7995" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></OutputList><TableValuedFunction><DefinedValues><DefinedValue><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></DefinedValue></DefinedValues><Object Table="[XML Reader with XPath filter]"/><ParameterList><ScalarOperator ScalarString="[@xml]"><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator ScalarString="(7)"><Const ConstValue="(7)"/></ScalarOperator><ScalarOperator ScalarString="XML Reader with XPath filter.[id]"><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator ScalarString="getdescendantlimit(XML Reader with XPath filter.[id])"><Intrinsic FunctionName="getdescendantlimit"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator></ParameterList></TableValuedFunction></RelOp></ComputeScalar></RelOp><Predicate><ScalarOperator ScalarString="XML Reader with XPath filter.[id]=getancestor(XML Reader with XPath filter.[id],(1))"><Compare CompareOp="EQ"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Intrinsic FunctionName="getancestor"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="(1)"/></ScalarOperator></Intrinsic></ScalarOperator></Compare></ScalarOperator></Predicate></Filter></RelOp></ComputeScalar></RelOp></Top></RelOp>
<RelOp NodeId="411" PhysicalOp="Table Spool" LogicalOp="Eager Spool" EstimateRows="10000" EstimateIO="0.013125" EstimateCPU="0.0037006" AvgRowSize="8099" EstimatedTotalSubtreeCost="1.59493" Parallel="0" EstimateRebinds="0" EstimateRewinds="199"><OutputList><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><Spool>
<RelOp NodeId="412" PhysicalOp="Table-valued function" LogicalOp="Table-valued function" EstimateRows="10000" EstimateIO="0" EstimateCPU="1.2" AvgRowSize="8099" EstimatedTotalSubtreeCost="1.2" Parallel="0" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><TableValuedFunction><DefinedValues><DefinedValue><ColumnReference Table="[XML Reader]" Column="id"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="nid"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="tid"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="value"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="lvalue"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></DefinedValue></DefinedValues><Object Table="[XML Reader]"/><ParameterList><ScalarOperator ScalarString="[@xml]"><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator ScalarString="(0)"><Const ConstValue="(0)"/></ScalarOperator><ScalarOperator ScalarString="NULL"><Const ConstValue="NULL"/></ScalarOperator><ScalarOperator ScalarString="NULL"><Const ConstValue="NULL"/></ScalarOperator></ParameterList></TableValuedFunction></RelOp></Spool></RelOp></NestedLoops></RelOp></Extension></RelOp></StreamAggregate></RelOp></NestedLoops></RelOp>
<RelOp NodeId="421" PhysicalOp="Stream Aggregate" LogicalOp="Aggregate" EstimateRows="1" EstimateIO="0" EstimateCPU="0.0004325" AvgRowSize="13" EstimatedTotalSubtreeCost="53.3856" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Column="Expr1199"/></OutputList><StreamAggregate><DefinedValues><DefinedValue><ColumnReference Column="Expr1199"/><ScalarOperator ScalarString="MIN(CASE WHEN [@xml] IS NULL THEN NULL ELSE CASE WHEN datalength([Expr1196])&gt;=(128) THEN CONVERT_IMPLICIT(varchar(5),[Expr1197],0) ELSE CONVERT_IMPLICIT(varchar(5),[Expr1196],0) END END)"><Aggregate Distinct="0" AggType="MIN"><ScalarOperator><IF><Condition><ScalarOperator><Compare CompareOp="IS"><ScalarOperator><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="NULL"/></ScalarOperator></Compare></ScalarOperator></Condition><Then><ScalarOperator><Const ConstValue="NULL"/></ScalarOperator></Then><Else><ScalarOperator><IF><Condition><ScalarOperator><Compare CompareOp="GE"><ScalarOperator><Intrinsic FunctionName="datalength"><ScalarOperator><Identifier><ColumnReference Column="Expr1196"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator><ScalarOperator><Const ConstValue="(128)"/></ScalarOperator></Compare></ScalarOperator></Condition><Then><ScalarOperator><Convert DataType="varchar" Length="5" Style="0" Implicit="1"><ScalarOperator><Identifier><ColumnReference Column="Expr1197"/></Identifier></ScalarOperator></Convert></ScalarOperator></Then><Else><ScalarOperator><Convert DataType="varchar" Length="5" Style="0" Implicit="1"><ScalarOperator><Identifier><ColumnReference Column="Expr1196"/></Identifier></ScalarOperator></Convert></ScalarOperator></Else></IF></ScalarOperator></Else></IF></ScalarOperator></Aggregate></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="422" PhysicalOp="UDX" LogicalOp="UDX" EstimateRows="720" EstimateIO="0" EstimateCPU="0.00072" AvgRowSize="8045" EstimatedTotalSubtreeCost="53.2991" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Column="Expr1196"/><ColumnReference Column="Expr1197"/></OutputList><Extension UDXName="XQUERY DATA"><DefinedValues><DefinedValue><ColumnReference Column="Expr1194"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1195"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1196"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1197"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1198"/></DefinedValue></DefinedValues><UsedUDXColumns><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/><ColumnReference Column="Expr1190"/><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Table="[XML Reader]" Column="id"/></UsedUDXColumns>
<RelOp NodeId="423" PhysicalOp="Nested Loops" LogicalOp="Inner Join" EstimateRows="900" EstimateIO="0" EstimateCPU="0.0418" AvgRowSize="8559" EstimatedTotalSubtreeCost="53.1551" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1190"/><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><NestedLoops Optimized="0"><Predicate><ScalarOperator ScalarString="XML Reader with XPath filter.[id]&lt;=XML Reader.[id] AND [Expr1777]&gt;XML Reader.[id]"><Logical Operation="AND"><ScalarOperator><Compare CompareOp="LE"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Identifier><ColumnReference Table="[XML Reader]" Column="id"/></Identifier></ScalarOperator></Compare></ScalarOperator><ScalarOperator><Compare CompareOp="GT"><ScalarOperator><Identifier><ColumnReference Column="Expr1777"/></Identifier></ScalarOperator><ScalarOperator><Identifier><ColumnReference Table="[XML Reader]" Column="id"/></Identifier></ScalarOperator></Compare></ScalarOperator></Logical></ScalarOperator></Predicate>
<RelOp NodeId="424" PhysicalOp="Top" LogicalOp="Top" EstimateRows="1" EstimateIO="0" EstimateCPU="1e-007" AvgRowSize="921" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1190"/><ColumnReference Column="Expr1777"/></OutputList><Top RowCount="0" IsPercent="0" WithTies="0"><TopExpression><ScalarOperator ScalarString="(1)"><Const ConstValue="(1)"/></ScalarOperator></TopExpression>
<RelOp NodeId="425" PhysicalOp="Compute Scalar" LogicalOp="Compute Scalar" EstimateRows="1" EstimateIO="0" EstimateCPU="4.78647e-007" AvgRowSize="921" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1190"/><ColumnReference Column="Expr1777"/></OutputList><ComputeScalar><DefinedValues><DefinedValue><ColumnReference Column="Expr1190"/><ScalarOperator ScalarString="0x58"><Const ConstValue="0x58"/></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="426" PhysicalOp="Filter" LogicalOp="Filter" EstimateRows="1" EstimateIO="0" EstimateCPU="1.224e-005" AvgRowSize="469" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1777"/></OutputList><Filter StartupExpression="0">
<RelOp NodeId="427" PhysicalOp="Compute Scalar" LogicalOp="Compute Scalar" EstimateRows="3.7606" EstimateIO="0" EstimateCPU="1.8e-006" AvgRowSize="469" EstimatedTotalSubtreeCost="41.7996" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1777"/></OutputList><ComputeScalar><DefinedValues><DefinedValue><ColumnReference Column="Expr1777"/><ScalarOperator ScalarString="getdescendantlimit(XML Reader with XPath filter.[id])"><Intrinsic FunctionName="getdescendantlimit"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="428" PhysicalOp="Table-valued function" LogicalOp="Table-valued function" EstimateRows="3.7606" EstimateIO="0" EstimateCPU="1.00036" AvgRowSize="17" EstimatedTotalSubtreeCost="41.7995" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></OutputList><TableValuedFunction><DefinedValues><DefinedValue><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></DefinedValue></DefinedValues><Object Table="[XML Reader with XPath filter]"/><ParameterList><ScalarOperator ScalarString="[@xml]"><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator ScalarString="(7)"><Const ConstValue="(7)"/></ScalarOperator><ScalarOperator ScalarString="XML Reader with XPath filter.[id]"><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator ScalarString="getdescendantlimit(XML Reader with XPath filter.[id])"><Intrinsic FunctionName="getdescendantlimit"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator></ParameterList></TableValuedFunction></RelOp></ComputeScalar></RelOp><Predicate><ScalarOperator ScalarString="XML Reader with XPath filter.[id]=getancestor(XML Reader with XPath filter.[id],(1))"><Compare CompareOp="EQ"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Intrinsic FunctionName="getancestor"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="(1)"/></ScalarOperator></Intrinsic></ScalarOperator></Compare></ScalarOperator></Predicate></Filter></RelOp></ComputeScalar></RelOp></Top></RelOp>
<RelOp NodeId="441" PhysicalOp="Table Spool" LogicalOp="Eager Spool" EstimateRows="10000" EstimateIO="0.013125" EstimateCPU="0.0037006" AvgRowSize="8099" EstimatedTotalSubtreeCost="1.59493" Parallel="0" EstimateRebinds="0" EstimateRewinds="199"><OutputList><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><Spool>
<RelOp NodeId="442" PhysicalOp="Table-valued function" LogicalOp="Table-valued function" EstimateRows="10000" EstimateIO="0" EstimateCPU="1.2" AvgRowSize="8099" EstimatedTotalSubtreeCost="1.2" Parallel="0" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><TableValuedFunction><DefinedValues><DefinedValue><ColumnReference Table="[XML Reader]" Column="id"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="nid"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="tid"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="value"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="lvalue"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></DefinedValue></DefinedValues><Object Table="[XML Reader]"/><ParameterList><ScalarOperator ScalarString="[@xml]"><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator ScalarString="(0)"><Const ConstValue="(0)"/></ScalarOperator><ScalarOperator ScalarString="NULL"><Const ConstValue="NULL"/></ScalarOperator><ScalarOperator ScalarString="NULL"><Const ConstValue="NULL"/></ScalarOperator></ParameterList></TableValuedFunction></RelOp></Spool></RelOp></NestedLoops></RelOp></Extension></RelOp></StreamAggregate></RelOp></NestedLoops></RelOp>
<RelOp NodeId="451" PhysicalOp="Stream Aggregate" LogicalOp="Aggregate" EstimateRows="1" EstimateIO="0" EstimateCPU="0.0004325" AvgRowSize="21" EstimatedTotalSubtreeCost="53.3856" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Column="Expr1214"/></OutputList><StreamAggregate><DefinedValues><DefinedValue><ColumnReference Column="Expr1214"/><ScalarOperator ScalarString="MIN(CASE WHEN [@xml] IS NULL THEN NULL ELSE CASE WHEN datalength([Expr1211])&gt;=(128) THEN CONVERT_IMPLICIT(varchar(20),[Expr1212],0) ELSE CONVERT_IMPLICIT(varchar(20),[Expr1211],0) END END)"><Aggregate Distinct="0" AggType="MIN"><ScalarOperator><IF><Condition><ScalarOperator><Compare CompareOp="IS"><ScalarOperator><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="NULL"/></ScalarOperator></Compare></ScalarOperator></Condition><Then><ScalarOperator><Const ConstValue="NULL"/></ScalarOperator></Then><Else><ScalarOperator><IF><Condition><ScalarOperator><Compare CompareOp="GE"><ScalarOperator><Intrinsic FunctionName="datalength"><ScalarOperator><Identifier><ColumnReference Column="Expr1211"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator><ScalarOperator><Const ConstValue="(128)"/></ScalarOperator></Compare></ScalarOperator></Condition><Then><ScalarOperator><Convert DataType="varchar" Length="20" Style="0" Implicit="1"><ScalarOperator><Identifier><ColumnReference Column="Expr1212"/></Identifier></ScalarOperator></Convert></ScalarOperator></Then><Else><ScalarOperator><Convert DataType="varchar" Length="20" Style="0" Implicit="1"><ScalarOperator><Identifier><ColumnReference Column="Expr1211"/></Identifier></ScalarOperator></Convert></ScalarOperator></Else></IF></ScalarOperator></Else></IF></ScalarOperator></Aggregate></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="452" PhysicalOp="UDX" LogicalOp="UDX" EstimateRows="720" EstimateIO="0" EstimateCPU="0.00072" AvgRowSize="8045" EstimatedTotalSubtreeCost="53.2991" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Column="Expr1211"/><ColumnReference Column="Expr1212"/></OutputList><Extension UDXName="XQUERY DATA"><DefinedValues><DefinedValue><ColumnReference Column="Expr1209"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1210"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1211"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1212"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1213"/></DefinedValue></DefinedValues><UsedUDXColumns><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/><ColumnReference Column="Expr1205"/><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Table="[XML Reader]" Column="id"/></UsedUDXColumns>
<RelOp NodeId="453" PhysicalOp="Nested Loops" LogicalOp="Inner Join" EstimateRows="900" EstimateIO="0" EstimateCPU="0.0418" AvgRowSize="8559" EstimatedTotalSubtreeCost="53.1551" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1205"/><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><NestedLoops Optimized="0"><Predicate><ScalarOperator ScalarString="XML Reader with XPath filter.[id]&lt;=XML Reader.[id] AND [Expr1779]&gt;XML Reader.[id]"><Logical Operation="AND"><ScalarOperator><Compare CompareOp="LE"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Identifier><ColumnReference Table="[XML Reader]" Column="id"/></Identifier></ScalarOperator></Compare></ScalarOperator><ScalarOperator><Compare CompareOp="GT"><ScalarOperator><Identifier><ColumnReference Column="Expr1779"/></Identifier></ScalarOperator><ScalarOperator><Identifier><ColumnReference Table="[XML Reader]" Column="id"/></Identifier></ScalarOperator></Compare></ScalarOperator></Logical></ScalarOperator></Predicate>
<RelOp NodeId="454" PhysicalOp="Top" LogicalOp="Top" EstimateRows="1" EstimateIO="0" EstimateCPU="1e-007" AvgRowSize="921" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1205"/><ColumnReference Column="Expr1779"/></OutputList><Top RowCount="0" IsPercent="0" WithTies="0"><TopExpression><ScalarOperator ScalarString="(1)"><Const ConstValue="(1)"/></ScalarOperator></TopExpression>
<RelOp NodeId="455" PhysicalOp="Compute Scalar" LogicalOp="Compute Scalar" EstimateRows="1" EstimateIO="0" EstimateCPU="4.78647e-007" AvgRowSize="921" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1205"/><ColumnReference Column="Expr1779"/></OutputList><ComputeScalar><DefinedValues><DefinedValue><ColumnReference Column="Expr1205"/><ScalarOperator ScalarString="0x58"><Const ConstValue="0x58"/></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="456" PhysicalOp="Filter" LogicalOp="Filter" EstimateRows="1" EstimateIO="0" EstimateCPU="1.224e-005" AvgRowSize="469" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1779"/></OutputList><Filter StartupExpression="0">
<RelOp NodeId="457" PhysicalOp="Compute Scalar" LogicalOp="Compute Scalar" EstimateRows="3.7606" EstimateIO="0" EstimateCPU="1.8e-006" AvgRowSize="469" EstimatedTotalSubtreeCost="41.7996" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1779"/></OutputList><ComputeScalar><DefinedValues><DefinedValue><ColumnReference Column="Expr1779"/><ScalarOperator ScalarString="getdescendantlimit(XML Reader with XPath filter.[id])"><Intrinsic FunctionName="getdescendantlimit"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="458" PhysicalOp="Table-valued function" LogicalOp="Table-valued function" EstimateRows="3.7606" EstimateIO="0" EstimateCPU="1.00036" AvgRowSize="17" EstimatedTotalSubtreeCost="41.7995" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></OutputList><TableValuedFunction><DefinedValues><DefinedValue><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></DefinedValue></DefinedValues><Object Table="[XML Reader with XPath filter]"/><ParameterList><ScalarOperator ScalarString="[@xml]"><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator ScalarString="(7)"><Const ConstValue="(7)"/></ScalarOperator><ScalarOperator ScalarString="XML Reader with XPath filter.[id]"><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator ScalarString="getdescendantlimit(XML Reader with XPath filter.[id])"><Intrinsic FunctionName="getdescendantlimit"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator></ParameterList></TableValuedFunction></RelOp></ComputeScalar></RelOp><Predicate><ScalarOperator ScalarString="XML Reader with XPath filter.[id]=getancestor(XML Reader with XPath filter.[id],(1))"><Compare CompareOp="EQ"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Intrinsic FunctionName="getancestor"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="(1)"/></ScalarOperator></Intrinsic></ScalarOperator></Compare></ScalarOperator></Predicate></Filter></RelOp></ComputeScalar></RelOp></Top></RelOp>
<RelOp NodeId="471" PhysicalOp="Table Spool" LogicalOp="Eager Spool" EstimateRows="10000" EstimateIO="0.013125" EstimateCPU="0.0037006" AvgRowSize="8099" EstimatedTotalSubtreeCost="1.59493" Parallel="0" EstimateRebinds="0" EstimateRewinds="199"><OutputList><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><Spool>
<RelOp NodeId="472" PhysicalOp="Table-valued function" LogicalOp="Table-valued function" EstimateRows="10000" EstimateIO="0" EstimateCPU="1.2" AvgRowSize="8099" EstimatedTotalSubtreeCost="1.2" Parallel="0" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><TableValuedFunction><DefinedValues><DefinedValue><ColumnReference Table="[XML Reader]" Column="id"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="nid"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="tid"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="value"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="lvalue"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></DefinedValue></DefinedValues><Object Table="[XML Reader]"/><ParameterList><ScalarOperator ScalarString="[@xml]"><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator ScalarString="(0)"><Const ConstValue="(0)"/></ScalarOperator><ScalarOperator ScalarString="NULL"><Const ConstValue="NULL"/></ScalarOperator><ScalarOperator ScalarString="NULL"><Const ConstValue="NULL"/></ScalarOperator></ParameterList></TableValuedFunction></RelOp></Spool></RelOp></NestedLoops></RelOp></Extension></RelOp></StreamAggregate></RelOp></NestedLoops></RelOp>
<RelOp NodeId="481" PhysicalOp="Stream Aggregate" LogicalOp="Aggregate" EstimateRows="1" EstimateIO="0" EstimateCPU="0.0004325" AvgRowSize="21" EstimatedTotalSubtreeCost="53.3856" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Column="Expr1228"/></OutputList><StreamAggregate><DefinedValues><DefinedValue><ColumnReference Column="Expr1228"/><ScalarOperator ScalarString="MIN(CASE WHEN [@xml] IS NULL THEN NULL ELSE CASE WHEN datalength([Expr1225])&gt;=(128) THEN CONVERT_IMPLICIT(varchar(20),[Expr1226],0) ELSE CONVERT_IMPLICIT(varchar(20),[Expr1225],0) END END)"><Aggregate Distinct="0" AggType="MIN"><ScalarOperator><IF><Condition><ScalarOperator><Compare CompareOp="IS"><ScalarOperator><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="NULL"/></ScalarOperator></Compare></ScalarOperator></Condition><Then><ScalarOperator><Const ConstValue="NULL"/></ScalarOperator></Then><Else><ScalarOperator><IF><Condition><ScalarOperator><Compare CompareOp="GE"><ScalarOperator><Intrinsic FunctionName="datalength"><ScalarOperator><Identifier><ColumnReference Column="Expr1225"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator><ScalarOperator><Const ConstValue="(128)"/></ScalarOperator></Compare></ScalarOperator></Condition><Then><ScalarOperator><Convert DataType="varchar" Length="20" Style="0" Implicit="1"><ScalarOperator><Identifier><ColumnReference Column="Expr1226"/></Identifier></ScalarOperator></Convert></ScalarOperator></Then><Else><ScalarOperator><Convert DataType="varchar" Length="20" Style="0" Implicit="1"><ScalarOperator><Identifier><ColumnReference Column="Expr1225"/></Identifier></ScalarOperator></Convert></ScalarOperator></Else></IF></ScalarOperator></Else></IF></ScalarOperator></Aggregate></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="482" PhysicalOp="UDX" LogicalOp="UDX" EstimateRows="720" EstimateIO="0" EstimateCPU="0.00072" AvgRowSize="8045" EstimatedTotalSubtreeCost="53.2991" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Column="Expr1225"/><ColumnReference Column="Expr1226"/></OutputList><Extension UDXName="XQUERY DATA"><DefinedValues><DefinedValue><ColumnReference Column="Expr1223"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1224"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1225"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1226"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1227"/></DefinedValue></DefinedValues><UsedUDXColumns><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/><ColumnReference Column="Expr1219"/><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Table="[XML Reader]" Column="id"/></UsedUDXColumns>
<RelOp NodeId="483" PhysicalOp="Nested Loops" LogicalOp="Inner Join" EstimateRows="900" EstimateIO="0" EstimateCPU="0.0418" AvgRowSize="8559" EstimatedTotalSubtreeCost="53.1551" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1219"/><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><NestedLoops Optimized="0"><Predicate><ScalarOperator ScalarString="XML Reader with XPath filter.[id]&lt;=XML Reader.[id] AND [Expr1781]&gt;XML Reader.[id]"><Logical Operation="AND"><ScalarOperator><Compare CompareOp="LE"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Identifier><ColumnReference Table="[XML Reader]" Column="id"/></Identifier></ScalarOperator></Compare></ScalarOperator><ScalarOperator><Compare CompareOp="GT"><ScalarOperator><Identifier><ColumnReference Column="Expr1781"/></Identifier></ScalarOperator><ScalarOperator><Identifier><ColumnReference Table="[XML Reader]" Column="id"/></Identifier></ScalarOperator></Compare></ScalarOperator></Logical></ScalarOperator></Predicate>
<RelOp NodeId="484" PhysicalOp="Top" LogicalOp="Top" EstimateRows="1" EstimateIO="0" EstimateCPU="1e-007" AvgRowSize="921" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1219"/><ColumnReference Column="Expr1781"/></OutputList><Top RowCount="0" IsPercent="0" WithTies="0"><TopExpression><ScalarOperator ScalarString="(1)"><Const ConstValue="(1)"/></ScalarOperator></TopExpression>
<RelOp NodeId="485" PhysicalOp="Compute Scalar" LogicalOp="Compute Scalar" EstimateRows="1" EstimateIO="0" EstimateCPU="4.78647e-007" AvgRowSize="921" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1219"/><ColumnReference Column="Expr1781"/></OutputList><ComputeScalar><DefinedValues><DefinedValue><ColumnReference Column="Expr1219"/><ScalarOperator ScalarString="0x58"><Const ConstValue="0x58"/></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="486" PhysicalOp="Filter" LogicalOp="Filter" EstimateRows="1" EstimateIO="0" EstimateCPU="1.224e-005" AvgRowSize="469" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1781"/></OutputList><Filter StartupExpression="0">
<RelOp NodeId="487" PhysicalOp="Compute Scalar" LogicalOp="Compute Scalar" EstimateRows="3.7606" EstimateIO="0" EstimateCPU="1.8e-006" AvgRowSize="469" EstimatedTotalSubtreeCost="41.7996" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1781"/></OutputList><ComputeScalar><DefinedValues><DefinedValue><ColumnReference Column="Expr1781"/><ScalarOperator ScalarString="getdescendantlimit(XML Reader with XPath filter.[id])"><Intrinsic FunctionName="getdescendantlimit"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="488" PhysicalOp="Table-valued function" LogicalOp="Table-valued function" EstimateRows="3.7606" EstimateIO="0" EstimateCPU="1.00036" AvgRowSize="17" EstimatedTotalSubtreeCost="41.7995" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></OutputList><TableValuedFunction><DefinedValues><DefinedValue><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></DefinedValue></DefinedValues><Object Table="[XML Reader with XPath filter]"/><ParameterList><ScalarOperator ScalarString="[@xml]"><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator ScalarString="(7)"><Const ConstValue="(7)"/></ScalarOperator><ScalarOperator ScalarString="XML Reader with XPath filter.[id]"><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator ScalarString="getdescendantlimit(XML Reader with XPath filter.[id])"><Intrinsic FunctionName="getdescendantlimit"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator></ParameterList></TableValuedFunction></RelOp></ComputeScalar></RelOp><Predicate><ScalarOperator ScalarString="XML Reader with XPath filter.[id]=getancestor(XML Reader with XPath filter.[id],(1))"><Compare CompareOp="EQ"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Intrinsic FunctionName="getancestor"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="(1)"/></ScalarOperator></Intrinsic></ScalarOperator></Compare></ScalarOperator></Predicate></Filter></RelOp></ComputeScalar></RelOp></Top></RelOp>
<RelOp NodeId="501" PhysicalOp="Table Spool" LogicalOp="Eager Spool" EstimateRows="10000" EstimateIO="0.013125" EstimateCPU="0.0037006" AvgRowSize="8099" EstimatedTotalSubtreeCost="1.59493" Parallel="0" EstimateRebinds="0" EstimateRewinds="199"><OutputList><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><Spool>
<RelOp NodeId="502" PhysicalOp="Table-valued function" LogicalOp="Table-valued function" EstimateRows="10000" EstimateIO="0" EstimateCPU="1.2" AvgRowSize="8099" EstimatedTotalSubtreeCost="1.2" Parallel="0" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><TableValuedFunction><DefinedValues><DefinedValue><ColumnReference Table="[XML Reader]" Column="id"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="nid"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="tid"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="value"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="lvalue"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></DefinedValue></DefinedValues><Object Table="[XML Reader]"/><ParameterList><ScalarOperator ScalarString="[@xml]"><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator ScalarString="(0)"><Const ConstValue="(0)"/></ScalarOperator><ScalarOperator ScalarString="NULL"><Const ConstValue="NULL"/></ScalarOperator><ScalarOperator ScalarString="NULL"><Const ConstValue="NULL"/></ScalarOperator></ParameterList></TableValuedFunction></RelOp></Spool></RelOp></NestedLoops></RelOp></Extension></RelOp></StreamAggregate></RelOp></NestedLoops></RelOp>
<RelOp NodeId="511" PhysicalOp="Stream Aggregate" LogicalOp="Aggregate" EstimateRows="1" EstimateIO="0" EstimateCPU="0.0004325" AvgRowSize="12" EstimatedTotalSubtreeCost="53.3856" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Column="Expr1243"/></OutputList><StreamAggregate><DefinedValues><DefinedValue><ColumnReference Column="Expr1243"/><ScalarOperator ScalarString="MIN(CASE WHEN [@xml] IS NULL THEN NULL ELSE CASE WHEN datalength([Expr1240])&gt;=(128) THEN CONVERT_IMPLICIT(varchar(3),[Expr1241],0) ELSE CONVERT_IMPLICIT(varchar(3),[Expr1240],0) END END)"><Aggregate Distinct="0" AggType="MIN"><ScalarOperator><IF><Condition><ScalarOperator><Compare CompareOp="IS"><ScalarOperator><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="NULL"/></ScalarOperator></Compare></ScalarOperator></Condition><Then><ScalarOperator><Const ConstValue="NULL"/></ScalarOperator></Then><Else><ScalarOperator><IF><Condition><ScalarOperator><Compare CompareOp="GE"><ScalarOperator><Intrinsic FunctionName="datalength"><ScalarOperator><Identifier><ColumnReference Column="Expr1240"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator><ScalarOperator><Const ConstValue="(128)"/></ScalarOperator></Compare></ScalarOperator></Condition><Then><ScalarOperator><Convert DataType="varchar" Length="3" Style="0" Implicit="1"><ScalarOperator><Identifier><ColumnReference Column="Expr1241"/></Identifier></ScalarOperator></Convert></ScalarOperator></Then><Else><ScalarOperator><Convert DataType="varchar" Length="3" Style="0" Implicit="1"><ScalarOperator><Identifier><ColumnReference Column="Expr1240"/></Identifier></ScalarOperator></Convert></ScalarOperator></Else></IF></ScalarOperator></Else></IF></ScalarOperator></Aggregate></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="512" PhysicalOp="UDX" LogicalOp="UDX" EstimateRows="720" EstimateIO="0" EstimateCPU="0.00072" AvgRowSize="8045" EstimatedTotalSubtreeCost="53.2991" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Column="Expr1240"/><ColumnReference Column="Expr1241"/></OutputList><Extension UDXName="XQUERY DATA"><DefinedValues><DefinedValue><ColumnReference Column="Expr1238"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1239"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1240"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1241"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1242"/></DefinedValue></DefinedValues><UsedUDXColumns><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/><ColumnReference Column="Expr1234"/><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Table="[XML Reader]" Column="id"/></UsedUDXColumns>
<RelOp NodeId="513" PhysicalOp="Nested Loops" LogicalOp="Inner Join" EstimateRows="900" EstimateIO="0" EstimateCPU="0.0418" AvgRowSize="8559" EstimatedTotalSubtreeCost="53.1551" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1234"/><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><NestedLoops Optimized="0"><Predicate><ScalarOperator ScalarString="XML Reader with XPath filter.[id]&lt;=XML Reader.[id] AND [Expr1783]&gt;XML Reader.[id]"><Logical Operation="AND"><ScalarOperator><Compare CompareOp="LE"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Identifier><ColumnReference Table="[XML Reader]" Column="id"/></Identifier></ScalarOperator></Compare></ScalarOperator><ScalarOperator><Compare CompareOp="GT"><ScalarOperator><Identifier><ColumnReference Column="Expr1783"/></Identifier></ScalarOperator><ScalarOperator><Identifier><ColumnReference Table="[XML Reader]" Column="id"/></Identifier></ScalarOperator></Compare></ScalarOperator></Logical></ScalarOperator></Predicate>
<RelOp NodeId="514" PhysicalOp="Top" LogicalOp="Top" EstimateRows="1" EstimateIO="0" EstimateCPU="1e-007" AvgRowSize="921" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1234"/><ColumnReference Column="Expr1783"/></OutputList><Top RowCount="0" IsPercent="0" WithTies="0"><TopExpression><ScalarOperator ScalarString="(1)"><Const ConstValue="(1)"/></ScalarOperator></TopExpression>
<RelOp NodeId="515" PhysicalOp="Compute Scalar" LogicalOp="Compute Scalar" EstimateRows="1" EstimateIO="0" EstimateCPU="4.78647e-007" AvgRowSize="921" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1234"/><ColumnReference Column="Expr1783"/></OutputList><ComputeScalar><DefinedValues><DefinedValue><ColumnReference Column="Expr1234"/><ScalarOperator ScalarString="0x58"><Const ConstValue="0x58"/></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="516" PhysicalOp="Filter" LogicalOp="Filter" EstimateRows="1" EstimateIO="0" EstimateCPU="1.224e-005" AvgRowSize="469" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1783"/></OutputList><Filter StartupExpression="0">
<RelOp NodeId="517" PhysicalOp="Compute Scalar" LogicalOp="Compute Scalar" EstimateRows="3.7606" EstimateIO="0" EstimateCPU="1.8e-006" AvgRowSize="469" EstimatedTotalSubtreeCost="41.7996" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1783"/></OutputList><ComputeScalar><DefinedValues><DefinedValue><ColumnReference Column="Expr1783"/><ScalarOperator ScalarString="getdescendantlimit(XML Reader with XPath filter.[id])"><Intrinsic FunctionName="getdescendantlimit"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="518" PhysicalOp="Table-valued function" LogicalOp="Table-valued function" EstimateRows="3.7606" EstimateIO="0" EstimateCPU="1.00036" AvgRowSize="17" EstimatedTotalSubtreeCost="41.7995" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></OutputList><TableValuedFunction><DefinedValues><DefinedValue><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></DefinedValue></DefinedValues><Object Table="[XML Reader with XPath filter]"/><ParameterList><ScalarOperator ScalarString="[@xml]"><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator ScalarString="(7)"><Const ConstValue="(7)"/></ScalarOperator><ScalarOperator ScalarString="XML Reader with XPath filter.[id]"><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator ScalarString="getdescendantlimit(XML Reader with XPath filter.[id])"><Intrinsic FunctionName="getdescendantlimit"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator></ParameterList></TableValuedFunction></RelOp></ComputeScalar></RelOp><Predicate><ScalarOperator ScalarString="XML Reader with XPath filter.[id]=getancestor(XML Reader with XPath filter.[id],(1))"><Compare CompareOp="EQ"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Intrinsic FunctionName="getancestor"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="(1)"/></ScalarOperator></Intrinsic></ScalarOperator></Compare></ScalarOperator></Predicate></Filter></RelOp></ComputeScalar></RelOp></Top></RelOp>
<RelOp NodeId="531" PhysicalOp="Table Spool" LogicalOp="Eager Spool" EstimateRows="10000" EstimateIO="0.013125" EstimateCPU="0.0037006" AvgRowSize="8099" EstimatedTotalSubtreeCost="1.59493" Parallel="0" EstimateRebinds="0" EstimateRewinds="199"><OutputList><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><Spool>
<RelOp NodeId="532" PhysicalOp="Table-valued function" LogicalOp="Table-valued function" EstimateRows="10000" EstimateIO="0" EstimateCPU="1.2" AvgRowSize="8099" EstimatedTotalSubtreeCost="1.2" Parallel="0" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><TableValuedFunction><DefinedValues><DefinedValue><ColumnReference Table="[XML Reader]" Column="id"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="nid"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="tid"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="value"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="lvalue"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></DefinedValue></DefinedValues><Object Table="[XML Reader]"/><ParameterList><ScalarOperator ScalarString="[@xml]"><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator ScalarString="(0)"><Const ConstValue="(0)"/></ScalarOperator><ScalarOperator ScalarString="NULL"><Const ConstValue="NULL"/></ScalarOperator><ScalarOperator ScalarString="NULL"><Const ConstValue="NULL"/></ScalarOperator></ParameterList></TableValuedFunction></RelOp></Spool></RelOp></NestedLoops></RelOp></Extension></RelOp></StreamAggregate></RelOp></NestedLoops></RelOp>
<RelOp NodeId="541" PhysicalOp="Stream Aggregate" LogicalOp="Aggregate" EstimateRows="1" EstimateIO="0" EstimateCPU="0.0004325" AvgRowSize="23" EstimatedTotalSubtreeCost="53.3856" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Column="Expr1258"/></OutputList><StreamAggregate><DefinedValues><DefinedValue><ColumnReference Column="Expr1258"/><ScalarOperator ScalarString="MIN(CASE WHEN [@xml] IS NULL THEN NULL ELSE CASE WHEN datalength([Expr1255])&gt;=(128) THEN CONVERT_IMPLICIT(varchar(25),[Expr1256],0) ELSE CONVERT_IMPLICIT(varchar(25),[Expr1255],0) END END)"><Aggregate Distinct="0" AggType="MIN"><ScalarOperator><IF><Condition><ScalarOperator><Compare CompareOp="IS"><ScalarOperator><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="NULL"/></ScalarOperator></Compare></ScalarOperator></Condition><Then><ScalarOperator><Const ConstValue="NULL"/></ScalarOperator></Then><Else><ScalarOperator><IF><Condition><ScalarOperator><Compare CompareOp="GE"><ScalarOperator><Intrinsic FunctionName="datalength"><ScalarOperator><Identifier><ColumnReference Column="Expr1255"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator><ScalarOperator><Const ConstValue="(128)"/></ScalarOperator></Compare></ScalarOperator></Condition><Then><ScalarOperator><Convert DataType="varchar" Length="25" Style="0" Implicit="1"><ScalarOperator><Identifier><ColumnReference Column="Expr1256"/></Identifier></ScalarOperator></Convert></ScalarOperator></Then><Else><ScalarOperator><Convert DataType="varchar" Length="25" Style="0" Implicit="1"><ScalarOperator><Identifier><ColumnReference Column="Expr1255"/></Identifier></ScalarOperator></Convert></ScalarOperator></Else></IF></ScalarOperator></Else></IF></ScalarOperator></Aggregate></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="542" PhysicalOp="UDX" LogicalOp="UDX" EstimateRows="720" EstimateIO="0" EstimateCPU="0.00072" AvgRowSize="8045" EstimatedTotalSubtreeCost="53.2991" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Column="Expr1255"/><ColumnReference Column="Expr1256"/></OutputList><Extension UDXName="XQUERY DATA"><DefinedValues><DefinedValue><ColumnReference Column="Expr1253"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1254"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1255"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1256"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1257"/></DefinedValue></DefinedValues><UsedUDXColumns><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/><ColumnReference Column="Expr1249"/><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Table="[XML Reader]" Column="id"/></UsedUDXColumns>
<RelOp NodeId="543" PhysicalOp="Nested Loops" LogicalOp="Inner Join" EstimateRows="900" EstimateIO="0" EstimateCPU="0.0418" AvgRowSize="8559" EstimatedTotalSubtreeCost="53.1551" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1249"/><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><NestedLoops Optimized="0"><Predicate><ScalarOperator ScalarString="XML Reader with XPath filter.[id]&lt;=XML Reader.[id] AND [Expr1785]&gt;XML Reader.[id]"><Logical Operation="AND"><ScalarOperator><Compare CompareOp="LE"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Identifier><ColumnReference Table="[XML Reader]" Column="id"/></Identifier></ScalarOperator></Compare></ScalarOperator><ScalarOperator><Compare CompareOp="GT"><ScalarOperator><Identifier><ColumnReference Column="Expr1785"/></Identifier></ScalarOperator><ScalarOperator><Identifier><ColumnReference Table="[XML Reader]" Column="id"/></Identifier></ScalarOperator></Compare></ScalarOperator></Logical></ScalarOperator></Predicate>
<RelOp NodeId="544" PhysicalOp="Top" LogicalOp="Top" EstimateRows="1" EstimateIO="0" EstimateCPU="1e-007" AvgRowSize="921" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1249"/><ColumnReference Column="Expr1785"/></OutputList><Top RowCount="0" IsPercent="0" WithTies="0"><TopExpression><ScalarOperator ScalarString="(1)"><Const ConstValue="(1)"/></ScalarOperator></TopExpression>
<RelOp NodeId="545" PhysicalOp="Compute Scalar" LogicalOp="Compute Scalar" EstimateRows="1" EstimateIO="0" EstimateCPU="4.78647e-007" AvgRowSize="921" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1249"/><ColumnReference Column="Expr1785"/></OutputList><ComputeScalar><DefinedValues><DefinedValue><ColumnReference Column="Expr1249"/><ScalarOperator ScalarString="0x58"><Const ConstValue="0x58"/></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="546" PhysicalOp="Filter" LogicalOp="Filter" EstimateRows="1" EstimateIO="0" EstimateCPU="1.224e-005" AvgRowSize="469" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1785"/></OutputList><Filter StartupExpression="0">
<RelOp NodeId="547" PhysicalOp="Compute Scalar" LogicalOp="Compute Scalar" EstimateRows="3.7606" EstimateIO="0" EstimateCPU="1.8e-006" AvgRowSize="469" EstimatedTotalSubtreeCost="41.7996" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1785"/></OutputList><ComputeScalar><DefinedValues><DefinedValue><ColumnReference Column="Expr1785"/><ScalarOperator ScalarString="getdescendantlimit(XML Reader with XPath filter.[id])"><Intrinsic FunctionName="getdescendantlimit"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="548" PhysicalOp="Table-valued function" LogicalOp="Table-valued function" EstimateRows="3.7606" EstimateIO="0" EstimateCPU="1.00036" AvgRowSize="17" EstimatedTotalSubtreeCost="41.7995" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></OutputList><TableValuedFunction><DefinedValues><DefinedValue><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></DefinedValue></DefinedValues><Object Table="[XML Reader with XPath filter]"/><ParameterList><ScalarOperator ScalarString="[@xml]"><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator ScalarString="(7)"><Const ConstValue="(7)"/></ScalarOperator><ScalarOperator ScalarString="XML Reader with XPath filter.[id]"><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator ScalarString="getdescendantlimit(XML Reader with XPath filter.[id])"><Intrinsic FunctionName="getdescendantlimit"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator></ParameterList></TableValuedFunction></RelOp></ComputeScalar></RelOp><Predicate><ScalarOperator ScalarString="XML Reader with XPath filter.[id]=getancestor(XML Reader with XPath filter.[id],(1))"><Compare CompareOp="EQ"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Intrinsic FunctionName="getancestor"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="(1)"/></ScalarOperator></Intrinsic></ScalarOperator></Compare></ScalarOperator></Predicate></Filter></RelOp></ComputeScalar></RelOp></Top></RelOp>
<RelOp NodeId="561" PhysicalOp="Table Spool" LogicalOp="Eager Spool" EstimateRows="10000" EstimateIO="0.013125" EstimateCPU="0.0037006" AvgRowSize="8099" EstimatedTotalSubtreeCost="1.59493" Parallel="0" EstimateRebinds="0" EstimateRewinds="199"><OutputList><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><Spool>
<RelOp NodeId="562" PhysicalOp="Table-valued function" LogicalOp="Table-valued function" EstimateRows="10000" EstimateIO="0" EstimateCPU="1.2" AvgRowSize="8099" EstimatedTotalSubtreeCost="1.2" Parallel="0" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><TableValuedFunction><DefinedValues><DefinedValue><ColumnReference Table="[XML Reader]" Column="id"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="nid"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="tid"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="value"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="lvalue"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></DefinedValue></DefinedValues><Object Table="[XML Reader]"/><ParameterList><ScalarOperator ScalarString="[@xml]"><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator ScalarString="(0)"><Const ConstValue="(0)"/></ScalarOperator><ScalarOperator ScalarString="NULL"><Const ConstValue="NULL"/></ScalarOperator><ScalarOperator ScalarString="NULL"><Const ConstValue="NULL"/></ScalarOperator></ParameterList></TableValuedFunction></RelOp></Spool></RelOp></NestedLoops></RelOp></Extension></RelOp></StreamAggregate></RelOp></NestedLoops></RelOp>
<RelOp NodeId="571" PhysicalOp="Stream Aggregate" LogicalOp="Aggregate" EstimateRows="1" EstimateIO="0" EstimateCPU="0.0004325" AvgRowSize="21" EstimatedTotalSubtreeCost="53.3856" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Column="Expr1273"/></OutputList><StreamAggregate><DefinedValues><DefinedValue><ColumnReference Column="Expr1273"/><ScalarOperator ScalarString="MIN(CASE WHEN [@xml] IS NULL THEN NULL ELSE CASE WHEN datalength([Expr1270])&gt;=(128) THEN CONVERT_IMPLICIT(varchar(20),[Expr1271],0) ELSE CONVERT_IMPLICIT(varchar(20),[Expr1270],0) END END)"><Aggregate Distinct="0" AggType="MIN"><ScalarOperator><IF><Condition><ScalarOperator><Compare CompareOp="IS"><ScalarOperator><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="NULL"/></ScalarOperator></Compare></ScalarOperator></Condition><Then><ScalarOperator><Const ConstValue="NULL"/></ScalarOperator></Then><Else><ScalarOperator><IF><Condition><ScalarOperator><Compare CompareOp="GE"><ScalarOperator><Intrinsic FunctionName="datalength"><ScalarOperator><Identifier><ColumnReference Column="Expr1270"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator><ScalarOperator><Const ConstValue="(128)"/></ScalarOperator></Compare></ScalarOperator></Condition><Then><ScalarOperator><Convert DataType="varchar" Length="20" Style="0" Implicit="1"><ScalarOperator><Identifier><ColumnReference Column="Expr1271"/></Identifier></ScalarOperator></Convert></ScalarOperator></Then><Else><ScalarOperator><Convert DataType="varchar" Length="20" Style="0" Implicit="1"><ScalarOperator><Identifier><ColumnReference Column="Expr1270"/></Identifier></ScalarOperator></Convert></ScalarOperator></Else></IF></ScalarOperator></Else></IF></ScalarOperator></Aggregate></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="572" PhysicalOp="UDX" LogicalOp="UDX" EstimateRows="720" EstimateIO="0" EstimateCPU="0.00072" AvgRowSize="8045" EstimatedTotalSubtreeCost="53.2991" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Column="Expr1270"/><ColumnReference Column="Expr1271"/></OutputList><Extension UDXName="XQUERY DATA"><DefinedValues><DefinedValue><ColumnReference Column="Expr1268"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1269"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1270"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1271"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1272"/></DefinedValue></DefinedValues><UsedUDXColumns><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/><ColumnReference Column="Expr1264"/><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Table="[XML Reader]" Column="id"/></UsedUDXColumns>
<RelOp NodeId="573" PhysicalOp="Nested Loops" LogicalOp="Inner Join" EstimateRows="900" EstimateIO="0" EstimateCPU="0.0418" AvgRowSize="8559" EstimatedTotalSubtreeCost="53.1551" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1264"/><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><NestedLoops Optimized="0"><Predicate><ScalarOperator ScalarString="XML Reader with XPath filter.[id]&lt;=XML Reader.[id] AND [Expr1787]&gt;XML Reader.[id]"><Logical Operation="AND"><ScalarOperator><Compare CompareOp="LE"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Identifier><ColumnReference Table="[XML Reader]" Column="id"/></Identifier></ScalarOperator></Compare></ScalarOperator><ScalarOperator><Compare CompareOp="GT"><ScalarOperator><Identifier><ColumnReference Column="Expr1787"/></Identifier></ScalarOperator><ScalarOperator><Identifier><ColumnReference Table="[XML Reader]" Column="id"/></Identifier></ScalarOperator></Compare></ScalarOperator></Logical></ScalarOperator></Predicate>
<RelOp NodeId="574" PhysicalOp="Top" LogicalOp="Top" EstimateRows="1" EstimateIO="0" EstimateCPU="1e-007" AvgRowSize="921" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1264"/><ColumnReference Column="Expr1787"/></OutputList><Top RowCount="0" IsPercent="0" WithTies="0"><TopExpression><ScalarOperator ScalarString="(1)"><Const ConstValue="(1)"/></ScalarOperator></TopExpression>
<RelOp NodeId="575" PhysicalOp="Compute Scalar" LogicalOp="Compute Scalar" EstimateRows="1" EstimateIO="0" EstimateCPU="4.78647e-007" AvgRowSize="921" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1264"/><ColumnReference Column="Expr1787"/></OutputList><ComputeScalar><DefinedValues><DefinedValue><ColumnReference Column="Expr1264"/><ScalarOperator ScalarString="0x58"><Const ConstValue="0x58"/></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="576" PhysicalOp="Filter" LogicalOp="Filter" EstimateRows="1" EstimateIO="0" EstimateCPU="1.224e-005" AvgRowSize="469" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1787"/></OutputList><Filter StartupExpression="0">
<RelOp NodeId="577" PhysicalOp="Compute Scalar" LogicalOp="Compute Scalar" EstimateRows="3.7606" EstimateIO="0" EstimateCPU="1.8e-006" AvgRowSize="469" EstimatedTotalSubtreeCost="41.7996" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1787"/></OutputList><ComputeScalar><DefinedValues><DefinedValue><ColumnReference Column="Expr1787"/><ScalarOperator ScalarString="getdescendantlimit(XML Reader with XPath filter.[id])"><Intrinsic FunctionName="getdescendantlimit"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="578" PhysicalOp="Table-valued function" LogicalOp="Table-valued function" EstimateRows="3.7606" EstimateIO="0" EstimateCPU="1.00036" AvgRowSize="17" EstimatedTotalSubtreeCost="41.7995" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></OutputList><TableValuedFunction><DefinedValues><DefinedValue><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></DefinedValue></DefinedValues><Object Table="[XML Reader with XPath filter]"/><ParameterList><ScalarOperator ScalarString="[@xml]"><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator ScalarString="(7)"><Const ConstValue="(7)"/></ScalarOperator><ScalarOperator ScalarString="XML Reader with XPath filter.[id]"><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator ScalarString="getdescendantlimit(XML Reader with XPath filter.[id])"><Intrinsic FunctionName="getdescendantlimit"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator></ParameterList></TableValuedFunction></RelOp></ComputeScalar></RelOp><Predicate><ScalarOperator ScalarString="XML Reader with XPath filter.[id]=getancestor(XML Reader with XPath filter.[id],(1))"><Compare CompareOp="EQ"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Intrinsic FunctionName="getancestor"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="(1)"/></ScalarOperator></Intrinsic></ScalarOperator></Compare></ScalarOperator></Predicate></Filter></RelOp></ComputeScalar></RelOp></Top></RelOp>
<RelOp NodeId="591" PhysicalOp="Table Spool" LogicalOp="Eager Spool" EstimateRows="10000" EstimateIO="0.013125" EstimateCPU="0.0037006" AvgRowSize="8099" EstimatedTotalSubtreeCost="1.59493" Parallel="0" EstimateRebinds="0" EstimateRewinds="199"><OutputList><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><Spool>
<RelOp NodeId="592" PhysicalOp="Table-valued function" LogicalOp="Table-valued function" EstimateRows="10000" EstimateIO="0" EstimateCPU="1.2" AvgRowSize="8099" EstimatedTotalSubtreeCost="1.2" Parallel="0" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><TableValuedFunction><DefinedValues><DefinedValue><ColumnReference Table="[XML Reader]" Column="id"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="nid"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="tid"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="value"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="lvalue"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></DefinedValue></DefinedValues><Object Table="[XML Reader]"/><ParameterList><ScalarOperator ScalarString="[@xml]"><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator ScalarString="(0)"><Const ConstValue="(0)"/></ScalarOperator><ScalarOperator ScalarString="NULL"><Const ConstValue="NULL"/></ScalarOperator><ScalarOperator ScalarString="NULL"><Const ConstValue="NULL"/></ScalarOperator></ParameterList></TableValuedFunction></RelOp></Spool></RelOp></NestedLoops></RelOp></Extension></RelOp></StreamAggregate></RelOp></NestedLoops></RelOp>
<RelOp NodeId="601" PhysicalOp="Stream Aggregate" LogicalOp="Aggregate" EstimateRows="1" EstimateIO="0" EstimateCPU="0.0004325" AvgRowSize="21" EstimatedTotalSubtreeCost="53.3856" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Column="Expr1287"/></OutputList><StreamAggregate><DefinedValues><DefinedValue><ColumnReference Column="Expr1287"/><ScalarOperator ScalarString="MIN(CASE WHEN [@xml] IS NULL THEN NULL ELSE CASE WHEN datalength([Expr1284])&gt;=(128) THEN CONVERT_IMPLICIT(varchar(20),[Expr1285],0) ELSE CONVERT_IMPLICIT(varchar(20),[Expr1284],0) END END)"><Aggregate Distinct="0" AggType="MIN"><ScalarOperator><IF><Condition><ScalarOperator><Compare CompareOp="IS"><ScalarOperator><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="NULL"/></ScalarOperator></Compare></ScalarOperator></Condition><Then><ScalarOperator><Const ConstValue="NULL"/></ScalarOperator></Then><Else><ScalarOperator><IF><Condition><ScalarOperator><Compare CompareOp="GE"><ScalarOperator><Intrinsic FunctionName="datalength"><ScalarOperator><Identifier><ColumnReference Column="Expr1284"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator><ScalarOperator><Const ConstValue="(128)"/></ScalarOperator></Compare></ScalarOperator></Condition><Then><ScalarOperator><Convert DataType="varchar" Length="20" Style="0" Implicit="1"><ScalarOperator><Identifier><ColumnReference Column="Expr1285"/></Identifier></ScalarOperator></Convert></ScalarOperator></Then><Else><ScalarOperator><Convert DataType="varchar" Length="20" Style="0" Implicit="1"><ScalarOperator><Identifier><ColumnReference Column="Expr1284"/></Identifier></ScalarOperator></Convert></ScalarOperator></Else></IF></ScalarOperator></Else></IF></ScalarOperator></Aggregate></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="602" PhysicalOp="UDX" LogicalOp="UDX" EstimateRows="720" EstimateIO="0" EstimateCPU="0.00072" AvgRowSize="8045" EstimatedTotalSubtreeCost="53.2991" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Column="Expr1284"/><ColumnReference Column="Expr1285"/></OutputList><Extension UDXName="XQUERY DATA"><DefinedValues><DefinedValue><ColumnReference Column="Expr1282"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1283"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1284"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1285"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1286"/></DefinedValue></DefinedValues><UsedUDXColumns><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/><ColumnReference Column="Expr1278"/><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Table="[XML Reader]" Column="id"/></UsedUDXColumns>
<RelOp NodeId="603" PhysicalOp="Nested Loops" LogicalOp="Inner Join" EstimateRows="900" EstimateIO="0" EstimateCPU="0.0418" AvgRowSize="8559" EstimatedTotalSubtreeCost="53.1551" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1278"/><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><NestedLoops Optimized="0"><Predicate><ScalarOperator ScalarString="XML Reader with XPath filter.[id]&lt;=XML Reader.[id] AND [Expr1789]&gt;XML Reader.[id]"><Logical Operation="AND"><ScalarOperator><Compare CompareOp="LE"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Identifier><ColumnReference Table="[XML Reader]" Column="id"/></Identifier></ScalarOperator></Compare></ScalarOperator><ScalarOperator><Compare CompareOp="GT"><ScalarOperator><Identifier><ColumnReference Column="Expr1789"/></Identifier></ScalarOperator><ScalarOperator><Identifier><ColumnReference Table="[XML Reader]" Column="id"/></Identifier></ScalarOperator></Compare></ScalarOperator></Logical></ScalarOperator></Predicate>
<RelOp NodeId="604" PhysicalOp="Top" LogicalOp="Top" EstimateRows="1" EstimateIO="0" EstimateCPU="1e-007" AvgRowSize="921" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1278"/><ColumnReference Column="Expr1789"/></OutputList><Top RowCount="0" IsPercent="0" WithTies="0"><TopExpression><ScalarOperator ScalarString="(1)"><Const ConstValue="(1)"/></ScalarOperator></TopExpression>
<RelOp NodeId="605" PhysicalOp="Compute Scalar" LogicalOp="Compute Scalar" EstimateRows="1" EstimateIO="0" EstimateCPU="4.78647e-007" AvgRowSize="921" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1278"/><ColumnReference Column="Expr1789"/></OutputList><ComputeScalar><DefinedValues><DefinedValue><ColumnReference Column="Expr1278"/><ScalarOperator ScalarString="0x58"><Const ConstValue="0x58"/></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="606" PhysicalOp="Filter" LogicalOp="Filter" EstimateRows="1" EstimateIO="0" EstimateCPU="1.224e-005" AvgRowSize="469" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1789"/></OutputList><Filter StartupExpression="0">
<RelOp NodeId="607" PhysicalOp="Compute Scalar" LogicalOp="Compute Scalar" EstimateRows="3.7606" EstimateIO="0" EstimateCPU="1.8e-006" AvgRowSize="469" EstimatedTotalSubtreeCost="41.7996" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1789"/></OutputList><ComputeScalar><DefinedValues><DefinedValue><ColumnReference Column="Expr1789"/><ScalarOperator ScalarString="getdescendantlimit(XML Reader with XPath filter.[id])"><Intrinsic FunctionName="getdescendantlimit"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="608" PhysicalOp="Table-valued function" LogicalOp="Table-valued function" EstimateRows="3.7606" EstimateIO="0" EstimateCPU="1.00036" AvgRowSize="17" EstimatedTotalSubtreeCost="41.7995" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></OutputList><TableValuedFunction><DefinedValues><DefinedValue><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></DefinedValue></DefinedValues><Object Table="[XML Reader with XPath filter]"/><ParameterList><ScalarOperator ScalarString="[@xml]"><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator ScalarString="(7)"><Const ConstValue="(7)"/></ScalarOperator><ScalarOperator ScalarString="XML Reader with XPath filter.[id]"><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator ScalarString="getdescendantlimit(XML Reader with XPath filter.[id])"><Intrinsic FunctionName="getdescendantlimit"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator></ParameterList></TableValuedFunction></RelOp></ComputeScalar></RelOp><Predicate><ScalarOperator ScalarString="XML Reader with XPath filter.[id]=getancestor(XML Reader with XPath filter.[id],(1))"><Compare CompareOp="EQ"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Intrinsic FunctionName="getancestor"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="(1)"/></ScalarOperator></Intrinsic></ScalarOperator></Compare></ScalarOperator></Predicate></Filter></RelOp></ComputeScalar></RelOp></Top></RelOp>
<RelOp NodeId="621" PhysicalOp="Table Spool" LogicalOp="Eager Spool" EstimateRows="10000" EstimateIO="0.013125" EstimateCPU="0.0037006" AvgRowSize="8099" EstimatedTotalSubtreeCost="1.59493" Parallel="0" EstimateRebinds="0" EstimateRewinds="199"><OutputList><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><Spool>
<RelOp NodeId="622" PhysicalOp="Table-valued function" LogicalOp="Table-valued function" EstimateRows="10000" EstimateIO="0" EstimateCPU="1.2" AvgRowSize="8099" EstimatedTotalSubtreeCost="1.2" Parallel="0" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><TableValuedFunction><DefinedValues><DefinedValue><ColumnReference Table="[XML Reader]" Column="id"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="nid"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="tid"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="value"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="lvalue"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></DefinedValue></DefinedValues><Object Table="[XML Reader]"/><ParameterList><ScalarOperator ScalarString="[@xml]"><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator ScalarString="(0)"><Const ConstValue="(0)"/></ScalarOperator><ScalarOperator ScalarString="NULL"><Const ConstValue="NULL"/></ScalarOperator><ScalarOperator ScalarString="NULL"><Const ConstValue="NULL"/></ScalarOperator></ParameterList></TableValuedFunction></RelOp></Spool></RelOp></NestedLoops></RelOp></Extension></RelOp></StreamAggregate></RelOp></NestedLoops></RelOp>
<RelOp NodeId="631" PhysicalOp="Stream Aggregate" LogicalOp="Aggregate" EstimateRows="1" EstimateIO="0" EstimateCPU="0.0004325" AvgRowSize="21" EstimatedTotalSubtreeCost="53.3856" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Column="Expr1302"/></OutputList><StreamAggregate><DefinedValues><DefinedValue><ColumnReference Column="Expr1302"/><ScalarOperator ScalarString="MIN(CASE WHEN [@xml] IS NULL THEN NULL ELSE CASE WHEN datalength([Expr1299])&gt;=(128) THEN CONVERT_IMPLICIT(varchar(20),[Expr1300],0) ELSE CONVERT_IMPLICIT(varchar(20),[Expr1299],0) END END)"><Aggregate Distinct="0" AggType="MIN"><ScalarOperator><IF><Condition><ScalarOperator><Compare CompareOp="IS"><ScalarOperator><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="NULL"/></ScalarOperator></Compare></ScalarOperator></Condition><Then><ScalarOperator><Const ConstValue="NULL"/></ScalarOperator></Then><Else><ScalarOperator><IF><Condition><ScalarOperator><Compare CompareOp="GE"><ScalarOperator><Intrinsic FunctionName="datalength"><ScalarOperator><Identifier><ColumnReference Column="Expr1299"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator><ScalarOperator><Const ConstValue="(128)"/></ScalarOperator></Compare></ScalarOperator></Condition><Then><ScalarOperator><Convert DataType="varchar" Length="20" Style="0" Implicit="1"><ScalarOperator><Identifier><ColumnReference Column="Expr1300"/></Identifier></ScalarOperator></Convert></ScalarOperator></Then><Else><ScalarOperator><Convert DataType="varchar" Length="20" Style="0" Implicit="1"><ScalarOperator><Identifier><ColumnReference Column="Expr1299"/></Identifier></ScalarOperator></Convert></ScalarOperator></Else></IF></ScalarOperator></Else></IF></ScalarOperator></Aggregate></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="632" PhysicalOp="UDX" LogicalOp="UDX" EstimateRows="720" EstimateIO="0" EstimateCPU="0.00072" AvgRowSize="8045" EstimatedTotalSubtreeCost="53.2991" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Column="Expr1299"/><ColumnReference Column="Expr1300"/></OutputList><Extension UDXName="XQUERY DATA"><DefinedValues><DefinedValue><ColumnReference Column="Expr1297"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1298"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1299"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1300"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1301"/></DefinedValue></DefinedValues><UsedUDXColumns><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/><ColumnReference Column="Expr1293"/><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Table="[XML Reader]" Column="id"/></UsedUDXColumns>
<RelOp NodeId="633" PhysicalOp="Nested Loops" LogicalOp="Inner Join" EstimateRows="900" EstimateIO="0" EstimateCPU="0.0418" AvgRowSize="8559" EstimatedTotalSubtreeCost="53.1551" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1293"/><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><NestedLoops Optimized="0"><Predicate><ScalarOperator ScalarString="XML Reader with XPath filter.[id]&lt;=XML Reader.[id] AND [Expr1791]&gt;XML Reader.[id]"><Logical Operation="AND"><ScalarOperator><Compare CompareOp="LE"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Identifier><ColumnReference Table="[XML Reader]" Column="id"/></Identifier></ScalarOperator></Compare></ScalarOperator><ScalarOperator><Compare CompareOp="GT"><ScalarOperator><Identifier><ColumnReference Column="Expr1791"/></Identifier></ScalarOperator><ScalarOperator><Identifier><ColumnReference Table="[XML Reader]" Column="id"/></Identifier></ScalarOperator></Compare></ScalarOperator></Logical></ScalarOperator></Predicate>
<RelOp NodeId="634" PhysicalOp="Top" LogicalOp="Top" EstimateRows="1" EstimateIO="0" EstimateCPU="1e-007" AvgRowSize="921" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1293"/><ColumnReference Column="Expr1791"/></OutputList><Top RowCount="0" IsPercent="0" WithTies="0"><TopExpression><ScalarOperator ScalarString="(1)"><Const ConstValue="(1)"/></ScalarOperator></TopExpression>
<RelOp NodeId="635" PhysicalOp="Compute Scalar" LogicalOp="Compute Scalar" EstimateRows="1" EstimateIO="0" EstimateCPU="4.78647e-007" AvgRowSize="921" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1293"/><ColumnReference Column="Expr1791"/></OutputList><ComputeScalar><DefinedValues><DefinedValue><ColumnReference Column="Expr1293"/><ScalarOperator ScalarString="0x58"><Const ConstValue="0x58"/></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="636" PhysicalOp="Filter" LogicalOp="Filter" EstimateRows="1" EstimateIO="0" EstimateCPU="1.224e-005" AvgRowSize="469" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1791"/></OutputList><Filter StartupExpression="0">
<RelOp NodeId="637" PhysicalOp="Compute Scalar" LogicalOp="Compute Scalar" EstimateRows="3.7606" EstimateIO="0" EstimateCPU="1.8e-006" AvgRowSize="469" EstimatedTotalSubtreeCost="41.7996" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1791"/></OutputList><ComputeScalar><DefinedValues><DefinedValue><ColumnReference Column="Expr1791"/><ScalarOperator ScalarString="getdescendantlimit(XML Reader with XPath filter.[id])"><Intrinsic FunctionName="getdescendantlimit"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="638" PhysicalOp="Table-valued function" LogicalOp="Table-valued function" EstimateRows="3.7606" EstimateIO="0" EstimateCPU="1.00036" AvgRowSize="17" EstimatedTotalSubtreeCost="41.7995" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></OutputList><TableValuedFunction><DefinedValues><DefinedValue><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></DefinedValue></DefinedValues><Object Table="[XML Reader with XPath filter]"/><ParameterList><ScalarOperator ScalarString="[@xml]"><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator ScalarString="(7)"><Const ConstValue="(7)"/></ScalarOperator><ScalarOperator ScalarString="XML Reader with XPath filter.[id]"><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator ScalarString="getdescendantlimit(XML Reader with XPath filter.[id])"><Intrinsic FunctionName="getdescendantlimit"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator></ParameterList></TableValuedFunction></RelOp></ComputeScalar></RelOp><Predicate><ScalarOperator ScalarString="XML Reader with XPath filter.[id]=getancestor(XML Reader with XPath filter.[id],(1))"><Compare CompareOp="EQ"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Intrinsic FunctionName="getancestor"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="(1)"/></ScalarOperator></Intrinsic></ScalarOperator></Compare></ScalarOperator></Predicate></Filter></RelOp></ComputeScalar></RelOp></Top></RelOp>
<RelOp NodeId="651" PhysicalOp="Table Spool" LogicalOp="Eager Spool" EstimateRows="10000" EstimateIO="0.013125" EstimateCPU="0.0037006" AvgRowSize="8099" EstimatedTotalSubtreeCost="1.59493" Parallel="0" EstimateRebinds="0" EstimateRewinds="199"><OutputList><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><Spool>
<RelOp NodeId="652" PhysicalOp="Table-valued function" LogicalOp="Table-valued function" EstimateRows="10000" EstimateIO="0" EstimateCPU="1.2" AvgRowSize="8099" EstimatedTotalSubtreeCost="1.2" Parallel="0" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><TableValuedFunction><DefinedValues><DefinedValue><ColumnReference Table="[XML Reader]" Column="id"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="nid"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="tid"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="value"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="lvalue"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></DefinedValue></DefinedValues><Object Table="[XML Reader]"/><ParameterList><ScalarOperator ScalarString="[@xml]"><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator ScalarString="(0)"><Const ConstValue="(0)"/></ScalarOperator><ScalarOperator ScalarString="NULL"><Const ConstValue="NULL"/></ScalarOperator><ScalarOperator ScalarString="NULL"><Const ConstValue="NULL"/></ScalarOperator></ParameterList></TableValuedFunction></RelOp></Spool></RelOp></NestedLoops></RelOp></Extension></RelOp></StreamAggregate></RelOp></NestedLoops></RelOp>
<RelOp NodeId="661" PhysicalOp="Stream Aggregate" LogicalOp="Aggregate" EstimateRows="1" EstimateIO="0" EstimateCPU="0.0004325" AvgRowSize="21" EstimatedTotalSubtreeCost="53.3856" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Column="Expr1316"/></OutputList><StreamAggregate><DefinedValues><DefinedValue><ColumnReference Column="Expr1316"/><ScalarOperator ScalarString="MIN(CASE WHEN [@xml] IS NULL THEN NULL ELSE CASE WHEN datalength([Expr1313])&gt;=(128) THEN CONVERT_IMPLICIT(varchar(20),[Expr1314],0) ELSE CONVERT_IMPLICIT(varchar(20),[Expr1313],0) END END)"><Aggregate Distinct="0" AggType="MIN"><ScalarOperator><IF><Condition><ScalarOperator><Compare CompareOp="IS"><ScalarOperator><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="NULL"/></ScalarOperator></Compare></ScalarOperator></Condition><Then><ScalarOperator><Const ConstValue="NULL"/></ScalarOperator></Then><Else><ScalarOperator><IF><Condition><ScalarOperator><Compare CompareOp="GE"><ScalarOperator><Intrinsic FunctionName="datalength"><ScalarOperator><Identifier><ColumnReference Column="Expr1313"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator><ScalarOperator><Const ConstValue="(128)"/></ScalarOperator></Compare></ScalarOperator></Condition><Then><ScalarOperator><Convert DataType="varchar" Length="20" Style="0" Implicit="1"><ScalarOperator><Identifier><ColumnReference Column="Expr1314"/></Identifier></ScalarOperator></Convert></ScalarOperator></Then><Else><ScalarOperator><Convert DataType="varchar" Length="20" Style="0" Implicit="1"><ScalarOperator><Identifier><ColumnReference Column="Expr1313"/></Identifier></ScalarOperator></Convert></ScalarOperator></Else></IF></ScalarOperator></Else></IF></ScalarOperator></Aggregate></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="662" PhysicalOp="UDX" LogicalOp="UDX" EstimateRows="720" EstimateIO="0" EstimateCPU="0.00072" AvgRowSize="8045" EstimatedTotalSubtreeCost="53.2991" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Column="Expr1313"/><ColumnReference Column="Expr1314"/></OutputList><Extension UDXName="XQUERY DATA"><DefinedValues><DefinedValue><ColumnReference Column="Expr1311"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1312"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1313"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1314"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1315"/></DefinedValue></DefinedValues><UsedUDXColumns><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/><ColumnReference Column="Expr1307"/><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Table="[XML Reader]" Column="id"/></UsedUDXColumns>
<RelOp NodeId="663" PhysicalOp="Nested Loops" LogicalOp="Inner Join" EstimateRows="900" EstimateIO="0" EstimateCPU="0.0418" AvgRowSize="8559" EstimatedTotalSubtreeCost="53.1551" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1307"/><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><NestedLoops Optimized="0"><Predicate><ScalarOperator ScalarString="XML Reader with XPath filter.[id]&lt;=XML Reader.[id] AND [Expr1793]&gt;XML Reader.[id]"><Logical Operation="AND"><ScalarOperator><Compare CompareOp="LE"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Identifier><ColumnReference Table="[XML Reader]" Column="id"/></Identifier></ScalarOperator></Compare></ScalarOperator><ScalarOperator><Compare CompareOp="GT"><ScalarOperator><Identifier><ColumnReference Column="Expr1793"/></Identifier></ScalarOperator><ScalarOperator><Identifier><ColumnReference Table="[XML Reader]" Column="id"/></Identifier></ScalarOperator></Compare></ScalarOperator></Logical></ScalarOperator></Predicate>
<RelOp NodeId="664" PhysicalOp="Top" LogicalOp="Top" EstimateRows="1" EstimateIO="0" EstimateCPU="1e-007" AvgRowSize="921" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1307"/><ColumnReference Column="Expr1793"/></OutputList><Top RowCount="0" IsPercent="0" WithTies="0"><TopExpression><ScalarOperator ScalarString="(1)"><Const ConstValue="(1)"/></ScalarOperator></TopExpression>
<RelOp NodeId="665" PhysicalOp="Compute Scalar" LogicalOp="Compute Scalar" EstimateRows="1" EstimateIO="0" EstimateCPU="4.78647e-007" AvgRowSize="921" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1307"/><ColumnReference Column="Expr1793"/></OutputList><ComputeScalar><DefinedValues><DefinedValue><ColumnReference Column="Expr1307"/><ScalarOperator ScalarString="0x58"><Const ConstValue="0x58"/></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="666" PhysicalOp="Filter" LogicalOp="Filter" EstimateRows="1" EstimateIO="0" EstimateCPU="1.224e-005" AvgRowSize="469" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1793"/></OutputList><Filter StartupExpression="0">
<RelOp NodeId="667" PhysicalOp="Compute Scalar" LogicalOp="Compute Scalar" EstimateRows="3.7606" EstimateIO="0" EstimateCPU="1.8e-006" AvgRowSize="469" EstimatedTotalSubtreeCost="41.7996" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1793"/></OutputList><ComputeScalar><DefinedValues><DefinedValue><ColumnReference Column="Expr1793"/><ScalarOperator ScalarString="getdescendantlimit(XML Reader with XPath filter.[id])"><Intrinsic FunctionName="getdescendantlimit"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="668" PhysicalOp="Table-valued function" LogicalOp="Table-valued function" EstimateRows="3.7606" EstimateIO="0" EstimateCPU="1.00036" AvgRowSize="17" EstimatedTotalSubtreeCost="41.7995" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></OutputList><TableValuedFunction><DefinedValues><DefinedValue><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></DefinedValue></DefinedValues><Object Table="[XML Reader with XPath filter]"/><ParameterList><ScalarOperator ScalarString="[@xml]"><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator ScalarString="(7)"><Const ConstValue="(7)"/></ScalarOperator><ScalarOperator ScalarString="XML Reader with XPath filter.[id]"><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator ScalarString="getdescendantlimit(XML Reader with XPath filter.[id])"><Intrinsic FunctionName="getdescendantlimit"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator></ParameterList></TableValuedFunction></RelOp></ComputeScalar></RelOp><Predicate><ScalarOperator ScalarString="XML Reader with XPath filter.[id]=getancestor(XML Reader with XPath filter.[id],(1))"><Compare CompareOp="EQ"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Intrinsic FunctionName="getancestor"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="(1)"/></ScalarOperator></Intrinsic></ScalarOperator></Compare></ScalarOperator></Predicate></Filter></RelOp></ComputeScalar></RelOp></Top></RelOp>
<RelOp NodeId="681" PhysicalOp="Table Spool" LogicalOp="Eager Spool" EstimateRows="10000" EstimateIO="0.013125" EstimateCPU="0.0037006" AvgRowSize="8099" EstimatedTotalSubtreeCost="1.59493" Parallel="0" EstimateRebinds="0" EstimateRewinds="199"><OutputList><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><Spool>
<RelOp NodeId="682" PhysicalOp="Table-valued function" LogicalOp="Table-valued function" EstimateRows="10000" EstimateIO="0" EstimateCPU="1.2" AvgRowSize="8099" EstimatedTotalSubtreeCost="1.2" Parallel="0" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><TableValuedFunction><DefinedValues><DefinedValue><ColumnReference Table="[XML Reader]" Column="id"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="nid"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="tid"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="value"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="lvalue"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></DefinedValue></DefinedValues><Object Table="[XML Reader]"/><ParameterList><ScalarOperator ScalarString="[@xml]"><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator ScalarString="(0)"><Const ConstValue="(0)"/></ScalarOperator><ScalarOperator ScalarString="NULL"><Const ConstValue="NULL"/></ScalarOperator><ScalarOperator ScalarString="NULL"><Const ConstValue="NULL"/></ScalarOperator></ParameterList></TableValuedFunction></RelOp></Spool></RelOp></NestedLoops></RelOp></Extension></RelOp></StreamAggregate></RelOp></NestedLoops></RelOp>
<RelOp NodeId="691" PhysicalOp="Stream Aggregate" LogicalOp="Aggregate" EstimateRows="1" EstimateIO="0" EstimateCPU="0.0004325" AvgRowSize="21" EstimatedTotalSubtreeCost="53.3856" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Column="Expr1331"/></OutputList><StreamAggregate><DefinedValues><DefinedValue><ColumnReference Column="Expr1331"/><ScalarOperator ScalarString="MIN(CASE WHEN [@xml] IS NULL THEN NULL ELSE CASE WHEN datalength([Expr1328])&gt;=(128) THEN CONVERT_IMPLICIT(varchar(20),[Expr1329],0) ELSE CONVERT_IMPLICIT(varchar(20),[Expr1328],0) END END)"><Aggregate Distinct="0" AggType="MIN"><ScalarOperator><IF><Condition><ScalarOperator><Compare CompareOp="IS"><ScalarOperator><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="NULL"/></ScalarOperator></Compare></ScalarOperator></Condition><Then><ScalarOperator><Const ConstValue="NULL"/></ScalarOperator></Then><Else><ScalarOperator><IF><Condition><ScalarOperator><Compare CompareOp="GE"><ScalarOperator><Intrinsic FunctionName="datalength"><ScalarOperator><Identifier><ColumnReference Column="Expr1328"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator><ScalarOperator><Const ConstValue="(128)"/></ScalarOperator></Compare></ScalarOperator></Condition><Then><ScalarOperator><Convert DataType="varchar" Length="20" Style="0" Implicit="1"><ScalarOperator><Identifier><ColumnReference Column="Expr1329"/></Identifier></ScalarOperator></Convert></ScalarOperator></Then><Else><ScalarOperator><Convert DataType="varchar" Length="20" Style="0" Implicit="1"><ScalarOperator><Identifier><ColumnReference Column="Expr1328"/></Identifier></ScalarOperator></Convert></ScalarOperator></Else></IF></ScalarOperator></Else></IF></ScalarOperator></Aggregate></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="692" PhysicalOp="UDX" LogicalOp="UDX" EstimateRows="720" EstimateIO="0" EstimateCPU="0.00072" AvgRowSize="8045" EstimatedTotalSubtreeCost="53.2991" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Column="Expr1328"/><ColumnReference Column="Expr1329"/></OutputList><Extension UDXName="XQUERY DATA"><DefinedValues><DefinedValue><ColumnReference Column="Expr1326"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1327"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1328"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1329"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1330"/></DefinedValue></DefinedValues><UsedUDXColumns><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/><ColumnReference Column="Expr1322"/><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Table="[XML Reader]" Column="id"/></UsedUDXColumns>
<RelOp NodeId="693" PhysicalOp="Nested Loops" LogicalOp="Inner Join" EstimateRows="900" EstimateIO="0" EstimateCPU="0.0418" AvgRowSize="8559" EstimatedTotalSubtreeCost="53.1551" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1322"/><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><NestedLoops Optimized="0"><Predicate><ScalarOperator ScalarString="XML Reader with XPath filter.[id]&lt;=XML Reader.[id] AND [Expr1795]&gt;XML Reader.[id]"><Logical Operation="AND"><ScalarOperator><Compare CompareOp="LE"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Identifier><ColumnReference Table="[XML Reader]" Column="id"/></Identifier></ScalarOperator></Compare></ScalarOperator><ScalarOperator><Compare CompareOp="GT"><ScalarOperator><Identifier><ColumnReference Column="Expr1795"/></Identifier></ScalarOperator><ScalarOperator><Identifier><ColumnReference Table="[XML Reader]" Column="id"/></Identifier></ScalarOperator></Compare></ScalarOperator></Logical></ScalarOperator></Predicate>
<RelOp NodeId="694" PhysicalOp="Top" LogicalOp="Top" EstimateRows="1" EstimateIO="0" EstimateCPU="1e-007" AvgRowSize="921" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1322"/><ColumnReference Column="Expr1795"/></OutputList><Top RowCount="0" IsPercent="0" WithTies="0"><TopExpression><ScalarOperator ScalarString="(1)"><Const ConstValue="(1)"/></ScalarOperator></TopExpression>
<RelOp NodeId="695" PhysicalOp="Compute Scalar" LogicalOp="Compute Scalar" EstimateRows="1" EstimateIO="0" EstimateCPU="4.78647e-007" AvgRowSize="921" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1322"/><ColumnReference Column="Expr1795"/></OutputList><ComputeScalar><DefinedValues><DefinedValue><ColumnReference Column="Expr1322"/><ScalarOperator ScalarString="0x58"><Const ConstValue="0x58"/></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="696" PhysicalOp="Filter" LogicalOp="Filter" EstimateRows="1" EstimateIO="0" EstimateCPU="1.224e-005" AvgRowSize="469" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1795"/></OutputList><Filter StartupExpression="0">
<RelOp NodeId="697" PhysicalOp="Compute Scalar" LogicalOp="Compute Scalar" EstimateRows="3.7606" EstimateIO="0" EstimateCPU="1.8e-006" AvgRowSize="469" EstimatedTotalSubtreeCost="41.7996" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1795"/></OutputList><ComputeScalar><DefinedValues><DefinedValue><ColumnReference Column="Expr1795"/><ScalarOperator ScalarString="getdescendantlimit(XML Reader with XPath filter.[id])"><Intrinsic FunctionName="getdescendantlimit"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="698" PhysicalOp="Table-valued function" LogicalOp="Table-valued function" EstimateRows="3.7606" EstimateIO="0" EstimateCPU="1.00036" AvgRowSize="17" EstimatedTotalSubtreeCost="41.7995" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></OutputList><TableValuedFunction><DefinedValues><DefinedValue><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></DefinedValue></DefinedValues><Object Table="[XML Reader with XPath filter]"/><ParameterList><ScalarOperator ScalarString="[@xml]"><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator ScalarString="(7)"><Const ConstValue="(7)"/></ScalarOperator><ScalarOperator ScalarString="XML Reader with XPath filter.[id]"><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator ScalarString="getdescendantlimit(XML Reader with XPath filter.[id])"><Intrinsic FunctionName="getdescendantlimit"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator></ParameterList></TableValuedFunction></RelOp></ComputeScalar></RelOp><Predicate><ScalarOperator ScalarString="XML Reader with XPath filter.[id]=getancestor(XML Reader with XPath filter.[id],(1))"><Compare CompareOp="EQ"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Intrinsic FunctionName="getancestor"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="(1)"/></ScalarOperator></Intrinsic></ScalarOperator></Compare></ScalarOperator></Predicate></Filter></RelOp></ComputeScalar></RelOp></Top></RelOp>
<RelOp NodeId="711" PhysicalOp="Table Spool" LogicalOp="Eager Spool" EstimateRows="10000" EstimateIO="0.013125" EstimateCPU="0.0037006" AvgRowSize="8099" EstimatedTotalSubtreeCost="1.59493" Parallel="0" EstimateRebinds="0" EstimateRewinds="199"><OutputList><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><Spool>
<RelOp NodeId="712" PhysicalOp="Table-valued function" LogicalOp="Table-valued function" EstimateRows="10000" EstimateIO="0" EstimateCPU="1.2" AvgRowSize="8099" EstimatedTotalSubtreeCost="1.2" Parallel="0" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><TableValuedFunction><DefinedValues><DefinedValue><ColumnReference Table="[XML Reader]" Column="id"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="nid"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="tid"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="value"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="lvalue"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></DefinedValue></DefinedValues><Object Table="[XML Reader]"/><ParameterList><ScalarOperator ScalarString="[@xml]"><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator ScalarString="(0)"><Const ConstValue="(0)"/></ScalarOperator><ScalarOperator ScalarString="NULL"><Const ConstValue="NULL"/></ScalarOperator><ScalarOperator ScalarString="NULL"><Const ConstValue="NULL"/></ScalarOperator></ParameterList></TableValuedFunction></RelOp></Spool></RelOp></NestedLoops></RelOp></Extension></RelOp></StreamAggregate></RelOp></NestedLoops></RelOp>
<RelOp NodeId="721" PhysicalOp="Stream Aggregate" LogicalOp="Aggregate" EstimateRows="1" EstimateIO="0" EstimateCPU="0.0004325" AvgRowSize="21" EstimatedTotalSubtreeCost="53.3856" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Column="Expr1345"/></OutputList><StreamAggregate><DefinedValues><DefinedValue><ColumnReference Column="Expr1345"/><ScalarOperator ScalarString="MIN(CASE WHEN [@xml] IS NULL THEN NULL ELSE CASE WHEN datalength([Expr1342])&gt;=(128) THEN CONVERT_IMPLICIT(varchar(20),[Expr1343],0) ELSE CONVERT_IMPLICIT(varchar(20),[Expr1342],0) END END)"><Aggregate Distinct="0" AggType="MIN"><ScalarOperator><IF><Condition><ScalarOperator><Compare CompareOp="IS"><ScalarOperator><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="NULL"/></ScalarOperator></Compare></ScalarOperator></Condition><Then><ScalarOperator><Const ConstValue="NULL"/></ScalarOperator></Then><Else><ScalarOperator><IF><Condition><ScalarOperator><Compare CompareOp="GE"><ScalarOperator><Intrinsic FunctionName="datalength"><ScalarOperator><Identifier><ColumnReference Column="Expr1342"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator><ScalarOperator><Const ConstValue="(128)"/></ScalarOperator></Compare></ScalarOperator></Condition><Then><ScalarOperator><Convert DataType="varchar" Length="20" Style="0" Implicit="1"><ScalarOperator><Identifier><ColumnReference Column="Expr1343"/></Identifier></ScalarOperator></Convert></ScalarOperator></Then><Else><ScalarOperator><Convert DataType="varchar" Length="20" Style="0" Implicit="1"><ScalarOperator><Identifier><ColumnReference Column="Expr1342"/></Identifier></ScalarOperator></Convert></ScalarOperator></Else></IF></ScalarOperator></Else></IF></ScalarOperator></Aggregate></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="722" PhysicalOp="UDX" LogicalOp="UDX" EstimateRows="720" EstimateIO="0" EstimateCPU="0.00072" AvgRowSize="8045" EstimatedTotalSubtreeCost="53.2991" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Column="Expr1342"/><ColumnReference Column="Expr1343"/></OutputList><Extension UDXName="XQUERY DATA"><DefinedValues><DefinedValue><ColumnReference Column="Expr1340"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1341"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1342"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1343"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1344"/></DefinedValue></DefinedValues><UsedUDXColumns><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/><ColumnReference Column="Expr1336"/><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Table="[XML Reader]" Column="id"/></UsedUDXColumns>
<RelOp NodeId="723" PhysicalOp="Nested Loops" LogicalOp="Inner Join" EstimateRows="900" EstimateIO="0" EstimateCPU="0.0418" AvgRowSize="8559" EstimatedTotalSubtreeCost="53.1551" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1336"/><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><NestedLoops Optimized="0"><Predicate><ScalarOperator ScalarString="XML Reader with XPath filter.[id]&lt;=XML Reader.[id] AND [Expr1797]&gt;XML Reader.[id]"><Logical Operation="AND"><ScalarOperator><Compare CompareOp="LE"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Identifier><ColumnReference Table="[XML Reader]" Column="id"/></Identifier></ScalarOperator></Compare></ScalarOperator><ScalarOperator><Compare CompareOp="GT"><ScalarOperator><Identifier><ColumnReference Column="Expr1797"/></Identifier></ScalarOperator><ScalarOperator><Identifier><ColumnReference Table="[XML Reader]" Column="id"/></Identifier></ScalarOperator></Compare></ScalarOperator></Logical></ScalarOperator></Predicate>
<RelOp NodeId="724" PhysicalOp="Top" LogicalOp="Top" EstimateRows="1" EstimateIO="0" EstimateCPU="1e-007" AvgRowSize="921" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1336"/><ColumnReference Column="Expr1797"/></OutputList><Top RowCount="0" IsPercent="0" WithTies="0"><TopExpression><ScalarOperator ScalarString="(1)"><Const ConstValue="(1)"/></ScalarOperator></TopExpression>
<RelOp NodeId="725" PhysicalOp="Compute Scalar" LogicalOp="Compute Scalar" EstimateRows="1" EstimateIO="0" EstimateCPU="4.78647e-007" AvgRowSize="921" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1336"/><ColumnReference Column="Expr1797"/></OutputList><ComputeScalar><DefinedValues><DefinedValue><ColumnReference Column="Expr1336"/><ScalarOperator ScalarString="0x58"><Const ConstValue="0x58"/></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="726" PhysicalOp="Filter" LogicalOp="Filter" EstimateRows="1" EstimateIO="0" EstimateCPU="1.224e-005" AvgRowSize="469" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1797"/></OutputList><Filter StartupExpression="0">
<RelOp NodeId="727" PhysicalOp="Compute Scalar" LogicalOp="Compute Scalar" EstimateRows="3.7606" EstimateIO="0" EstimateCPU="1.8e-006" AvgRowSize="469" EstimatedTotalSubtreeCost="41.7996" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1797"/></OutputList><ComputeScalar><DefinedValues><DefinedValue><ColumnReference Column="Expr1797"/><ScalarOperator ScalarString="getdescendantlimit(XML Reader with XPath filter.[id])"><Intrinsic FunctionName="getdescendantlimit"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="728" PhysicalOp="Table-valued function" LogicalOp="Table-valued function" EstimateRows="3.7606" EstimateIO="0" EstimateCPU="1.00036" AvgRowSize="17" EstimatedTotalSubtreeCost="41.7995" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></OutputList><TableValuedFunction><DefinedValues><DefinedValue><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></DefinedValue></DefinedValues><Object Table="[XML Reader with XPath filter]"/><ParameterList><ScalarOperator ScalarString="[@xml]"><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator ScalarString="(7)"><Const ConstValue="(7)"/></ScalarOperator><ScalarOperator ScalarString="XML Reader with XPath filter.[id]"><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator ScalarString="getdescendantlimit(XML Reader with XPath filter.[id])"><Intrinsic FunctionName="getdescendantlimit"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator></ParameterList></TableValuedFunction></RelOp></ComputeScalar></RelOp><Predicate><ScalarOperator ScalarString="XML Reader with XPath filter.[id]=getancestor(XML Reader with XPath filter.[id],(1))"><Compare CompareOp="EQ"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Intrinsic FunctionName="getancestor"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="(1)"/></ScalarOperator></Intrinsic></ScalarOperator></Compare></ScalarOperator></Predicate></Filter></RelOp></ComputeScalar></RelOp></Top></RelOp>
<RelOp NodeId="741" PhysicalOp="Table Spool" LogicalOp="Eager Spool" EstimateRows="10000" EstimateIO="0.013125" EstimateCPU="0.0037006" AvgRowSize="8099" EstimatedTotalSubtreeCost="1.59493" Parallel="0" EstimateRebinds="0" EstimateRewinds="199"><OutputList><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><Spool>
<RelOp NodeId="742" PhysicalOp="Table-valued function" LogicalOp="Table-valued function" EstimateRows="10000" EstimateIO="0" EstimateCPU="1.2" AvgRowSize="8099" EstimatedTotalSubtreeCost="1.2" Parallel="0" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><TableValuedFunction><DefinedValues><DefinedValue><ColumnReference Table="[XML Reader]" Column="id"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="nid"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="tid"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="value"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="lvalue"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></DefinedValue></DefinedValues><Object Table="[XML Reader]"/><ParameterList><ScalarOperator ScalarString="[@xml]"><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator ScalarString="(0)"><Const ConstValue="(0)"/></ScalarOperator><ScalarOperator ScalarString="NULL"><Const ConstValue="NULL"/></ScalarOperator><ScalarOperator ScalarString="NULL"><Const ConstValue="NULL"/></ScalarOperator></ParameterList></TableValuedFunction></RelOp></Spool></RelOp></NestedLoops></RelOp></Extension></RelOp></StreamAggregate></RelOp></NestedLoops></RelOp>
<RelOp NodeId="751" PhysicalOp="Stream Aggregate" LogicalOp="Aggregate" EstimateRows="1" EstimateIO="0" EstimateCPU="0.0004325" AvgRowSize="23" EstimatedTotalSubtreeCost="53.3856" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Column="Expr1360"/></OutputList><StreamAggregate><DefinedValues><DefinedValue><ColumnReference Column="Expr1360"/><ScalarOperator ScalarString="MIN(CASE WHEN [@xml] IS NULL THEN NULL ELSE CASE WHEN datalength([Expr1357])&gt;=(128) THEN CONVERT_IMPLICIT(varchar(25),[Expr1358],0) ELSE CONVERT_IMPLICIT(varchar(25),[Expr1357],0) END END)"><Aggregate Distinct="0" AggType="MIN"><ScalarOperator><IF><Condition><ScalarOperator><Compare CompareOp="IS"><ScalarOperator><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="NULL"/></ScalarOperator></Compare></ScalarOperator></Condition><Then><ScalarOperator><Const ConstValue="NULL"/></ScalarOperator></Then><Else><ScalarOperator><IF><Condition><ScalarOperator><Compare CompareOp="GE"><ScalarOperator><Intrinsic FunctionName="datalength"><ScalarOperator><Identifier><ColumnReference Column="Expr1357"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator><ScalarOperator><Const ConstValue="(128)"/></ScalarOperator></Compare></ScalarOperator></Condition><Then><ScalarOperator><Convert DataType="varchar" Length="25" Style="0" Implicit="1"><ScalarOperator><Identifier><ColumnReference Column="Expr1358"/></Identifier></ScalarOperator></Convert></ScalarOperator></Then><Else><ScalarOperator><Convert DataType="varchar" Length="25" Style="0" Implicit="1"><ScalarOperator><Identifier><ColumnReference Column="Expr1357"/></Identifier></ScalarOperator></Convert></ScalarOperator></Else></IF></ScalarOperator></Else></IF></ScalarOperator></Aggregate></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="752" PhysicalOp="UDX" LogicalOp="UDX" EstimateRows="720" EstimateIO="0" EstimateCPU="0.00072" AvgRowSize="8045" EstimatedTotalSubtreeCost="53.2991" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Column="Expr1357"/><ColumnReference Column="Expr1358"/></OutputList><Extension UDXName="XQUERY DATA"><DefinedValues><DefinedValue><ColumnReference Column="Expr1355"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1356"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1357"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1358"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1359"/></DefinedValue></DefinedValues><UsedUDXColumns><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/><ColumnReference Column="Expr1351"/><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Table="[XML Reader]" Column="id"/></UsedUDXColumns>
<RelOp NodeId="753" PhysicalOp="Nested Loops" LogicalOp="Inner Join" EstimateRows="900" EstimateIO="0" EstimateCPU="0.0418" AvgRowSize="8559" EstimatedTotalSubtreeCost="53.1551" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1351"/><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><NestedLoops Optimized="0"><Predicate><ScalarOperator ScalarString="XML Reader with XPath filter.[id]&lt;=XML Reader.[id] AND [Expr1799]&gt;XML Reader.[id]"><Logical Operation="AND"><ScalarOperator><Compare CompareOp="LE"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Identifier><ColumnReference Table="[XML Reader]" Column="id"/></Identifier></ScalarOperator></Compare></ScalarOperator><ScalarOperator><Compare CompareOp="GT"><ScalarOperator><Identifier><ColumnReference Column="Expr1799"/></Identifier></ScalarOperator><ScalarOperator><Identifier><ColumnReference Table="[XML Reader]" Column="id"/></Identifier></ScalarOperator></Compare></ScalarOperator></Logical></ScalarOperator></Predicate>
<RelOp NodeId="754" PhysicalOp="Top" LogicalOp="Top" EstimateRows="1" EstimateIO="0" EstimateCPU="1e-007" AvgRowSize="921" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1351"/><ColumnReference Column="Expr1799"/></OutputList><Top RowCount="0" IsPercent="0" WithTies="0"><TopExpression><ScalarOperator ScalarString="(1)"><Const ConstValue="(1)"/></ScalarOperator></TopExpression>
<RelOp NodeId="755" PhysicalOp="Compute Scalar" LogicalOp="Compute Scalar" EstimateRows="1" EstimateIO="0" EstimateCPU="4.78647e-007" AvgRowSize="921" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1351"/><ColumnReference Column="Expr1799"/></OutputList><ComputeScalar><DefinedValues><DefinedValue><ColumnReference Column="Expr1351"/><ScalarOperator ScalarString="0x58"><Const ConstValue="0x58"/></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="756" PhysicalOp="Filter" LogicalOp="Filter" EstimateRows="1" EstimateIO="0" EstimateCPU="1.224e-005" AvgRowSize="469" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1799"/></OutputList><Filter StartupExpression="0">
<RelOp NodeId="757" PhysicalOp="Compute Scalar" LogicalOp="Compute Scalar" EstimateRows="3.7606" EstimateIO="0" EstimateCPU="1.8e-006" AvgRowSize="469" EstimatedTotalSubtreeCost="41.7996" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1799"/></OutputList><ComputeScalar><DefinedValues><DefinedValue><ColumnReference Column="Expr1799"/><ScalarOperator ScalarString="getdescendantlimit(XML Reader with XPath filter.[id])"><Intrinsic FunctionName="getdescendantlimit"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="758" PhysicalOp="Table-valued function" LogicalOp="Table-valued function" EstimateRows="3.7606" EstimateIO="0" EstimateCPU="1.00036" AvgRowSize="17" EstimatedTotalSubtreeCost="41.7995" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></OutputList><TableValuedFunction><DefinedValues><DefinedValue><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></DefinedValue></DefinedValues><Object Table="[XML Reader with XPath filter]"/><ParameterList><ScalarOperator ScalarString="[@xml]"><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator ScalarString="(7)"><Const ConstValue="(7)"/></ScalarOperator><ScalarOperator ScalarString="XML Reader with XPath filter.[id]"><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator ScalarString="getdescendantlimit(XML Reader with XPath filter.[id])"><Intrinsic FunctionName="getdescendantlimit"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator></ParameterList></TableValuedFunction></RelOp></ComputeScalar></RelOp><Predicate><ScalarOperator ScalarString="XML Reader with XPath filter.[id]=getancestor(XML Reader with XPath filter.[id],(1))"><Compare CompareOp="EQ"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Intrinsic FunctionName="getancestor"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="(1)"/></ScalarOperator></Intrinsic></ScalarOperator></Compare></ScalarOperator></Predicate></Filter></RelOp></ComputeScalar></RelOp></Top></RelOp>
<RelOp NodeId="771" PhysicalOp="Table Spool" LogicalOp="Eager Spool" EstimateRows="10000" EstimateIO="0.013125" EstimateCPU="0.0037006" AvgRowSize="8099" EstimatedTotalSubtreeCost="1.59493" Parallel="0" EstimateRebinds="0" EstimateRewinds="199"><OutputList><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><Spool>
<RelOp NodeId="772" PhysicalOp="Table-valued function" LogicalOp="Table-valued function" EstimateRows="10000" EstimateIO="0" EstimateCPU="1.2" AvgRowSize="8099" EstimatedTotalSubtreeCost="1.2" Parallel="0" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><TableValuedFunction><DefinedValues><DefinedValue><ColumnReference Table="[XML Reader]" Column="id"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="nid"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="tid"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="value"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="lvalue"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></DefinedValue></DefinedValues><Object Table="[XML Reader]"/><ParameterList><ScalarOperator ScalarString="[@xml]"><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator ScalarString="(0)"><Const ConstValue="(0)"/></ScalarOperator><ScalarOperator ScalarString="NULL"><Const ConstValue="NULL"/></ScalarOperator><ScalarOperator ScalarString="NULL"><Const ConstValue="NULL"/></ScalarOperator></ParameterList></TableValuedFunction></RelOp></Spool></RelOp></NestedLoops></RelOp></Extension></RelOp></StreamAggregate></RelOp></NestedLoops></RelOp>
<RelOp NodeId="781" PhysicalOp="Stream Aggregate" LogicalOp="Aggregate" EstimateRows="1" EstimateIO="0" EstimateCPU="0.0004325" AvgRowSize="23" EstimatedTotalSubtreeCost="53.3856" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Column="Expr1375"/></OutputList><StreamAggregate><DefinedValues><DefinedValue><ColumnReference Column="Expr1375"/><ScalarOperator ScalarString="MIN(CASE WHEN [@xml] IS NULL THEN NULL ELSE CASE WHEN datalength([Expr1372])&gt;=(128) THEN CONVERT_IMPLICIT(varchar(25),[Expr1373],0) ELSE CONVERT_IMPLICIT(varchar(25),[Expr1372],0) END END)"><Aggregate Distinct="0" AggType="MIN"><ScalarOperator><IF><Condition><ScalarOperator><Compare CompareOp="IS"><ScalarOperator><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="NULL"/></ScalarOperator></Compare></ScalarOperator></Condition><Then><ScalarOperator><Const ConstValue="NULL"/></ScalarOperator></Then><Else><ScalarOperator><IF><Condition><ScalarOperator><Compare CompareOp="GE"><ScalarOperator><Intrinsic FunctionName="datalength"><ScalarOperator><Identifier><ColumnReference Column="Expr1372"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator><ScalarOperator><Const ConstValue="(128)"/></ScalarOperator></Compare></ScalarOperator></Condition><Then><ScalarOperator><Convert DataType="varchar" Length="25" Style="0" Implicit="1"><ScalarOperator><Identifier><ColumnReference Column="Expr1373"/></Identifier></ScalarOperator></Convert></ScalarOperator></Then><Else><ScalarOperator><Convert DataType="varchar" Length="25" Style="0" Implicit="1"><ScalarOperator><Identifier><ColumnReference Column="Expr1372"/></Identifier></ScalarOperator></Convert></ScalarOperator></Else></IF></ScalarOperator></Else></IF></ScalarOperator></Aggregate></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="782" PhysicalOp="UDX" LogicalOp="UDX" EstimateRows="720" EstimateIO="0" EstimateCPU="0.00072" AvgRowSize="8045" EstimatedTotalSubtreeCost="53.2991" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Column="Expr1372"/><ColumnReference Column="Expr1373"/></OutputList><Extension UDXName="XQUERY DATA"><DefinedValues><DefinedValue><ColumnReference Column="Expr1370"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1371"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1372"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1373"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1374"/></DefinedValue></DefinedValues><UsedUDXColumns><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/><ColumnReference Column="Expr1366"/><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Table="[XML Reader]" Column="id"/></UsedUDXColumns>
<RelOp NodeId="783" PhysicalOp="Nested Loops" LogicalOp="Inner Join" EstimateRows="900" EstimateIO="0" EstimateCPU="0.0418" AvgRowSize="8559" EstimatedTotalSubtreeCost="53.1551" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1366"/><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><NestedLoops Optimized="0"><Predicate><ScalarOperator ScalarString="XML Reader with XPath filter.[id]&lt;=XML Reader.[id] AND [Expr1801]&gt;XML Reader.[id]"><Logical Operation="AND"><ScalarOperator><Compare CompareOp="LE"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Identifier><ColumnReference Table="[XML Reader]" Column="id"/></Identifier></ScalarOperator></Compare></ScalarOperator><ScalarOperator><Compare CompareOp="GT"><ScalarOperator><Identifier><ColumnReference Column="Expr1801"/></Identifier></ScalarOperator><ScalarOperator><Identifier><ColumnReference Table="[XML Reader]" Column="id"/></Identifier></ScalarOperator></Compare></ScalarOperator></Logical></ScalarOperator></Predicate>
<RelOp NodeId="784" PhysicalOp="Top" LogicalOp="Top" EstimateRows="1" EstimateIO="0" EstimateCPU="1e-007" AvgRowSize="921" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1366"/><ColumnReference Column="Expr1801"/></OutputList><Top RowCount="0" IsPercent="0" WithTies="0"><TopExpression><ScalarOperator ScalarString="(1)"><Const ConstValue="(1)"/></ScalarOperator></TopExpression>
<RelOp NodeId="785" PhysicalOp="Compute Scalar" LogicalOp="Compute Scalar" EstimateRows="1" EstimateIO="0" EstimateCPU="4.78647e-007" AvgRowSize="921" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1366"/><ColumnReference Column="Expr1801"/></OutputList><ComputeScalar><DefinedValues><DefinedValue><ColumnReference Column="Expr1366"/><ScalarOperator ScalarString="0x58"><Const ConstValue="0x58"/></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="786" PhysicalOp="Filter" LogicalOp="Filter" EstimateRows="1" EstimateIO="0" EstimateCPU="1.224e-005" AvgRowSize="469" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1801"/></OutputList><Filter StartupExpression="0">
<RelOp NodeId="787" PhysicalOp="Compute Scalar" LogicalOp="Compute Scalar" EstimateRows="3.7606" EstimateIO="0" EstimateCPU="1.8e-006" AvgRowSize="469" EstimatedTotalSubtreeCost="41.7996" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1801"/></OutputList><ComputeScalar><DefinedValues><DefinedValue><ColumnReference Column="Expr1801"/><ScalarOperator ScalarString="getdescendantlimit(XML Reader with XPath filter.[id])"><Intrinsic FunctionName="getdescendantlimit"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="788" PhysicalOp="Table-valued function" LogicalOp="Table-valued function" EstimateRows="3.7606" EstimateIO="0" EstimateCPU="1.00036" AvgRowSize="17" EstimatedTotalSubtreeCost="41.7995" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></OutputList><TableValuedFunction><DefinedValues><DefinedValue><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></DefinedValue></DefinedValues><Object Table="[XML Reader with XPath filter]"/><ParameterList><ScalarOperator ScalarString="[@xml]"><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator ScalarString="(7)"><Const ConstValue="(7)"/></ScalarOperator><ScalarOperator ScalarString="XML Reader with XPath filter.[id]"><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator ScalarString="getdescendantlimit(XML Reader with XPath filter.[id])"><Intrinsic FunctionName="getdescendantlimit"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator></ParameterList></TableValuedFunction></RelOp></ComputeScalar></RelOp><Predicate><ScalarOperator ScalarString="XML Reader with XPath filter.[id]=getancestor(XML Reader with XPath filter.[id],(1))"><Compare CompareOp="EQ"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Intrinsic FunctionName="getancestor"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="(1)"/></ScalarOperator></Intrinsic></ScalarOperator></Compare></ScalarOperator></Predicate></Filter></RelOp></ComputeScalar></RelOp></Top></RelOp>
<RelOp NodeId="801" PhysicalOp="Table Spool" LogicalOp="Eager Spool" EstimateRows="10000" EstimateIO="0.013125" EstimateCPU="0.0037006" AvgRowSize="8099" EstimatedTotalSubtreeCost="1.59493" Parallel="0" EstimateRebinds="0" EstimateRewinds="199"><OutputList><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><Spool>
<RelOp NodeId="802" PhysicalOp="Table-valued function" LogicalOp="Table-valued function" EstimateRows="10000" EstimateIO="0" EstimateCPU="1.2" AvgRowSize="8099" EstimatedTotalSubtreeCost="1.2" Parallel="0" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><TableValuedFunction><DefinedValues><DefinedValue><ColumnReference Table="[XML Reader]" Column="id"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="nid"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="tid"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="value"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="lvalue"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></DefinedValue></DefinedValues><Object Table="[XML Reader]"/><ParameterList><ScalarOperator ScalarString="[@xml]"><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator ScalarString="(0)"><Const ConstValue="(0)"/></ScalarOperator><ScalarOperator ScalarString="NULL"><Const ConstValue="NULL"/></ScalarOperator><ScalarOperator ScalarString="NULL"><Const ConstValue="NULL"/></ScalarOperator></ParameterList></TableValuedFunction></RelOp></Spool></RelOp></NestedLoops></RelOp></Extension></RelOp></StreamAggregate></RelOp></NestedLoops></RelOp>
<RelOp NodeId="811" PhysicalOp="Stream Aggregate" LogicalOp="Aggregate" EstimateRows="1" EstimateIO="0" EstimateCPU="0.0004325" AvgRowSize="15" EstimatedTotalSubtreeCost="53.3856" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Column="Expr1390"/></OutputList><StreamAggregate><DefinedValues><DefinedValue><ColumnReference Column="Expr1390"/><ScalarOperator ScalarString="MIN(CASE WHEN [@xml] IS NULL THEN NULL ELSE CASE WHEN datalength([Expr1387])&gt;=(128) THEN CONVERT_IMPLICIT(varchar(9),[Expr1388],0) ELSE CONVERT_IMPLICIT(varchar(9),[Expr1387],0) END END)"><Aggregate Distinct="0" AggType="MIN"><ScalarOperator><IF><Condition><ScalarOperator><Compare CompareOp="IS"><ScalarOperator><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="NULL"/></ScalarOperator></Compare></ScalarOperator></Condition><Then><ScalarOperator><Const ConstValue="NULL"/></ScalarOperator></Then><Else><ScalarOperator><IF><Condition><ScalarOperator><Compare CompareOp="GE"><ScalarOperator><Intrinsic FunctionName="datalength"><ScalarOperator><Identifier><ColumnReference Column="Expr1387"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator><ScalarOperator><Const ConstValue="(128)"/></ScalarOperator></Compare></ScalarOperator></Condition><Then><ScalarOperator><Convert DataType="varchar" Length="9" Style="0" Implicit="1"><ScalarOperator><Identifier><ColumnReference Column="Expr1388"/></Identifier></ScalarOperator></Convert></ScalarOperator></Then><Else><ScalarOperator><Convert DataType="varchar" Length="9" Style="0" Implicit="1"><ScalarOperator><Identifier><ColumnReference Column="Expr1387"/></Identifier></ScalarOperator></Convert></ScalarOperator></Else></IF></ScalarOperator></Else></IF></ScalarOperator></Aggregate></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="812" PhysicalOp="UDX" LogicalOp="UDX" EstimateRows="720" EstimateIO="0" EstimateCPU="0.00072" AvgRowSize="8045" EstimatedTotalSubtreeCost="53.2991" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Column="Expr1387"/><ColumnReference Column="Expr1388"/></OutputList><Extension UDXName="XQUERY DATA"><DefinedValues><DefinedValue><ColumnReference Column="Expr1385"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1386"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1387"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1388"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1389"/></DefinedValue></DefinedValues><UsedUDXColumns><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/><ColumnReference Column="Expr1381"/><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Table="[XML Reader]" Column="id"/></UsedUDXColumns>
<RelOp NodeId="813" PhysicalOp="Nested Loops" LogicalOp="Inner Join" EstimateRows="900" EstimateIO="0" EstimateCPU="0.0418" AvgRowSize="8559" EstimatedTotalSubtreeCost="53.1551" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1381"/><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><NestedLoops Optimized="0"><Predicate><ScalarOperator ScalarString="XML Reader with XPath filter.[id]&lt;=XML Reader.[id] AND [Expr1803]&gt;XML Reader.[id]"><Logical Operation="AND"><ScalarOperator><Compare CompareOp="LE"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Identifier><ColumnReference Table="[XML Reader]" Column="id"/></Identifier></ScalarOperator></Compare></ScalarOperator><ScalarOperator><Compare CompareOp="GT"><ScalarOperator><Identifier><ColumnReference Column="Expr1803"/></Identifier></ScalarOperator><ScalarOperator><Identifier><ColumnReference Table="[XML Reader]" Column="id"/></Identifier></ScalarOperator></Compare></ScalarOperator></Logical></ScalarOperator></Predicate>
<RelOp NodeId="814" PhysicalOp="Top" LogicalOp="Top" EstimateRows="1" EstimateIO="0" EstimateCPU="1e-007" AvgRowSize="921" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1381"/><ColumnReference Column="Expr1803"/></OutputList><Top RowCount="0" IsPercent="0" WithTies="0"><TopExpression><ScalarOperator ScalarString="(1)"><Const ConstValue="(1)"/></ScalarOperator></TopExpression>
<RelOp NodeId="815" PhysicalOp="Compute Scalar" LogicalOp="Compute Scalar" EstimateRows="1" EstimateIO="0" EstimateCPU="4.78647e-007" AvgRowSize="921" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1381"/><ColumnReference Column="Expr1803"/></OutputList><ComputeScalar><DefinedValues><DefinedValue><ColumnReference Column="Expr1381"/><ScalarOperator ScalarString="0x58"><Const ConstValue="0x58"/></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="816" PhysicalOp="Filter" LogicalOp="Filter" EstimateRows="1" EstimateIO="0" EstimateCPU="1.224e-005" AvgRowSize="469" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1803"/></OutputList><Filter StartupExpression="0">
<RelOp NodeId="817" PhysicalOp="Compute Scalar" LogicalOp="Compute Scalar" EstimateRows="3.7606" EstimateIO="0" EstimateCPU="1.8e-006" AvgRowSize="469" EstimatedTotalSubtreeCost="41.7996" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1803"/></OutputList><ComputeScalar><DefinedValues><DefinedValue><ColumnReference Column="Expr1803"/><ScalarOperator ScalarString="getdescendantlimit(XML Reader with XPath filter.[id])"><Intrinsic FunctionName="getdescendantlimit"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="818" PhysicalOp="Table-valued function" LogicalOp="Table-valued function" EstimateRows="3.7606" EstimateIO="0" EstimateCPU="1.00036" AvgRowSize="17" EstimatedTotalSubtreeCost="41.7995" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></OutputList><TableValuedFunction><DefinedValues><DefinedValue><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></DefinedValue></DefinedValues><Object Table="[XML Reader with XPath filter]"/><ParameterList><ScalarOperator ScalarString="[@xml]"><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator ScalarString="(7)"><Const ConstValue="(7)"/></ScalarOperator><ScalarOperator ScalarString="XML Reader with XPath filter.[id]"><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator ScalarString="getdescendantlimit(XML Reader with XPath filter.[id])"><Intrinsic FunctionName="getdescendantlimit"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator></ParameterList></TableValuedFunction></RelOp></ComputeScalar></RelOp><Predicate><ScalarOperator ScalarString="XML Reader with XPath filter.[id]=getancestor(XML Reader with XPath filter.[id],(1))"><Compare CompareOp="EQ"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Intrinsic FunctionName="getancestor"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="(1)"/></ScalarOperator></Intrinsic></ScalarOperator></Compare></ScalarOperator></Predicate></Filter></RelOp></ComputeScalar></RelOp></Top></RelOp>
<RelOp NodeId="831" PhysicalOp="Table Spool" LogicalOp="Eager Spool" EstimateRows="10000" EstimateIO="0.013125" EstimateCPU="0.0037006" AvgRowSize="8099" EstimatedTotalSubtreeCost="1.59493" Parallel="0" EstimateRebinds="0" EstimateRewinds="199"><OutputList><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><Spool>
<RelOp NodeId="832" PhysicalOp="Table-valued function" LogicalOp="Table-valued function" EstimateRows="10000" EstimateIO="0" EstimateCPU="1.2" AvgRowSize="8099" EstimatedTotalSubtreeCost="1.2" Parallel="0" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><TableValuedFunction><DefinedValues><DefinedValue><ColumnReference Table="[XML Reader]" Column="id"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="nid"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="tid"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="value"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="lvalue"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></DefinedValue></DefinedValues><Object Table="[XML Reader]"/><ParameterList><ScalarOperator ScalarString="[@xml]"><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator ScalarString="(0)"><Const ConstValue="(0)"/></ScalarOperator><ScalarOperator ScalarString="NULL"><Const ConstValue="NULL"/></ScalarOperator><ScalarOperator ScalarString="NULL"><Const ConstValue="NULL"/></ScalarOperator></ParameterList></TableValuedFunction></RelOp></Spool></RelOp></NestedLoops></RelOp></Extension></RelOp></StreamAggregate></RelOp></NestedLoops></RelOp>
<RelOp NodeId="841" PhysicalOp="Stream Aggregate" LogicalOp="Aggregate" EstimateRows="1" EstimateIO="0" EstimateCPU="0.0004325" AvgRowSize="18" EstimatedTotalSubtreeCost="53.3856" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Column="Expr1405"/></OutputList><StreamAggregate><DefinedValues><DefinedValue><ColumnReference Column="Expr1405"/><ScalarOperator ScalarString="MIN(CASE WHEN [@xml] IS NULL THEN NULL ELSE CASE WHEN datalength([Expr1402])&gt;=(128) THEN CONVERT_IMPLICIT(varchar(15),[Expr1403],0) ELSE CONVERT_IMPLICIT(varchar(15),[Expr1402],0) END END)"><Aggregate Distinct="0" AggType="MIN"><ScalarOperator><IF><Condition><ScalarOperator><Compare CompareOp="IS"><ScalarOperator><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="NULL"/></ScalarOperator></Compare></ScalarOperator></Condition><Then><ScalarOperator><Const ConstValue="NULL"/></ScalarOperator></Then><Else><ScalarOperator><IF><Condition><ScalarOperator><Compare CompareOp="GE"><ScalarOperator><Intrinsic FunctionName="datalength"><ScalarOperator><Identifier><ColumnReference Column="Expr1402"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator><ScalarOperator><Const ConstValue="(128)"/></ScalarOperator></Compare></ScalarOperator></Condition><Then><ScalarOperator><Convert DataType="varchar" Length="15" Style="0" Implicit="1"><ScalarOperator><Identifier><ColumnReference Column="Expr1403"/></Identifier></ScalarOperator></Convert></ScalarOperator></Then><Else><ScalarOperator><Convert DataType="varchar" Length="15" Style="0" Implicit="1"><ScalarOperator><Identifier><ColumnReference Column="Expr1402"/></Identifier></ScalarOperator></Convert></ScalarOperator></Else></IF></ScalarOperator></Else></IF></ScalarOperator></Aggregate></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="842" PhysicalOp="UDX" LogicalOp="UDX" EstimateRows="720" EstimateIO="0" EstimateCPU="0.00072" AvgRowSize="8045" EstimatedTotalSubtreeCost="53.2991" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Column="Expr1402"/><ColumnReference Column="Expr1403"/></OutputList><Extension UDXName="XQUERY DATA"><DefinedValues><DefinedValue><ColumnReference Column="Expr1400"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1401"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1402"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1403"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1404"/></DefinedValue></DefinedValues><UsedUDXColumns><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/><ColumnReference Column="Expr1396"/><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Table="[XML Reader]" Column="id"/></UsedUDXColumns>
<RelOp NodeId="843" PhysicalOp="Nested Loops" LogicalOp="Inner Join" EstimateRows="900" EstimateIO="0" EstimateCPU="0.0418" AvgRowSize="8559" EstimatedTotalSubtreeCost="53.1551" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1396"/><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><NestedLoops Optimized="0"><Predicate><ScalarOperator ScalarString="XML Reader with XPath filter.[id]&lt;=XML Reader.[id] AND [Expr1805]&gt;XML Reader.[id]"><Logical Operation="AND"><ScalarOperator><Compare CompareOp="LE"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Identifier><ColumnReference Table="[XML Reader]" Column="id"/></Identifier></ScalarOperator></Compare></ScalarOperator><ScalarOperator><Compare CompareOp="GT"><ScalarOperator><Identifier><ColumnReference Column="Expr1805"/></Identifier></ScalarOperator><ScalarOperator><Identifier><ColumnReference Table="[XML Reader]" Column="id"/></Identifier></ScalarOperator></Compare></ScalarOperator></Logical></ScalarOperator></Predicate>
<RelOp NodeId="844" PhysicalOp="Top" LogicalOp="Top" EstimateRows="1" EstimateIO="0" EstimateCPU="1e-007" AvgRowSize="921" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1396"/><ColumnReference Column="Expr1805"/></OutputList><Top RowCount="0" IsPercent="0" WithTies="0"><TopExpression><ScalarOperator ScalarString="(1)"><Const ConstValue="(1)"/></ScalarOperator></TopExpression>
<RelOp NodeId="845" PhysicalOp="Compute Scalar" LogicalOp="Compute Scalar" EstimateRows="1" EstimateIO="0" EstimateCPU="4.78647e-007" AvgRowSize="921" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1396"/><ColumnReference Column="Expr1805"/></OutputList><ComputeScalar><DefinedValues><DefinedValue><ColumnReference Column="Expr1396"/><ScalarOperator ScalarString="0x58"><Const ConstValue="0x58"/></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="846" PhysicalOp="Filter" LogicalOp="Filter" EstimateRows="1" EstimateIO="0" EstimateCPU="1.224e-005" AvgRowSize="469" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1805"/></OutputList><Filter StartupExpression="0">
<RelOp NodeId="847" PhysicalOp="Compute Scalar" LogicalOp="Compute Scalar" EstimateRows="3.7606" EstimateIO="0" EstimateCPU="1.8e-006" AvgRowSize="469" EstimatedTotalSubtreeCost="41.7996" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1805"/></OutputList><ComputeScalar><DefinedValues><DefinedValue><ColumnReference Column="Expr1805"/><ScalarOperator ScalarString="getdescendantlimit(XML Reader with XPath filter.[id])"><Intrinsic FunctionName="getdescendantlimit"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="848" PhysicalOp="Table-valued function" LogicalOp="Table-valued function" EstimateRows="3.7606" EstimateIO="0" EstimateCPU="1.00036" AvgRowSize="17" EstimatedTotalSubtreeCost="41.7995" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></OutputList><TableValuedFunction><DefinedValues><DefinedValue><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></DefinedValue></DefinedValues><Object Table="[XML Reader with XPath filter]"/><ParameterList><ScalarOperator ScalarString="[@xml]"><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator ScalarString="(7)"><Const ConstValue="(7)"/></ScalarOperator><ScalarOperator ScalarString="XML Reader with XPath filter.[id]"><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator ScalarString="getdescendantlimit(XML Reader with XPath filter.[id])"><Intrinsic FunctionName="getdescendantlimit"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator></ParameterList></TableValuedFunction></RelOp></ComputeScalar></RelOp><Predicate><ScalarOperator ScalarString="XML Reader with XPath filter.[id]=getancestor(XML Reader with XPath filter.[id],(1))"><Compare CompareOp="EQ"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Intrinsic FunctionName="getancestor"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="(1)"/></ScalarOperator></Intrinsic></ScalarOperator></Compare></ScalarOperator></Predicate></Filter></RelOp></ComputeScalar></RelOp></Top></RelOp>
<RelOp NodeId="861" PhysicalOp="Table Spool" LogicalOp="Eager Spool" EstimateRows="10000" EstimateIO="0.013125" EstimateCPU="0.0037006" AvgRowSize="8099" EstimatedTotalSubtreeCost="1.59493" Parallel="0" EstimateRebinds="0" EstimateRewinds="199"><OutputList><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><Spool>
<RelOp NodeId="862" PhysicalOp="Table-valued function" LogicalOp="Table-valued function" EstimateRows="10000" EstimateIO="0" EstimateCPU="1.2" AvgRowSize="8099" EstimatedTotalSubtreeCost="1.2" Parallel="0" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><TableValuedFunction><DefinedValues><DefinedValue><ColumnReference Table="[XML Reader]" Column="id"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="nid"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="tid"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="value"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="lvalue"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></DefinedValue></DefinedValues><Object Table="[XML Reader]"/><ParameterList><ScalarOperator ScalarString="[@xml]"><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator ScalarString="(0)"><Const ConstValue="(0)"/></ScalarOperator><ScalarOperator ScalarString="NULL"><Const ConstValue="NULL"/></ScalarOperator><ScalarOperator ScalarString="NULL"><Const ConstValue="NULL"/></ScalarOperator></ParameterList></TableValuedFunction></RelOp></Spool></RelOp></NestedLoops></RelOp></Extension></RelOp></StreamAggregate></RelOp></NestedLoops></RelOp>
<RelOp NodeId="871" PhysicalOp="Stream Aggregate" LogicalOp="Aggregate" EstimateRows="1" EstimateIO="0" EstimateCPU="0.0004325" AvgRowSize="11" EstimatedTotalSubtreeCost="53.3856" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Column="Expr1420"/></OutputList><StreamAggregate><DefinedValues><DefinedValue><ColumnReference Column="Expr1420"/><ScalarOperator ScalarString="MIN(CASE WHEN [@xml] IS NULL THEN NULL ELSE CASE WHEN datalength([Expr1417])&gt;=(128) THEN CONVERT_IMPLICIT(int,[Expr1418],0) ELSE CONVERT_IMPLICIT(int,[Expr1417],0) END END)"><Aggregate Distinct="0" AggType="MIN"><ScalarOperator><IF><Condition><ScalarOperator><Compare CompareOp="IS"><ScalarOperator><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="NULL"/></ScalarOperator></Compare></ScalarOperator></Condition><Then><ScalarOperator><Const ConstValue="NULL"/></ScalarOperator></Then><Else><ScalarOperator><IF><Condition><ScalarOperator><Compare CompareOp="GE"><ScalarOperator><Intrinsic FunctionName="datalength"><ScalarOperator><Identifier><ColumnReference Column="Expr1417"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator><ScalarOperator><Const ConstValue="(128)"/></ScalarOperator></Compare></ScalarOperator></Condition><Then><ScalarOperator><Convert DataType="int" Style="0" Implicit="1"><ScalarOperator><Identifier><ColumnReference Column="Expr1418"/></Identifier></ScalarOperator></Convert></ScalarOperator></Then><Else><ScalarOperator><Convert DataType="int" Style="0" Implicit="1"><ScalarOperator><Identifier><ColumnReference Column="Expr1417"/></Identifier></ScalarOperator></Convert></ScalarOperator></Else></IF></ScalarOperator></Else></IF></ScalarOperator></Aggregate></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="872" PhysicalOp="UDX" LogicalOp="UDX" EstimateRows="720" EstimateIO="0" EstimateCPU="0.00072" AvgRowSize="8045" EstimatedTotalSubtreeCost="53.2991" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Column="Expr1417"/><ColumnReference Column="Expr1418"/></OutputList><Extension UDXName="XQUERY DATA"><DefinedValues><DefinedValue><ColumnReference Column="Expr1415"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1416"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1417"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1418"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1419"/></DefinedValue></DefinedValues><UsedUDXColumns><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/><ColumnReference Column="Expr1411"/><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Table="[XML Reader]" Column="id"/></UsedUDXColumns>
<RelOp NodeId="873" PhysicalOp="Nested Loops" LogicalOp="Inner Join" EstimateRows="900" EstimateIO="0" EstimateCPU="0.0418" AvgRowSize="8559" EstimatedTotalSubtreeCost="53.1551" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1411"/><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><NestedLoops Optimized="0"><Predicate><ScalarOperator ScalarString="XML Reader with XPath filter.[id]&lt;=XML Reader.[id] AND [Expr1807]&gt;XML Reader.[id]"><Logical Operation="AND"><ScalarOperator><Compare CompareOp="LE"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Identifier><ColumnReference Table="[XML Reader]" Column="id"/></Identifier></ScalarOperator></Compare></ScalarOperator><ScalarOperator><Compare CompareOp="GT"><ScalarOperator><Identifier><ColumnReference Column="Expr1807"/></Identifier></ScalarOperator><ScalarOperator><Identifier><ColumnReference Table="[XML Reader]" Column="id"/></Identifier></ScalarOperator></Compare></ScalarOperator></Logical></ScalarOperator></Predicate>
<RelOp NodeId="874" PhysicalOp="Top" LogicalOp="Top" EstimateRows="1" EstimateIO="0" EstimateCPU="1e-007" AvgRowSize="921" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1411"/><ColumnReference Column="Expr1807"/></OutputList><Top RowCount="0" IsPercent="0" WithTies="0"><TopExpression><ScalarOperator ScalarString="(1)"><Const ConstValue="(1)"/></ScalarOperator></TopExpression>
<RelOp NodeId="875" PhysicalOp="Compute Scalar" LogicalOp="Compute Scalar" EstimateRows="1" EstimateIO="0" EstimateCPU="4.78647e-007" AvgRowSize="921" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1411"/><ColumnReference Column="Expr1807"/></OutputList><ComputeScalar><DefinedValues><DefinedValue><ColumnReference Column="Expr1411"/><ScalarOperator ScalarString="0x58"><Const ConstValue="0x58"/></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="876" PhysicalOp="Filter" LogicalOp="Filter" EstimateRows="1" EstimateIO="0" EstimateCPU="1.224e-005" AvgRowSize="469" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1807"/></OutputList><Filter StartupExpression="0">
<RelOp NodeId="877" PhysicalOp="Compute Scalar" LogicalOp="Compute Scalar" EstimateRows="3.7606" EstimateIO="0" EstimateCPU="1.8e-006" AvgRowSize="469" EstimatedTotalSubtreeCost="41.7996" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1807"/></OutputList><ComputeScalar><DefinedValues><DefinedValue><ColumnReference Column="Expr1807"/><ScalarOperator ScalarString="getdescendantlimit(XML Reader with XPath filter.[id])"><Intrinsic FunctionName="getdescendantlimit"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="878" PhysicalOp="Table-valued function" LogicalOp="Table-valued function" EstimateRows="3.7606" EstimateIO="0" EstimateCPU="1.00036" AvgRowSize="17" EstimatedTotalSubtreeCost="41.7995" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></OutputList><TableValuedFunction><DefinedValues><DefinedValue><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></DefinedValue></DefinedValues><Object Table="[XML Reader with XPath filter]"/><ParameterList><ScalarOperator ScalarString="[@xml]"><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator ScalarString="(7)"><Const ConstValue="(7)"/></ScalarOperator><ScalarOperator ScalarString="XML Reader with XPath filter.[id]"><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator ScalarString="getdescendantlimit(XML Reader with XPath filter.[id])"><Intrinsic FunctionName="getdescendantlimit"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator></ParameterList></TableValuedFunction></RelOp></ComputeScalar></RelOp><Predicate><ScalarOperator ScalarString="XML Reader with XPath filter.[id]=getancestor(XML Reader with XPath filter.[id],(1))"><Compare CompareOp="EQ"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Intrinsic FunctionName="getancestor"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="(1)"/></ScalarOperator></Intrinsic></ScalarOperator></Compare></ScalarOperator></Predicate></Filter></RelOp></ComputeScalar></RelOp></Top></RelOp>
<RelOp NodeId="891" PhysicalOp="Table Spool" LogicalOp="Eager Spool" EstimateRows="10000" EstimateIO="0.013125" EstimateCPU="0.0037006" AvgRowSize="8099" EstimatedTotalSubtreeCost="1.59493" Parallel="0" EstimateRebinds="0" EstimateRewinds="199"><OutputList><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><Spool>
<RelOp NodeId="892" PhysicalOp="Table-valued function" LogicalOp="Table-valued function" EstimateRows="10000" EstimateIO="0" EstimateCPU="1.2" AvgRowSize="8099" EstimatedTotalSubtreeCost="1.2" Parallel="0" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><TableValuedFunction><DefinedValues><DefinedValue><ColumnReference Table="[XML Reader]" Column="id"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="nid"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="tid"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="value"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="lvalue"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></DefinedValue></DefinedValues><Object Table="[XML Reader]"/><ParameterList><ScalarOperator ScalarString="[@xml]"><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator ScalarString="(0)"><Const ConstValue="(0)"/></ScalarOperator><ScalarOperator ScalarString="NULL"><Const ConstValue="NULL"/></ScalarOperator><ScalarOperator ScalarString="NULL"><Const ConstValue="NULL"/></ScalarOperator></ParameterList></TableValuedFunction></RelOp></Spool></RelOp></NestedLoops></RelOp></Extension></RelOp></StreamAggregate></RelOp></NestedLoops></RelOp>
<RelOp NodeId="901" PhysicalOp="Stream Aggregate" LogicalOp="Aggregate" EstimateRows="1" EstimateIO="0" EstimateCPU="0.0004325" AvgRowSize="21" EstimatedTotalSubtreeCost="53.3856" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Column="Expr1435"/></OutputList><StreamAggregate><DefinedValues><DefinedValue><ColumnReference Column="Expr1435"/><ScalarOperator ScalarString="MIN(CASE WHEN [@xml] IS NULL THEN NULL ELSE CASE WHEN datalength([Expr1432])&gt;=(128) THEN CONVERT_IMPLICIT(varchar(20),[Expr1433],0) ELSE CONVERT_IMPLICIT(varchar(20),[Expr1432],0) END END)"><Aggregate Distinct="0" AggType="MIN"><ScalarOperator><IF><Condition><ScalarOperator><Compare CompareOp="IS"><ScalarOperator><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="NULL"/></ScalarOperator></Compare></ScalarOperator></Condition><Then><ScalarOperator><Const ConstValue="NULL"/></ScalarOperator></Then><Else><ScalarOperator><IF><Condition><ScalarOperator><Compare CompareOp="GE"><ScalarOperator><Intrinsic FunctionName="datalength"><ScalarOperator><Identifier><ColumnReference Column="Expr1432"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator><ScalarOperator><Const ConstValue="(128)"/></ScalarOperator></Compare></ScalarOperator></Condition><Then><ScalarOperator><Convert DataType="varchar" Length="20" Style="0" Implicit="1"><ScalarOperator><Identifier><ColumnReference Column="Expr1433"/></Identifier></ScalarOperator></Convert></ScalarOperator></Then><Else><ScalarOperator><Convert DataType="varchar" Length="20" Style="0" Implicit="1"><ScalarOperator><Identifier><ColumnReference Column="Expr1432"/></Identifier></ScalarOperator></Convert></ScalarOperator></Else></IF></ScalarOperator></Else></IF></ScalarOperator></Aggregate></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="902" PhysicalOp="UDX" LogicalOp="UDX" EstimateRows="720" EstimateIO="0" EstimateCPU="0.00072" AvgRowSize="8045" EstimatedTotalSubtreeCost="53.2991" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Column="Expr1432"/><ColumnReference Column="Expr1433"/></OutputList><Extension UDXName="XQUERY DATA"><DefinedValues><DefinedValue><ColumnReference Column="Expr1430"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1431"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1432"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1433"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1434"/></DefinedValue></DefinedValues><UsedUDXColumns><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/><ColumnReference Column="Expr1426"/><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Table="[XML Reader]" Column="id"/></UsedUDXColumns>
<RelOp NodeId="903" PhysicalOp="Nested Loops" LogicalOp="Inner Join" EstimateRows="900" EstimateIO="0" EstimateCPU="0.0418" AvgRowSize="8559" EstimatedTotalSubtreeCost="53.1551" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1426"/><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><NestedLoops Optimized="0"><Predicate><ScalarOperator ScalarString="XML Reader with XPath filter.[id]&lt;=XML Reader.[id] AND [Expr1809]&gt;XML Reader.[id]"><Logical Operation="AND"><ScalarOperator><Compare CompareOp="LE"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Identifier><ColumnReference Table="[XML Reader]" Column="id"/></Identifier></ScalarOperator></Compare></ScalarOperator><ScalarOperator><Compare CompareOp="GT"><ScalarOperator><Identifier><ColumnReference Column="Expr1809"/></Identifier></ScalarOperator><ScalarOperator><Identifier><ColumnReference Table="[XML Reader]" Column="id"/></Identifier></ScalarOperator></Compare></ScalarOperator></Logical></ScalarOperator></Predicate>
<RelOp NodeId="904" PhysicalOp="Top" LogicalOp="Top" EstimateRows="1" EstimateIO="0" EstimateCPU="1e-007" AvgRowSize="921" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1426"/><ColumnReference Column="Expr1809"/></OutputList><Top RowCount="0" IsPercent="0" WithTies="0"><TopExpression><ScalarOperator ScalarString="(1)"><Const ConstValue="(1)"/></ScalarOperator></TopExpression>
<RelOp NodeId="905" PhysicalOp="Compute Scalar" LogicalOp="Compute Scalar" EstimateRows="1" EstimateIO="0" EstimateCPU="4.78647e-007" AvgRowSize="921" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1426"/><ColumnReference Column="Expr1809"/></OutputList><ComputeScalar><DefinedValues><DefinedValue><ColumnReference Column="Expr1426"/><ScalarOperator ScalarString="0x58"><Const ConstValue="0x58"/></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="906" PhysicalOp="Filter" LogicalOp="Filter" EstimateRows="1" EstimateIO="0" EstimateCPU="1.224e-005" AvgRowSize="469" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1809"/></OutputList><Filter StartupExpression="0">
<RelOp NodeId="907" PhysicalOp="Compute Scalar" LogicalOp="Compute Scalar" EstimateRows="3.7606" EstimateIO="0" EstimateCPU="1.8e-006" AvgRowSize="469" EstimatedTotalSubtreeCost="41.7996" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1809"/></OutputList><ComputeScalar><DefinedValues><DefinedValue><ColumnReference Column="Expr1809"/><ScalarOperator ScalarString="getdescendantlimit(XML Reader with XPath filter.[id])"><Intrinsic FunctionName="getdescendantlimit"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="908" PhysicalOp="Table-valued function" LogicalOp="Table-valued function" EstimateRows="3.7606" EstimateIO="0" EstimateCPU="1.00036" AvgRowSize="17" EstimatedTotalSubtreeCost="41.7995" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></OutputList><TableValuedFunction><DefinedValues><DefinedValue><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></DefinedValue></DefinedValues><Object Table="[XML Reader with XPath filter]"/><ParameterList><ScalarOperator ScalarString="[@xml]"><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator ScalarString="(7)"><Const ConstValue="(7)"/></ScalarOperator><ScalarOperator ScalarString="XML Reader with XPath filter.[id]"><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator ScalarString="getdescendantlimit(XML Reader with XPath filter.[id])"><Intrinsic FunctionName="getdescendantlimit"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator></ParameterList></TableValuedFunction></RelOp></ComputeScalar></RelOp><Predicate><ScalarOperator ScalarString="XML Reader with XPath filter.[id]=getancestor(XML Reader with XPath filter.[id],(1))"><Compare CompareOp="EQ"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Intrinsic FunctionName="getancestor"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="(1)"/></ScalarOperator></Intrinsic></ScalarOperator></Compare></ScalarOperator></Predicate></Filter></RelOp></ComputeScalar></RelOp></Top></RelOp>
<RelOp NodeId="921" PhysicalOp="Table Spool" LogicalOp="Eager Spool" EstimateRows="10000" EstimateIO="0.013125" EstimateCPU="0.0037006" AvgRowSize="8099" EstimatedTotalSubtreeCost="1.59493" Parallel="0" EstimateRebinds="0" EstimateRewinds="199"><OutputList><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><Spool>
<RelOp NodeId="922" PhysicalOp="Table-valued function" LogicalOp="Table-valued function" EstimateRows="10000" EstimateIO="0" EstimateCPU="1.2" AvgRowSize="8099" EstimatedTotalSubtreeCost="1.2" Parallel="0" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><TableValuedFunction><DefinedValues><DefinedValue><ColumnReference Table="[XML Reader]" Column="id"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="nid"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="tid"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="value"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="lvalue"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></DefinedValue></DefinedValues><Object Table="[XML Reader]"/><ParameterList><ScalarOperator ScalarString="[@xml]"><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator ScalarString="(0)"><Const ConstValue="(0)"/></ScalarOperator><ScalarOperator ScalarString="NULL"><Const ConstValue="NULL"/></ScalarOperator><ScalarOperator ScalarString="NULL"><Const ConstValue="NULL"/></ScalarOperator></ParameterList></TableValuedFunction></RelOp></Spool></RelOp></NestedLoops></RelOp></Extension></RelOp></StreamAggregate></RelOp></NestedLoops></RelOp>
<RelOp NodeId="931" PhysicalOp="Stream Aggregate" LogicalOp="Aggregate" EstimateRows="1" EstimateIO="0" EstimateCPU="0.0004325" AvgRowSize="21" EstimatedTotalSubtreeCost="53.3856" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Column="Expr1450"/></OutputList><StreamAggregate><DefinedValues><DefinedValue><ColumnReference Column="Expr1450"/><ScalarOperator ScalarString="MIN(CASE WHEN [@xml] IS NULL THEN NULL ELSE CASE WHEN datalength([Expr1447])&gt;=(128) THEN CONVERT_IMPLICIT(varchar(20),[Expr1448],0) ELSE CONVERT_IMPLICIT(varchar(20),[Expr1447],0) END END)"><Aggregate Distinct="0" AggType="MIN"><ScalarOperator><IF><Condition><ScalarOperator><Compare CompareOp="IS"><ScalarOperator><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="NULL"/></ScalarOperator></Compare></ScalarOperator></Condition><Then><ScalarOperator><Const ConstValue="NULL"/></ScalarOperator></Then><Else><ScalarOperator><IF><Condition><ScalarOperator><Compare CompareOp="GE"><ScalarOperator><Intrinsic FunctionName="datalength"><ScalarOperator><Identifier><ColumnReference Column="Expr1447"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator><ScalarOperator><Const ConstValue="(128)"/></ScalarOperator></Compare></ScalarOperator></Condition><Then><ScalarOperator><Convert DataType="varchar" Length="20" Style="0" Implicit="1"><ScalarOperator><Identifier><ColumnReference Column="Expr1448"/></Identifier></ScalarOperator></Convert></ScalarOperator></Then><Else><ScalarOperator><Convert DataType="varchar" Length="20" Style="0" Implicit="1"><ScalarOperator><Identifier><ColumnReference Column="Expr1447"/></Identifier></ScalarOperator></Convert></ScalarOperator></Else></IF></ScalarOperator></Else></IF></ScalarOperator></Aggregate></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="932" PhysicalOp="UDX" LogicalOp="UDX" EstimateRows="720" EstimateIO="0" EstimateCPU="0.00072" AvgRowSize="8045" EstimatedTotalSubtreeCost="53.2991" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Column="Expr1447"/><ColumnReference Column="Expr1448"/></OutputList><Extension UDXName="XQUERY DATA"><DefinedValues><DefinedValue><ColumnReference Column="Expr1445"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1446"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1447"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1448"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1449"/></DefinedValue></DefinedValues><UsedUDXColumns><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/><ColumnReference Column="Expr1441"/><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Table="[XML Reader]" Column="id"/></UsedUDXColumns>
<RelOp NodeId="933" PhysicalOp="Nested Loops" LogicalOp="Inner Join" EstimateRows="900" EstimateIO="0" EstimateCPU="0.0418" AvgRowSize="8559" EstimatedTotalSubtreeCost="53.1551" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1441"/><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><NestedLoops Optimized="0"><Predicate><ScalarOperator ScalarString="XML Reader with XPath filter.[id]&lt;=XML Reader.[id] AND [Expr1811]&gt;XML Reader.[id]"><Logical Operation="AND"><ScalarOperator><Compare CompareOp="LE"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Identifier><ColumnReference Table="[XML Reader]" Column="id"/></Identifier></ScalarOperator></Compare></ScalarOperator><ScalarOperator><Compare CompareOp="GT"><ScalarOperator><Identifier><ColumnReference Column="Expr1811"/></Identifier></ScalarOperator><ScalarOperator><Identifier><ColumnReference Table="[XML Reader]" Column="id"/></Identifier></ScalarOperator></Compare></ScalarOperator></Logical></ScalarOperator></Predicate>
<RelOp NodeId="934" PhysicalOp="Top" LogicalOp="Top" EstimateRows="1" EstimateIO="0" EstimateCPU="1e-007" AvgRowSize="921" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1441"/><ColumnReference Column="Expr1811"/></OutputList><Top RowCount="0" IsPercent="0" WithTies="0"><TopExpression><ScalarOperator ScalarString="(1)"><Const ConstValue="(1)"/></ScalarOperator></TopExpression>
<RelOp NodeId="935" PhysicalOp="Compute Scalar" LogicalOp="Compute Scalar" EstimateRows="1" EstimateIO="0" EstimateCPU="4.78647e-007" AvgRowSize="921" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1441"/><ColumnReference Column="Expr1811"/></OutputList><ComputeScalar><DefinedValues><DefinedValue><ColumnReference Column="Expr1441"/><ScalarOperator ScalarString="0x58"><Const ConstValue="0x58"/></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="936" PhysicalOp="Filter" LogicalOp="Filter" EstimateRows="1" EstimateIO="0" EstimateCPU="1.224e-005" AvgRowSize="469" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1811"/></OutputList><Filter StartupExpression="0">
<RelOp NodeId="937" PhysicalOp="Compute Scalar" LogicalOp="Compute Scalar" EstimateRows="3.7606" EstimateIO="0" EstimateCPU="1.8e-006" AvgRowSize="469" EstimatedTotalSubtreeCost="41.7996" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1811"/></OutputList><ComputeScalar><DefinedValues><DefinedValue><ColumnReference Column="Expr1811"/><ScalarOperator ScalarString="getdescendantlimit(XML Reader with XPath filter.[id])"><Intrinsic FunctionName="getdescendantlimit"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="938" PhysicalOp="Table-valued function" LogicalOp="Table-valued function" EstimateRows="3.7606" EstimateIO="0" EstimateCPU="1.00036" AvgRowSize="17" EstimatedTotalSubtreeCost="41.7995" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></OutputList><TableValuedFunction><DefinedValues><DefinedValue><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></DefinedValue></DefinedValues><Object Table="[XML Reader with XPath filter]"/><ParameterList><ScalarOperator ScalarString="[@xml]"><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator ScalarString="(7)"><Const ConstValue="(7)"/></ScalarOperator><ScalarOperator ScalarString="XML Reader with XPath filter.[id]"><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator ScalarString="getdescendantlimit(XML Reader with XPath filter.[id])"><Intrinsic FunctionName="getdescendantlimit"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator></ParameterList></TableValuedFunction></RelOp></ComputeScalar></RelOp><Predicate><ScalarOperator ScalarString="XML Reader with XPath filter.[id]=getancestor(XML Reader with XPath filter.[id],(1))"><Compare CompareOp="EQ"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Intrinsic FunctionName="getancestor"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="(1)"/></ScalarOperator></Intrinsic></ScalarOperator></Compare></ScalarOperator></Predicate></Filter></RelOp></ComputeScalar></RelOp></Top></RelOp>
<RelOp NodeId="951" PhysicalOp="Table Spool" LogicalOp="Eager Spool" EstimateRows="10000" EstimateIO="0.013125" EstimateCPU="0.0037006" AvgRowSize="8099" EstimatedTotalSubtreeCost="1.59493" Parallel="0" EstimateRebinds="0" EstimateRewinds="199"><OutputList><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><Spool>
<RelOp NodeId="952" PhysicalOp="Table-valued function" LogicalOp="Table-valued function" EstimateRows="10000" EstimateIO="0" EstimateCPU="1.2" AvgRowSize="8099" EstimatedTotalSubtreeCost="1.2" Parallel="0" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><TableValuedFunction><DefinedValues><DefinedValue><ColumnReference Table="[XML Reader]" Column="id"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="nid"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="tid"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="value"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="lvalue"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></DefinedValue></DefinedValues><Object Table="[XML Reader]"/><ParameterList><ScalarOperator ScalarString="[@xml]"><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator ScalarString="(0)"><Const ConstValue="(0)"/></ScalarOperator><ScalarOperator ScalarString="NULL"><Const ConstValue="NULL"/></ScalarOperator><ScalarOperator ScalarString="NULL"><Const ConstValue="NULL"/></ScalarOperator></ParameterList></TableValuedFunction></RelOp></Spool></RelOp></NestedLoops></RelOp></Extension></RelOp></StreamAggregate></RelOp></NestedLoops></RelOp>
<RelOp NodeId="961" PhysicalOp="Stream Aggregate" LogicalOp="Aggregate" EstimateRows="1" EstimateIO="0" EstimateCPU="0.0004325" AvgRowSize="18" EstimatedTotalSubtreeCost="53.3856" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Column="Expr1465"/></OutputList><StreamAggregate><DefinedValues><DefinedValue><ColumnReference Column="Expr1465"/><ScalarOperator ScalarString="MIN(CASE WHEN [@xml] IS NULL THEN NULL ELSE CASE WHEN datalength([Expr1462])&gt;=(128) THEN CONVERT_IMPLICIT(varchar(15),[Expr1463],0) ELSE CONVERT_IMPLICIT(varchar(15),[Expr1462],0) END END)"><Aggregate Distinct="0" AggType="MIN"><ScalarOperator><IF><Condition><ScalarOperator><Compare CompareOp="IS"><ScalarOperator><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="NULL"/></ScalarOperator></Compare></ScalarOperator></Condition><Then><ScalarOperator><Const ConstValue="NULL"/></ScalarOperator></Then><Else><ScalarOperator><IF><Condition><ScalarOperator><Compare CompareOp="GE"><ScalarOperator><Intrinsic FunctionName="datalength"><ScalarOperator><Identifier><ColumnReference Column="Expr1462"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator><ScalarOperator><Const ConstValue="(128)"/></ScalarOperator></Compare></ScalarOperator></Condition><Then><ScalarOperator><Convert DataType="varchar" Length="15" Style="0" Implicit="1"><ScalarOperator><Identifier><ColumnReference Column="Expr1463"/></Identifier></ScalarOperator></Convert></ScalarOperator></Then><Else><ScalarOperator><Convert DataType="varchar" Length="15" Style="0" Implicit="1"><ScalarOperator><Identifier><ColumnReference Column="Expr1462"/></Identifier></ScalarOperator></Convert></ScalarOperator></Else></IF></ScalarOperator></Else></IF></ScalarOperator></Aggregate></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="962" PhysicalOp="UDX" LogicalOp="UDX" EstimateRows="720" EstimateIO="0" EstimateCPU="0.00072" AvgRowSize="8045" EstimatedTotalSubtreeCost="53.2991" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Column="Expr1462"/><ColumnReference Column="Expr1463"/></OutputList><Extension UDXName="XQUERY DATA"><DefinedValues><DefinedValue><ColumnReference Column="Expr1460"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1461"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1462"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1463"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1464"/></DefinedValue></DefinedValues><UsedUDXColumns><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/><ColumnReference Column="Expr1456"/><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Table="[XML Reader]" Column="id"/></UsedUDXColumns>
<RelOp NodeId="963" PhysicalOp="Nested Loops" LogicalOp="Inner Join" EstimateRows="900" EstimateIO="0" EstimateCPU="0.0418" AvgRowSize="8559" EstimatedTotalSubtreeCost="53.1551" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1456"/><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><NestedLoops Optimized="0"><Predicate><ScalarOperator ScalarString="XML Reader with XPath filter.[id]&lt;=XML Reader.[id] AND [Expr1813]&gt;XML Reader.[id]"><Logical Operation="AND"><ScalarOperator><Compare CompareOp="LE"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Identifier><ColumnReference Table="[XML Reader]" Column="id"/></Identifier></ScalarOperator></Compare></ScalarOperator><ScalarOperator><Compare CompareOp="GT"><ScalarOperator><Identifier><ColumnReference Column="Expr1813"/></Identifier></ScalarOperator><ScalarOperator><Identifier><ColumnReference Table="[XML Reader]" Column="id"/></Identifier></ScalarOperator></Compare></ScalarOperator></Logical></ScalarOperator></Predicate>
<RelOp NodeId="964" PhysicalOp="Top" LogicalOp="Top" EstimateRows="1" EstimateIO="0" EstimateCPU="1e-007" AvgRowSize="921" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1456"/><ColumnReference Column="Expr1813"/></OutputList><Top RowCount="0" IsPercent="0" WithTies="0"><TopExpression><ScalarOperator ScalarString="(1)"><Const ConstValue="(1)"/></ScalarOperator></TopExpression>
<RelOp NodeId="965" PhysicalOp="Compute Scalar" LogicalOp="Compute Scalar" EstimateRows="1" EstimateIO="0" EstimateCPU="4.78647e-007" AvgRowSize="921" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1456"/><ColumnReference Column="Expr1813"/></OutputList><ComputeScalar><DefinedValues><DefinedValue><ColumnReference Column="Expr1456"/><ScalarOperator ScalarString="0x58"><Const ConstValue="0x58"/></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="966" PhysicalOp="Filter" LogicalOp="Filter" EstimateRows="1" EstimateIO="0" EstimateCPU="1.224e-005" AvgRowSize="469" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1813"/></OutputList><Filter StartupExpression="0">
<RelOp NodeId="967" PhysicalOp="Compute Scalar" LogicalOp="Compute Scalar" EstimateRows="3.7606" EstimateIO="0" EstimateCPU="1.8e-006" AvgRowSize="469" EstimatedTotalSubtreeCost="41.7996" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1813"/></OutputList><ComputeScalar><DefinedValues><DefinedValue><ColumnReference Column="Expr1813"/><ScalarOperator ScalarString="getdescendantlimit(XML Reader with XPath filter.[id])"><Intrinsic FunctionName="getdescendantlimit"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="968" PhysicalOp="Table-valued function" LogicalOp="Table-valued function" EstimateRows="3.7606" EstimateIO="0" EstimateCPU="1.00036" AvgRowSize="17" EstimatedTotalSubtreeCost="41.7995" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></OutputList><TableValuedFunction><DefinedValues><DefinedValue><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></DefinedValue></DefinedValues><Object Table="[XML Reader with XPath filter]"/><ParameterList><ScalarOperator ScalarString="[@xml]"><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator ScalarString="(7)"><Const ConstValue="(7)"/></ScalarOperator><ScalarOperator ScalarString="XML Reader with XPath filter.[id]"><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator ScalarString="getdescendantlimit(XML Reader with XPath filter.[id])"><Intrinsic FunctionName="getdescendantlimit"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator></ParameterList></TableValuedFunction></RelOp></ComputeScalar></RelOp><Predicate><ScalarOperator ScalarString="XML Reader with XPath filter.[id]=getancestor(XML Reader with XPath filter.[id],(1))"><Compare CompareOp="EQ"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Intrinsic FunctionName="getancestor"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="(1)"/></ScalarOperator></Intrinsic></ScalarOperator></Compare></ScalarOperator></Predicate></Filter></RelOp></ComputeScalar></RelOp></Top></RelOp>
<RelOp NodeId="981" PhysicalOp="Table Spool" LogicalOp="Eager Spool" EstimateRows="10000" EstimateIO="0.013125" EstimateCPU="0.0037006" AvgRowSize="8099" EstimatedTotalSubtreeCost="1.59493" Parallel="0" EstimateRebinds="0" EstimateRewinds="199"><OutputList><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><Spool>
<RelOp NodeId="982" PhysicalOp="Table-valued function" LogicalOp="Table-valued function" EstimateRows="10000" EstimateIO="0" EstimateCPU="1.2" AvgRowSize="8099" EstimatedTotalSubtreeCost="1.2" Parallel="0" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><TableValuedFunction><DefinedValues><DefinedValue><ColumnReference Table="[XML Reader]" Column="id"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="nid"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="tid"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="value"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="lvalue"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></DefinedValue></DefinedValues><Object Table="[XML Reader]"/><ParameterList><ScalarOperator ScalarString="[@xml]"><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator ScalarString="(0)"><Const ConstValue="(0)"/></ScalarOperator><ScalarOperator ScalarString="NULL"><Const ConstValue="NULL"/></ScalarOperator><ScalarOperator ScalarString="NULL"><Const ConstValue="NULL"/></ScalarOperator></ParameterList></TableValuedFunction></RelOp></Spool></RelOp></NestedLoops></RelOp></Extension></RelOp></StreamAggregate></RelOp></NestedLoops></RelOp>
<RelOp NodeId="991" PhysicalOp="Stream Aggregate" LogicalOp="Aggregate" EstimateRows="1" EstimateIO="0" EstimateCPU="0.0004325" AvgRowSize="21" EstimatedTotalSubtreeCost="53.3856" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Column="Expr1480"/></OutputList><StreamAggregate><DefinedValues><DefinedValue><ColumnReference Column="Expr1480"/><ScalarOperator ScalarString="MIN(CASE WHEN [@xml] IS NULL THEN NULL ELSE CASE WHEN datalength([Expr1477])&gt;=(128) THEN CONVERT_IMPLICIT(varchar(20),[Expr1478],0) ELSE CONVERT_IMPLICIT(varchar(20),[Expr1477],0) END END)"><Aggregate Distinct="0" AggType="MIN"><ScalarOperator><IF><Condition><ScalarOperator><Compare CompareOp="IS"><ScalarOperator><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="NULL"/></ScalarOperator></Compare></ScalarOperator></Condition><Then><ScalarOperator><Const ConstValue="NULL"/></ScalarOperator></Then><Else><ScalarOperator><IF><Condition><ScalarOperator><Compare CompareOp="GE"><ScalarOperator><Intrinsic FunctionName="datalength"><ScalarOperator><Identifier><ColumnReference Column="Expr1477"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator><ScalarOperator><Const ConstValue="(128)"/></ScalarOperator></Compare></ScalarOperator></Condition><Then><ScalarOperator><Convert DataType="varchar" Length="20" Style="0" Implicit="1"><ScalarOperator><Identifier><ColumnReference Column="Expr1478"/></Identifier></ScalarOperator></Convert></ScalarOperator></Then><Else><ScalarOperator><Convert DataType="varchar" Length="20" Style="0" Implicit="1"><ScalarOperator><Identifier><ColumnReference Column="Expr1477"/></Identifier></ScalarOperator></Convert></ScalarOperator></Else></IF></ScalarOperator></Else></IF></ScalarOperator></Aggregate></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="992" PhysicalOp="UDX" LogicalOp="UDX" EstimateRows="720" EstimateIO="0" EstimateCPU="0.00072" AvgRowSize="8045" EstimatedTotalSubtreeCost="53.2991" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Column="Expr1477"/><ColumnReference Column="Expr1478"/></OutputList><Extension UDXName="XQUERY DATA"><DefinedValues><DefinedValue><ColumnReference Column="Expr1475"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1476"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1477"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1478"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1479"/></DefinedValue></DefinedValues><UsedUDXColumns><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/><ColumnReference Column="Expr1471"/><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Table="[XML Reader]" Column="id"/></UsedUDXColumns>
<RelOp NodeId="993" PhysicalOp="Nested Loops" LogicalOp="Inner Join" EstimateRows="900" EstimateIO="0" EstimateCPU="0.0418" AvgRowSize="8559" EstimatedTotalSubtreeCost="53.1551" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1471"/><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><NestedLoops Optimized="0"><Predicate><ScalarOperator ScalarString="XML Reader with XPath filter.[id]&lt;=XML Reader.[id] AND [Expr1815]&gt;XML Reader.[id]"><Logical Operation="AND"><ScalarOperator><Compare CompareOp="LE"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Identifier><ColumnReference Table="[XML Reader]" Column="id"/></Identifier></ScalarOperator></Compare></ScalarOperator><ScalarOperator><Compare CompareOp="GT"><ScalarOperator><Identifier><ColumnReference Column="Expr1815"/></Identifier></ScalarOperator><ScalarOperator><Identifier><ColumnReference Table="[XML Reader]" Column="id"/></Identifier></ScalarOperator></Compare></ScalarOperator></Logical></ScalarOperator></Predicate>
<RelOp NodeId="994" PhysicalOp="Top" LogicalOp="Top" EstimateRows="1" EstimateIO="0" EstimateCPU="1e-007" AvgRowSize="921" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1471"/><ColumnReference Column="Expr1815"/></OutputList><Top RowCount="0" IsPercent="0" WithTies="0"><TopExpression><ScalarOperator ScalarString="(1)"><Const ConstValue="(1)"/></ScalarOperator></TopExpression>
<RelOp NodeId="995" PhysicalOp="Compute Scalar" LogicalOp="Compute Scalar" EstimateRows="1" EstimateIO="0" EstimateCPU="4.78647e-007" AvgRowSize="921" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1471"/><ColumnReference Column="Expr1815"/></OutputList><ComputeScalar><DefinedValues><DefinedValue><ColumnReference Column="Expr1471"/><ScalarOperator ScalarString="0x58"><Const ConstValue="0x58"/></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="996" PhysicalOp="Filter" LogicalOp="Filter" EstimateRows="1" EstimateIO="0" EstimateCPU="1.224e-005" AvgRowSize="469" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1815"/></OutputList><Filter StartupExpression="0">
<RelOp NodeId="997" PhysicalOp="Compute Scalar" LogicalOp="Compute Scalar" EstimateRows="3.7606" EstimateIO="0" EstimateCPU="1.8e-006" AvgRowSize="469" EstimatedTotalSubtreeCost="41.7996" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1815"/></OutputList><ComputeScalar><DefinedValues><DefinedValue><ColumnReference Column="Expr1815"/><ScalarOperator ScalarString="getdescendantlimit(XML Reader with XPath filter.[id])"><Intrinsic FunctionName="getdescendantlimit"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="998" PhysicalOp="Table-valued function" LogicalOp="Table-valued function" EstimateRows="3.7606" EstimateIO="0" EstimateCPU="1.00036" AvgRowSize="17" EstimatedTotalSubtreeCost="41.7995" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></OutputList><TableValuedFunction><DefinedValues><DefinedValue><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></DefinedValue></DefinedValues><Object Table="[XML Reader with XPath filter]"/><ParameterList><ScalarOperator ScalarString="[@xml]"><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator ScalarString="(7)"><Const ConstValue="(7)"/></ScalarOperator><ScalarOperator ScalarString="XML Reader with XPath filter.[id]"><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator ScalarString="getdescendantlimit(XML Reader with XPath filter.[id])"><Intrinsic FunctionName="getdescendantlimit"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator></ParameterList></TableValuedFunction></RelOp></ComputeScalar></RelOp><Predicate><ScalarOperator ScalarString="XML Reader with XPath filter.[id]=getancestor(XML Reader with XPath filter.[id],(1))"><Compare CompareOp="EQ"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Intrinsic FunctionName="getancestor"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="(1)"/></ScalarOperator></Intrinsic></ScalarOperator></Compare></ScalarOperator></Predicate></Filter></RelOp></ComputeScalar></RelOp></Top></RelOp>
<RelOp NodeId="1011" PhysicalOp="Table Spool" LogicalOp="Eager Spool" EstimateRows="10000" EstimateIO="0.013125" EstimateCPU="0.0037006" AvgRowSize="8099" EstimatedTotalSubtreeCost="1.59493" Parallel="0" EstimateRebinds="0" EstimateRewinds="199"><OutputList><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><Spool>
<RelOp NodeId="1012" PhysicalOp="Table-valued function" LogicalOp="Table-valued function" EstimateRows="10000" EstimateIO="0" EstimateCPU="1.2" AvgRowSize="8099" EstimatedTotalSubtreeCost="1.2" Parallel="0" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><TableValuedFunction><DefinedValues><DefinedValue><ColumnReference Table="[XML Reader]" Column="id"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="nid"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="tid"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="value"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="lvalue"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></DefinedValue></DefinedValues><Object Table="[XML Reader]"/><ParameterList><ScalarOperator ScalarString="[@xml]"><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator ScalarString="(0)"><Const ConstValue="(0)"/></ScalarOperator><ScalarOperator ScalarString="NULL"><Const ConstValue="NULL"/></ScalarOperator><ScalarOperator ScalarString="NULL"><Const ConstValue="NULL"/></ScalarOperator></ParameterList></TableValuedFunction></RelOp></Spool></RelOp></NestedLoops></RelOp></Extension></RelOp></StreamAggregate></RelOp></NestedLoops></RelOp>
<RelOp NodeId="1021" PhysicalOp="Stream Aggregate" LogicalOp="Aggregate" EstimateRows="1" EstimateIO="0" EstimateCPU="0.0004325" AvgRowSize="61" EstimatedTotalSubtreeCost="53.3856" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Column="Expr1495"/></OutputList><StreamAggregate><DefinedValues><DefinedValue><ColumnReference Column="Expr1495"/><ScalarOperator ScalarString="MIN(CASE WHEN [@xml] IS NULL THEN NULL ELSE CASE WHEN datalength([Expr1492])&gt;=(128) THEN CONVERT_IMPLICIT(varchar(100),[Expr1493],0) ELSE CONVERT_IMPLICIT(varchar(100),[Expr1492],0) END END)"><Aggregate Distinct="0" AggType="MIN"><ScalarOperator><IF><Condition><ScalarOperator><Compare CompareOp="IS"><ScalarOperator><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="NULL"/></ScalarOperator></Compare></ScalarOperator></Condition><Then><ScalarOperator><Const ConstValue="NULL"/></ScalarOperator></Then><Else><ScalarOperator><IF><Condition><ScalarOperator><Compare CompareOp="GE"><ScalarOperator><Intrinsic FunctionName="datalength"><ScalarOperator><Identifier><ColumnReference Column="Expr1492"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator><ScalarOperator><Const ConstValue="(128)"/></ScalarOperator></Compare></ScalarOperator></Condition><Then><ScalarOperator><Convert DataType="varchar" Length="100" Style="0" Implicit="1"><ScalarOperator><Identifier><ColumnReference Column="Expr1493"/></Identifier></ScalarOperator></Convert></ScalarOperator></Then><Else><ScalarOperator><Convert DataType="varchar" Length="100" Style="0" Implicit="1"><ScalarOperator><Identifier><ColumnReference Column="Expr1492"/></Identifier></ScalarOperator></Convert></ScalarOperator></Else></IF></ScalarOperator></Else></IF></ScalarOperator></Aggregate></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="1022" PhysicalOp="UDX" LogicalOp="UDX" EstimateRows="720" EstimateIO="0" EstimateCPU="0.00072" AvgRowSize="8045" EstimatedTotalSubtreeCost="53.2991" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Column="Expr1492"/><ColumnReference Column="Expr1493"/></OutputList><Extension UDXName="XQUERY DATA"><DefinedValues><DefinedValue><ColumnReference Column="Expr1490"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1491"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1492"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1493"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1494"/></DefinedValue></DefinedValues><UsedUDXColumns><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/><ColumnReference Column="Expr1486"/><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Table="[XML Reader]" Column="id"/></UsedUDXColumns>
<RelOp NodeId="1023" PhysicalOp="Nested Loops" LogicalOp="Inner Join" EstimateRows="900" EstimateIO="0" EstimateCPU="0.0418" AvgRowSize="8559" EstimatedTotalSubtreeCost="53.1551" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1486"/><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><NestedLoops Optimized="0"><Predicate><ScalarOperator ScalarString="XML Reader with XPath filter.[id]&lt;=XML Reader.[id] AND [Expr1817]&gt;XML Reader.[id]"><Logical Operation="AND"><ScalarOperator><Compare CompareOp="LE"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Identifier><ColumnReference Table="[XML Reader]" Column="id"/></Identifier></ScalarOperator></Compare></ScalarOperator><ScalarOperator><Compare CompareOp="GT"><ScalarOperator><Identifier><ColumnReference Column="Expr1817"/></Identifier></ScalarOperator><ScalarOperator><Identifier><ColumnReference Table="[XML Reader]" Column="id"/></Identifier></ScalarOperator></Compare></ScalarOperator></Logical></ScalarOperator></Predicate>
<RelOp NodeId="1024" PhysicalOp="Top" LogicalOp="Top" EstimateRows="1" EstimateIO="0" EstimateCPU="1e-007" AvgRowSize="921" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1486"/><ColumnReference Column="Expr1817"/></OutputList><Top RowCount="0" IsPercent="0" WithTies="0"><TopExpression><ScalarOperator ScalarString="(1)"><Const ConstValue="(1)"/></ScalarOperator></TopExpression>
<RelOp NodeId="1025" PhysicalOp="Compute Scalar" LogicalOp="Compute Scalar" EstimateRows="1" EstimateIO="0" EstimateCPU="4.78647e-007" AvgRowSize="921" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1486"/><ColumnReference Column="Expr1817"/></OutputList><ComputeScalar><DefinedValues><DefinedValue><ColumnReference Column="Expr1486"/><ScalarOperator ScalarString="0x58"><Const ConstValue="0x58"/></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="1026" PhysicalOp="Filter" LogicalOp="Filter" EstimateRows="1" EstimateIO="0" EstimateCPU="1.224e-005" AvgRowSize="469" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1817"/></OutputList><Filter StartupExpression="0">
<RelOp NodeId="1027" PhysicalOp="Compute Scalar" LogicalOp="Compute Scalar" EstimateRows="3.7606" EstimateIO="0" EstimateCPU="1.8e-006" AvgRowSize="469" EstimatedTotalSubtreeCost="41.7996" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1817"/></OutputList><ComputeScalar><DefinedValues><DefinedValue><ColumnReference Column="Expr1817"/><ScalarOperator ScalarString="getdescendantlimit(XML Reader with XPath filter.[id])"><Intrinsic FunctionName="getdescendantlimit"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="1028" PhysicalOp="Table-valued function" LogicalOp="Table-valued function" EstimateRows="3.7606" EstimateIO="0" EstimateCPU="1.00036" AvgRowSize="17" EstimatedTotalSubtreeCost="41.7995" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></OutputList><TableValuedFunction><DefinedValues><DefinedValue><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></DefinedValue></DefinedValues><Object Table="[XML Reader with XPath filter]"/><ParameterList><ScalarOperator ScalarString="[@xml]"><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator ScalarString="(7)"><Const ConstValue="(7)"/></ScalarOperator><ScalarOperator ScalarString="XML Reader with XPath filter.[id]"><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator ScalarString="getdescendantlimit(XML Reader with XPath filter.[id])"><Intrinsic FunctionName="getdescendantlimit"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator></ParameterList></TableValuedFunction></RelOp></ComputeScalar></RelOp><Predicate><ScalarOperator ScalarString="XML Reader with XPath filter.[id]=getancestor(XML Reader with XPath filter.[id],(1))"><Compare CompareOp="EQ"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Intrinsic FunctionName="getancestor"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="(1)"/></ScalarOperator></Intrinsic></ScalarOperator></Compare></ScalarOperator></Predicate></Filter></RelOp></ComputeScalar></RelOp></Top></RelOp>
<RelOp NodeId="1041" PhysicalOp="Table Spool" LogicalOp="Eager Spool" EstimateRows="10000" EstimateIO="0.013125" EstimateCPU="0.0037006" AvgRowSize="8099" EstimatedTotalSubtreeCost="1.59493" Parallel="0" EstimateRebinds="0" EstimateRewinds="199"><OutputList><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><Spool>
<RelOp NodeId="1042" PhysicalOp="Table-valued function" LogicalOp="Table-valued function" EstimateRows="10000" EstimateIO="0" EstimateCPU="1.2" AvgRowSize="8099" EstimatedTotalSubtreeCost="1.2" Parallel="0" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><TableValuedFunction><DefinedValues><DefinedValue><ColumnReference Table="[XML Reader]" Column="id"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="nid"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="tid"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="value"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="lvalue"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></DefinedValue></DefinedValues><Object Table="[XML Reader]"/><ParameterList><ScalarOperator ScalarString="[@xml]"><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator ScalarString="(0)"><Const ConstValue="(0)"/></ScalarOperator><ScalarOperator ScalarString="NULL"><Const ConstValue="NULL"/></ScalarOperator><ScalarOperator ScalarString="NULL"><Const ConstValue="NULL"/></ScalarOperator></ParameterList></TableValuedFunction></RelOp></Spool></RelOp></NestedLoops></RelOp></Extension></RelOp></StreamAggregate></RelOp></NestedLoops></RelOp>
<RelOp NodeId="1051" PhysicalOp="Stream Aggregate" LogicalOp="Aggregate" EstimateRows="1" EstimateIO="0" EstimateCPU="0.0004325" AvgRowSize="36" EstimatedTotalSubtreeCost="53.3856" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Column="Expr1510"/></OutputList><StreamAggregate><DefinedValues><DefinedValue><ColumnReference Column="Expr1510"/><ScalarOperator ScalarString="MIN(CASE WHEN [@xml] IS NULL THEN NULL ELSE CASE WHEN datalength([Expr1507])&gt;=(128) THEN CONVERT_IMPLICIT(varchar(50),[Expr1508],0) ELSE CONVERT_IMPLICIT(varchar(50),[Expr1507],0) END END)"><Aggregate Distinct="0" AggType="MIN"><ScalarOperator><IF><Condition><ScalarOperator><Compare CompareOp="IS"><ScalarOperator><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="NULL"/></ScalarOperator></Compare></ScalarOperator></Condition><Then><ScalarOperator><Const ConstValue="NULL"/></ScalarOperator></Then><Else><ScalarOperator><IF><Condition><ScalarOperator><Compare CompareOp="GE"><ScalarOperator><Intrinsic FunctionName="datalength"><ScalarOperator><Identifier><ColumnReference Column="Expr1507"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator><ScalarOperator><Const ConstValue="(128)"/></ScalarOperator></Compare></ScalarOperator></Condition><Then><ScalarOperator><Convert DataType="varchar" Length="50" Style="0" Implicit="1"><ScalarOperator><Identifier><ColumnReference Column="Expr1508"/></Identifier></ScalarOperator></Convert></ScalarOperator></Then><Else><ScalarOperator><Convert DataType="varchar" Length="50" Style="0" Implicit="1"><ScalarOperator><Identifier><ColumnReference Column="Expr1507"/></Identifier></ScalarOperator></Convert></ScalarOperator></Else></IF></ScalarOperator></Else></IF></ScalarOperator></Aggregate></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="1052" PhysicalOp="UDX" LogicalOp="UDX" EstimateRows="720" EstimateIO="0" EstimateCPU="0.00072" AvgRowSize="8045" EstimatedTotalSubtreeCost="53.2991" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Column="Expr1507"/><ColumnReference Column="Expr1508"/></OutputList><Extension UDXName="XQUERY DATA"><DefinedValues><DefinedValue><ColumnReference Column="Expr1505"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1506"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1507"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1508"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1509"/></DefinedValue></DefinedValues><UsedUDXColumns><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/><ColumnReference Column="Expr1501"/><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Table="[XML Reader]" Column="id"/></UsedUDXColumns>
<RelOp NodeId="1053" PhysicalOp="Nested Loops" LogicalOp="Inner Join" EstimateRows="900" EstimateIO="0" EstimateCPU="0.0418" AvgRowSize="8559" EstimatedTotalSubtreeCost="53.1551" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1501"/><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><NestedLoops Optimized="0"><Predicate><ScalarOperator ScalarString="XML Reader with XPath filter.[id]&lt;=XML Reader.[id] AND [Expr1819]&gt;XML Reader.[id]"><Logical Operation="AND"><ScalarOperator><Compare CompareOp="LE"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Identifier><ColumnReference Table="[XML Reader]" Column="id"/></Identifier></ScalarOperator></Compare></ScalarOperator><ScalarOperator><Compare CompareOp="GT"><ScalarOperator><Identifier><ColumnReference Column="Expr1819"/></Identifier></ScalarOperator><ScalarOperator><Identifier><ColumnReference Table="[XML Reader]" Column="id"/></Identifier></ScalarOperator></Compare></ScalarOperator></Logical></ScalarOperator></Predicate>
<RelOp NodeId="1054" PhysicalOp="Top" LogicalOp="Top" EstimateRows="1" EstimateIO="0" EstimateCPU="1e-007" AvgRowSize="921" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1501"/><ColumnReference Column="Expr1819"/></OutputList><Top RowCount="0" IsPercent="0" WithTies="0"><TopExpression><ScalarOperator ScalarString="(1)"><Const ConstValue="(1)"/></ScalarOperator></TopExpression>
<RelOp NodeId="1055" PhysicalOp="Compute Scalar" LogicalOp="Compute Scalar" EstimateRows="1" EstimateIO="0" EstimateCPU="4.78647e-007" AvgRowSize="921" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1501"/><ColumnReference Column="Expr1819"/></OutputList><ComputeScalar><DefinedValues><DefinedValue><ColumnReference Column="Expr1501"/><ScalarOperator ScalarString="0x58"><Const ConstValue="0x58"/></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="1056" PhysicalOp="Filter" LogicalOp="Filter" EstimateRows="1" EstimateIO="0" EstimateCPU="1.224e-005" AvgRowSize="469" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1819"/></OutputList><Filter StartupExpression="0">
<RelOp NodeId="1057" PhysicalOp="Compute Scalar" LogicalOp="Compute Scalar" EstimateRows="3.7606" EstimateIO="0" EstimateCPU="1.8e-006" AvgRowSize="469" EstimatedTotalSubtreeCost="41.7996" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1819"/></OutputList><ComputeScalar><DefinedValues><DefinedValue><ColumnReference Column="Expr1819"/><ScalarOperator ScalarString="getdescendantlimit(XML Reader with XPath filter.[id])"><Intrinsic FunctionName="getdescendantlimit"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="1058" PhysicalOp="Table-valued function" LogicalOp="Table-valued function" EstimateRows="3.7606" EstimateIO="0" EstimateCPU="1.00036" AvgRowSize="17" EstimatedTotalSubtreeCost="41.7995" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></OutputList><TableValuedFunction><DefinedValues><DefinedValue><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></DefinedValue></DefinedValues><Object Table="[XML Reader with XPath filter]"/><ParameterList><ScalarOperator ScalarString="[@xml]"><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator ScalarString="(7)"><Const ConstValue="(7)"/></ScalarOperator><ScalarOperator ScalarString="XML Reader with XPath filter.[id]"><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator ScalarString="getdescendantlimit(XML Reader with XPath filter.[id])"><Intrinsic FunctionName="getdescendantlimit"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator></ParameterList></TableValuedFunction></RelOp></ComputeScalar></RelOp><Predicate><ScalarOperator ScalarString="XML Reader with XPath filter.[id]=getancestor(XML Reader with XPath filter.[id],(1))"><Compare CompareOp="EQ"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Intrinsic FunctionName="getancestor"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="(1)"/></ScalarOperator></Intrinsic></ScalarOperator></Compare></ScalarOperator></Predicate></Filter></RelOp></ComputeScalar></RelOp></Top></RelOp>
<RelOp NodeId="1071" PhysicalOp="Table Spool" LogicalOp="Eager Spool" EstimateRows="10000" EstimateIO="0.013125" EstimateCPU="0.0037006" AvgRowSize="8099" EstimatedTotalSubtreeCost="1.59493" Parallel="0" EstimateRebinds="0" EstimateRewinds="199"><OutputList><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><Spool>
<RelOp NodeId="1072" PhysicalOp="Table-valued function" LogicalOp="Table-valued function" EstimateRows="10000" EstimateIO="0" EstimateCPU="1.2" AvgRowSize="8099" EstimatedTotalSubtreeCost="1.2" Parallel="0" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><TableValuedFunction><DefinedValues><DefinedValue><ColumnReference Table="[XML Reader]" Column="id"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="nid"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="tid"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="value"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="lvalue"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></DefinedValue></DefinedValues><Object Table="[XML Reader]"/><ParameterList><ScalarOperator ScalarString="[@xml]"><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator ScalarString="(0)"><Const ConstValue="(0)"/></ScalarOperator><ScalarOperator ScalarString="NULL"><Const ConstValue="NULL"/></ScalarOperator><ScalarOperator ScalarString="NULL"><Const ConstValue="NULL"/></ScalarOperator></ParameterList></TableValuedFunction></RelOp></Spool></RelOp></NestedLoops></RelOp></Extension></RelOp></StreamAggregate></RelOp></NestedLoops></RelOp>
<RelOp NodeId="1081" PhysicalOp="Stream Aggregate" LogicalOp="Aggregate" EstimateRows="1" EstimateIO="0" EstimateCPU="0.0004325" AvgRowSize="16" EstimatedTotalSubtreeCost="53.3856" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Column="Expr1525"/></OutputList><StreamAggregate><DefinedValues><DefinedValue><ColumnReference Column="Expr1525"/><ScalarOperator ScalarString="MIN(CASE WHEN [@xml] IS NULL THEN NULL ELSE CASE WHEN datalength([Expr1522])&gt;=(128) THEN CONVERT_IMPLICIT(varchar(10),[Expr1523],0) ELSE CONVERT_IMPLICIT(varchar(10),[Expr1522],0) END END)"><Aggregate Distinct="0" AggType="MIN"><ScalarOperator><IF><Condition><ScalarOperator><Compare CompareOp="IS"><ScalarOperator><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="NULL"/></ScalarOperator></Compare></ScalarOperator></Condition><Then><ScalarOperator><Const ConstValue="NULL"/></ScalarOperator></Then><Else><ScalarOperator><IF><Condition><ScalarOperator><Compare CompareOp="GE"><ScalarOperator><Intrinsic FunctionName="datalength"><ScalarOperator><Identifier><ColumnReference Column="Expr1522"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator><ScalarOperator><Const ConstValue="(128)"/></ScalarOperator></Compare></ScalarOperator></Condition><Then><ScalarOperator><Convert DataType="varchar" Length="10" Style="0" Implicit="1"><ScalarOperator><Identifier><ColumnReference Column="Expr1523"/></Identifier></ScalarOperator></Convert></ScalarOperator></Then><Else><ScalarOperator><Convert DataType="varchar" Length="10" Style="0" Implicit="1"><ScalarOperator><Identifier><ColumnReference Column="Expr1522"/></Identifier></ScalarOperator></Convert></ScalarOperator></Else></IF></ScalarOperator></Else></IF></ScalarOperator></Aggregate></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="1082" PhysicalOp="UDX" LogicalOp="UDX" EstimateRows="720" EstimateIO="0" EstimateCPU="0.00072" AvgRowSize="8045" EstimatedTotalSubtreeCost="53.2991" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Column="Expr1522"/><ColumnReference Column="Expr1523"/></OutputList><Extension UDXName="XQUERY DATA"><DefinedValues><DefinedValue><ColumnReference Column="Expr1520"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1521"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1522"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1523"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1524"/></DefinedValue></DefinedValues><UsedUDXColumns><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/><ColumnReference Column="Expr1516"/><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Table="[XML Reader]" Column="id"/></UsedUDXColumns>
<RelOp NodeId="1083" PhysicalOp="Nested Loops" LogicalOp="Inner Join" EstimateRows="900" EstimateIO="0" EstimateCPU="0.0418" AvgRowSize="8559" EstimatedTotalSubtreeCost="53.1551" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1516"/><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><NestedLoops Optimized="0"><Predicate><ScalarOperator ScalarString="XML Reader with XPath filter.[id]&lt;=XML Reader.[id] AND [Expr1821]&gt;XML Reader.[id]"><Logical Operation="AND"><ScalarOperator><Compare CompareOp="LE"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Identifier><ColumnReference Table="[XML Reader]" Column="id"/></Identifier></ScalarOperator></Compare></ScalarOperator><ScalarOperator><Compare CompareOp="GT"><ScalarOperator><Identifier><ColumnReference Column="Expr1821"/></Identifier></ScalarOperator><ScalarOperator><Identifier><ColumnReference Table="[XML Reader]" Column="id"/></Identifier></ScalarOperator></Compare></ScalarOperator></Logical></ScalarOperator></Predicate>
<RelOp NodeId="1084" PhysicalOp="Top" LogicalOp="Top" EstimateRows="1" EstimateIO="0" EstimateCPU="1e-007" AvgRowSize="921" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1516"/><ColumnReference Column="Expr1821"/></OutputList><Top RowCount="0" IsPercent="0" WithTies="0"><TopExpression><ScalarOperator ScalarString="(1)"><Const ConstValue="(1)"/></ScalarOperator></TopExpression>
<RelOp NodeId="1085" PhysicalOp="Compute Scalar" LogicalOp="Compute Scalar" EstimateRows="1" EstimateIO="0" EstimateCPU="4.78647e-007" AvgRowSize="921" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1516"/><ColumnReference Column="Expr1821"/></OutputList><ComputeScalar><DefinedValues><DefinedValue><ColumnReference Column="Expr1516"/><ScalarOperator ScalarString="0x58"><Const ConstValue="0x58"/></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="1086" PhysicalOp="Filter" LogicalOp="Filter" EstimateRows="1" EstimateIO="0" EstimateCPU="1.224e-005" AvgRowSize="469" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1821"/></OutputList><Filter StartupExpression="0">
<RelOp NodeId="1087" PhysicalOp="Compute Scalar" LogicalOp="Compute Scalar" EstimateRows="3.7606" EstimateIO="0" EstimateCPU="1.8e-006" AvgRowSize="469" EstimatedTotalSubtreeCost="41.7996" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1821"/></OutputList><ComputeScalar><DefinedValues><DefinedValue><ColumnReference Column="Expr1821"/><ScalarOperator ScalarString="getdescendantlimit(XML Reader with XPath filter.[id])"><Intrinsic FunctionName="getdescendantlimit"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="1088" PhysicalOp="Table-valued function" LogicalOp="Table-valued function" EstimateRows="3.7606" EstimateIO="0" EstimateCPU="1.00036" AvgRowSize="17" EstimatedTotalSubtreeCost="41.7995" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></OutputList><TableValuedFunction><DefinedValues><DefinedValue><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></DefinedValue></DefinedValues><Object Table="[XML Reader with XPath filter]"/><ParameterList><ScalarOperator ScalarString="[@xml]"><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator ScalarString="(7)"><Const ConstValue="(7)"/></ScalarOperator><ScalarOperator ScalarString="XML Reader with XPath filter.[id]"><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator ScalarString="getdescendantlimit(XML Reader with XPath filter.[id])"><Intrinsic FunctionName="getdescendantlimit"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator></ParameterList></TableValuedFunction></RelOp></ComputeScalar></RelOp><Predicate><ScalarOperator ScalarString="XML Reader with XPath filter.[id]=getancestor(XML Reader with XPath filter.[id],(1))"><Compare CompareOp="EQ"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Intrinsic FunctionName="getancestor"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="(1)"/></ScalarOperator></Intrinsic></ScalarOperator></Compare></ScalarOperator></Predicate></Filter></RelOp></ComputeScalar></RelOp></Top></RelOp>
<RelOp NodeId="1101" PhysicalOp="Table Spool" LogicalOp="Eager Spool" EstimateRows="10000" EstimateIO="0.013125" EstimateCPU="0.0037006" AvgRowSize="8099" EstimatedTotalSubtreeCost="1.59493" Parallel="0" EstimateRebinds="0" EstimateRewinds="199"><OutputList><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><Spool>
<RelOp NodeId="1102" PhysicalOp="Table-valued function" LogicalOp="Table-valued function" EstimateRows="10000" EstimateIO="0" EstimateCPU="1.2" AvgRowSize="8099" EstimatedTotalSubtreeCost="1.2" Parallel="0" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><TableValuedFunction><DefinedValues><DefinedValue><ColumnReference Table="[XML Reader]" Column="id"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="nid"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="tid"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="value"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="lvalue"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></DefinedValue></DefinedValues><Object Table="[XML Reader]"/><ParameterList><ScalarOperator ScalarString="[@xml]"><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator ScalarString="(0)"><Const ConstValue="(0)"/></ScalarOperator><ScalarOperator ScalarString="NULL"><Const ConstValue="NULL"/></ScalarOperator><ScalarOperator ScalarString="NULL"><Const ConstValue="NULL"/></ScalarOperator></ParameterList></TableValuedFunction></RelOp></Spool></RelOp></NestedLoops></RelOp></Extension></RelOp></StreamAggregate></RelOp></NestedLoops></RelOp>
<RelOp NodeId="1111" PhysicalOp="Stream Aggregate" LogicalOp="Aggregate" EstimateRows="1" EstimateIO="0" EstimateCPU="0.0004325" AvgRowSize="21" EstimatedTotalSubtreeCost="53.3856" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Column="Expr1540"/></OutputList><StreamAggregate><DefinedValues><DefinedValue><ColumnReference Column="Expr1540"/><ScalarOperator ScalarString="MIN(CASE WHEN [@xml] IS NULL THEN NULL ELSE CASE WHEN datalength([Expr1537])&gt;=(128) THEN CONVERT_IMPLICIT(varchar(20),[Expr1538],0) ELSE CONVERT_IMPLICIT(varchar(20),[Expr1537],0) END END)"><Aggregate Distinct="0" AggType="MIN"><ScalarOperator><IF><Condition><ScalarOperator><Compare CompareOp="IS"><ScalarOperator><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="NULL"/></ScalarOperator></Compare></ScalarOperator></Condition><Then><ScalarOperator><Const ConstValue="NULL"/></ScalarOperator></Then><Else><ScalarOperator><IF><Condition><ScalarOperator><Compare CompareOp="GE"><ScalarOperator><Intrinsic FunctionName="datalength"><ScalarOperator><Identifier><ColumnReference Column="Expr1537"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator><ScalarOperator><Const ConstValue="(128)"/></ScalarOperator></Compare></ScalarOperator></Condition><Then><ScalarOperator><Convert DataType="varchar" Length="20" Style="0" Implicit="1"><ScalarOperator><Identifier><ColumnReference Column="Expr1538"/></Identifier></ScalarOperator></Convert></ScalarOperator></Then><Else><ScalarOperator><Convert DataType="varchar" Length="20" Style="0" Implicit="1"><ScalarOperator><Identifier><ColumnReference Column="Expr1537"/></Identifier></ScalarOperator></Convert></ScalarOperator></Else></IF></ScalarOperator></Else></IF></ScalarOperator></Aggregate></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="1112" PhysicalOp="UDX" LogicalOp="UDX" EstimateRows="720" EstimateIO="0" EstimateCPU="0.00072" AvgRowSize="8045" EstimatedTotalSubtreeCost="53.2991" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Column="Expr1537"/><ColumnReference Column="Expr1538"/></OutputList><Extension UDXName="XQUERY DATA"><DefinedValues><DefinedValue><ColumnReference Column="Expr1535"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1536"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1537"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1538"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1539"/></DefinedValue></DefinedValues><UsedUDXColumns><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/><ColumnReference Column="Expr1531"/><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Table="[XML Reader]" Column="id"/></UsedUDXColumns>
<RelOp NodeId="1113" PhysicalOp="Nested Loops" LogicalOp="Inner Join" EstimateRows="900" EstimateIO="0" EstimateCPU="0.0418" AvgRowSize="8559" EstimatedTotalSubtreeCost="53.1551" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1531"/><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><NestedLoops Optimized="0"><Predicate><ScalarOperator ScalarString="XML Reader with XPath filter.[id]&lt;=XML Reader.[id] AND [Expr1823]&gt;XML Reader.[id]"><Logical Operation="AND"><ScalarOperator><Compare CompareOp="LE"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Identifier><ColumnReference Table="[XML Reader]" Column="id"/></Identifier></ScalarOperator></Compare></ScalarOperator><ScalarOperator><Compare CompareOp="GT"><ScalarOperator><Identifier><ColumnReference Column="Expr1823"/></Identifier></ScalarOperator><ScalarOperator><Identifier><ColumnReference Table="[XML Reader]" Column="id"/></Identifier></ScalarOperator></Compare></ScalarOperator></Logical></ScalarOperator></Predicate>
<RelOp NodeId="1114" PhysicalOp="Top" LogicalOp="Top" EstimateRows="1" EstimateIO="0" EstimateCPU="1e-007" AvgRowSize="921" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1531"/><ColumnReference Column="Expr1823"/></OutputList><Top RowCount="0" IsPercent="0" WithTies="0"><TopExpression><ScalarOperator ScalarString="(1)"><Const ConstValue="(1)"/></ScalarOperator></TopExpression>
<RelOp NodeId="1115" PhysicalOp="Compute Scalar" LogicalOp="Compute Scalar" EstimateRows="1" EstimateIO="0" EstimateCPU="4.78647e-007" AvgRowSize="921" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1531"/><ColumnReference Column="Expr1823"/></OutputList><ComputeScalar><DefinedValues><DefinedValue><ColumnReference Column="Expr1531"/><ScalarOperator ScalarString="0x58"><Const ConstValue="0x58"/></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="1116" PhysicalOp="Filter" LogicalOp="Filter" EstimateRows="1" EstimateIO="0" EstimateCPU="1.224e-005" AvgRowSize="469" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1823"/></OutputList><Filter StartupExpression="0">
<RelOp NodeId="1117" PhysicalOp="Compute Scalar" LogicalOp="Compute Scalar" EstimateRows="3.7606" EstimateIO="0" EstimateCPU="1.8e-006" AvgRowSize="469" EstimatedTotalSubtreeCost="41.7996" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1823"/></OutputList><ComputeScalar><DefinedValues><DefinedValue><ColumnReference Column="Expr1823"/><ScalarOperator ScalarString="getdescendantlimit(XML Reader with XPath filter.[id])"><Intrinsic FunctionName="getdescendantlimit"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="1118" PhysicalOp="Table-valued function" LogicalOp="Table-valued function" EstimateRows="3.7606" EstimateIO="0" EstimateCPU="1.00036" AvgRowSize="17" EstimatedTotalSubtreeCost="41.7995" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></OutputList><TableValuedFunction><DefinedValues><DefinedValue><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></DefinedValue></DefinedValues><Object Table="[XML Reader with XPath filter]"/><ParameterList><ScalarOperator ScalarString="[@xml]"><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator ScalarString="(7)"><Const ConstValue="(7)"/></ScalarOperator><ScalarOperator ScalarString="XML Reader with XPath filter.[id]"><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator ScalarString="getdescendantlimit(XML Reader with XPath filter.[id])"><Intrinsic FunctionName="getdescendantlimit"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator></ParameterList></TableValuedFunction></RelOp></ComputeScalar></RelOp><Predicate><ScalarOperator ScalarString="XML Reader with XPath filter.[id]=getancestor(XML Reader with XPath filter.[id],(1))"><Compare CompareOp="EQ"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Intrinsic FunctionName="getancestor"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="(1)"/></ScalarOperator></Intrinsic></ScalarOperator></Compare></ScalarOperator></Predicate></Filter></RelOp></ComputeScalar></RelOp></Top></RelOp>
<RelOp NodeId="1131" PhysicalOp="Table Spool" LogicalOp="Eager Spool" EstimateRows="10000" EstimateIO="0.013125" EstimateCPU="0.0037006" AvgRowSize="8099" EstimatedTotalSubtreeCost="1.59493" Parallel="0" EstimateRebinds="0" EstimateRewinds="199"><OutputList><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><Spool>
<RelOp NodeId="1132" PhysicalOp="Table-valued function" LogicalOp="Table-valued function" EstimateRows="10000" EstimateIO="0" EstimateCPU="1.2" AvgRowSize="8099" EstimatedTotalSubtreeCost="1.2" Parallel="0" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><TableValuedFunction><DefinedValues><DefinedValue><ColumnReference Table="[XML Reader]" Column="id"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="nid"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="tid"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="value"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="lvalue"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></DefinedValue></DefinedValues><Object Table="[XML Reader]"/><ParameterList><ScalarOperator ScalarString="[@xml]"><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator ScalarString="(0)"><Const ConstValue="(0)"/></ScalarOperator><ScalarOperator ScalarString="NULL"><Const ConstValue="NULL"/></ScalarOperator><ScalarOperator ScalarString="NULL"><Const ConstValue="NULL"/></ScalarOperator></ParameterList></TableValuedFunction></RelOp></Spool></RelOp></NestedLoops></RelOp></Extension></RelOp></StreamAggregate></RelOp></NestedLoops></RelOp>
<RelOp NodeId="1141" PhysicalOp="Stream Aggregate" LogicalOp="Aggregate" EstimateRows="1" EstimateIO="0" EstimateCPU="0.0004325" AvgRowSize="21" EstimatedTotalSubtreeCost="53.3856" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Column="Expr1554"/></OutputList><StreamAggregate><DefinedValues><DefinedValue><ColumnReference Column="Expr1554"/><ScalarOperator ScalarString="MIN(CASE WHEN [@xml] IS NULL THEN NULL ELSE CASE WHEN datalength([Expr1551])&gt;=(128) THEN CONVERT_IMPLICIT(varchar(20),[Expr1552],0) ELSE CONVERT_IMPLICIT(varchar(20),[Expr1551],0) END END)"><Aggregate Distinct="0" AggType="MIN"><ScalarOperator><IF><Condition><ScalarOperator><Compare CompareOp="IS"><ScalarOperator><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="NULL"/></ScalarOperator></Compare></ScalarOperator></Condition><Then><ScalarOperator><Const ConstValue="NULL"/></ScalarOperator></Then><Else><ScalarOperator><IF><Condition><ScalarOperator><Compare CompareOp="GE"><ScalarOperator><Intrinsic FunctionName="datalength"><ScalarOperator><Identifier><ColumnReference Column="Expr1551"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator><ScalarOperator><Const ConstValue="(128)"/></ScalarOperator></Compare></ScalarOperator></Condition><Then><ScalarOperator><Convert DataType="varchar" Length="20" Style="0" Implicit="1"><ScalarOperator><Identifier><ColumnReference Column="Expr1552"/></Identifier></ScalarOperator></Convert></ScalarOperator></Then><Else><ScalarOperator><Convert DataType="varchar" Length="20" Style="0" Implicit="1"><ScalarOperator><Identifier><ColumnReference Column="Expr1551"/></Identifier></ScalarOperator></Convert></ScalarOperator></Else></IF></ScalarOperator></Else></IF></ScalarOperator></Aggregate></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="1142" PhysicalOp="UDX" LogicalOp="UDX" EstimateRows="720" EstimateIO="0" EstimateCPU="0.00072" AvgRowSize="8045" EstimatedTotalSubtreeCost="53.2991" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Column="Expr1551"/><ColumnReference Column="Expr1552"/></OutputList><Extension UDXName="XQUERY DATA"><DefinedValues><DefinedValue><ColumnReference Column="Expr1549"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1550"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1551"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1552"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1553"/></DefinedValue></DefinedValues><UsedUDXColumns><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/><ColumnReference Column="Expr1545"/><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Table="[XML Reader]" Column="id"/></UsedUDXColumns>
<RelOp NodeId="1143" PhysicalOp="Nested Loops" LogicalOp="Inner Join" EstimateRows="900" EstimateIO="0" EstimateCPU="0.0418" AvgRowSize="8559" EstimatedTotalSubtreeCost="53.1551" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1545"/><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><NestedLoops Optimized="0"><Predicate><ScalarOperator ScalarString="XML Reader with XPath filter.[id]&lt;=XML Reader.[id] AND [Expr1825]&gt;XML Reader.[id]"><Logical Operation="AND"><ScalarOperator><Compare CompareOp="LE"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Identifier><ColumnReference Table="[XML Reader]" Column="id"/></Identifier></ScalarOperator></Compare></ScalarOperator><ScalarOperator><Compare CompareOp="GT"><ScalarOperator><Identifier><ColumnReference Column="Expr1825"/></Identifier></ScalarOperator><ScalarOperator><Identifier><ColumnReference Table="[XML Reader]" Column="id"/></Identifier></ScalarOperator></Compare></ScalarOperator></Logical></ScalarOperator></Predicate>
<RelOp NodeId="1144" PhysicalOp="Top" LogicalOp="Top" EstimateRows="1" EstimateIO="0" EstimateCPU="1e-007" AvgRowSize="921" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1545"/><ColumnReference Column="Expr1825"/></OutputList><Top RowCount="0" IsPercent="0" WithTies="0"><TopExpression><ScalarOperator ScalarString="(1)"><Const ConstValue="(1)"/></ScalarOperator></TopExpression>
<RelOp NodeId="1145" PhysicalOp="Compute Scalar" LogicalOp="Compute Scalar" EstimateRows="1" EstimateIO="0" EstimateCPU="4.78647e-007" AvgRowSize="921" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1545"/><ColumnReference Column="Expr1825"/></OutputList><ComputeScalar><DefinedValues><DefinedValue><ColumnReference Column="Expr1545"/><ScalarOperator ScalarString="0x58"><Const ConstValue="0x58"/></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="1146" PhysicalOp="Filter" LogicalOp="Filter" EstimateRows="1" EstimateIO="0" EstimateCPU="1.224e-005" AvgRowSize="469" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1825"/></OutputList><Filter StartupExpression="0">
<RelOp NodeId="1147" PhysicalOp="Compute Scalar" LogicalOp="Compute Scalar" EstimateRows="3.7606" EstimateIO="0" EstimateCPU="1.8e-006" AvgRowSize="469" EstimatedTotalSubtreeCost="41.7996" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1825"/></OutputList><ComputeScalar><DefinedValues><DefinedValue><ColumnReference Column="Expr1825"/><ScalarOperator ScalarString="getdescendantlimit(XML Reader with XPath filter.[id])"><Intrinsic FunctionName="getdescendantlimit"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="1148" PhysicalOp="Table-valued function" LogicalOp="Table-valued function" EstimateRows="3.7606" EstimateIO="0" EstimateCPU="1.00036" AvgRowSize="17" EstimatedTotalSubtreeCost="41.7995" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></OutputList><TableValuedFunction><DefinedValues><DefinedValue><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></DefinedValue></DefinedValues><Object Table="[XML Reader with XPath filter]"/><ParameterList><ScalarOperator ScalarString="[@xml]"><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator ScalarString="(7)"><Const ConstValue="(7)"/></ScalarOperator><ScalarOperator ScalarString="XML Reader with XPath filter.[id]"><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator ScalarString="getdescendantlimit(XML Reader with XPath filter.[id])"><Intrinsic FunctionName="getdescendantlimit"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator></ParameterList></TableValuedFunction></RelOp></ComputeScalar></RelOp><Predicate><ScalarOperator ScalarString="XML Reader with XPath filter.[id]=getancestor(XML Reader with XPath filter.[id],(1))"><Compare CompareOp="EQ"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Intrinsic FunctionName="getancestor"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="(1)"/></ScalarOperator></Intrinsic></ScalarOperator></Compare></ScalarOperator></Predicate></Filter></RelOp></ComputeScalar></RelOp></Top></RelOp>
<RelOp NodeId="1161" PhysicalOp="Table Spool" LogicalOp="Eager Spool" EstimateRows="10000" EstimateIO="0.013125" EstimateCPU="0.0037006" AvgRowSize="8099" EstimatedTotalSubtreeCost="1.59493" Parallel="0" EstimateRebinds="0" EstimateRewinds="199"><OutputList><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><Spool>
<RelOp NodeId="1162" PhysicalOp="Table-valued function" LogicalOp="Table-valued function" EstimateRows="10000" EstimateIO="0" EstimateCPU="1.2" AvgRowSize="8099" EstimatedTotalSubtreeCost="1.2" Parallel="0" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><TableValuedFunction><DefinedValues><DefinedValue><ColumnReference Table="[XML Reader]" Column="id"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="nid"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="tid"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="value"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="lvalue"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></DefinedValue></DefinedValues><Object Table="[XML Reader]"/><ParameterList><ScalarOperator ScalarString="[@xml]"><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator ScalarString="(0)"><Const ConstValue="(0)"/></ScalarOperator><ScalarOperator ScalarString="NULL"><Const ConstValue="NULL"/></ScalarOperator><ScalarOperator ScalarString="NULL"><Const ConstValue="NULL"/></ScalarOperator></ParameterList></TableValuedFunction></RelOp></Spool></RelOp></NestedLoops></RelOp></Extension></RelOp></StreamAggregate></RelOp></NestedLoops></RelOp>
<RelOp NodeId="1171" PhysicalOp="Stream Aggregate" LogicalOp="Aggregate" EstimateRows="1" EstimateIO="0" EstimateCPU="0.0004325" AvgRowSize="12" EstimatedTotalSubtreeCost="53.3856" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Column="Expr1569"/></OutputList><StreamAggregate><DefinedValues><DefinedValue><ColumnReference Column="Expr1569"/><ScalarOperator ScalarString="MIN(CASE WHEN [@xml] IS NULL THEN NULL ELSE CASE WHEN datalength([Expr1566])&gt;=(128) THEN CONVERT_IMPLICIT(varchar(3),[Expr1567],0) ELSE CONVERT_IMPLICIT(varchar(3),[Expr1566],0) END END)"><Aggregate Distinct="0" AggType="MIN"><ScalarOperator><IF><Condition><ScalarOperator><Compare CompareOp="IS"><ScalarOperator><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="NULL"/></ScalarOperator></Compare></ScalarOperator></Condition><Then><ScalarOperator><Const ConstValue="NULL"/></ScalarOperator></Then><Else><ScalarOperator><IF><Condition><ScalarOperator><Compare CompareOp="GE"><ScalarOperator><Intrinsic FunctionName="datalength"><ScalarOperator><Identifier><ColumnReference Column="Expr1566"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator><ScalarOperator><Const ConstValue="(128)"/></ScalarOperator></Compare></ScalarOperator></Condition><Then><ScalarOperator><Convert DataType="varchar" Length="3" Style="0" Implicit="1"><ScalarOperator><Identifier><ColumnReference Column="Expr1567"/></Identifier></ScalarOperator></Convert></ScalarOperator></Then><Else><ScalarOperator><Convert DataType="varchar" Length="3" Style="0" Implicit="1"><ScalarOperator><Identifier><ColumnReference Column="Expr1566"/></Identifier></ScalarOperator></Convert></ScalarOperator></Else></IF></ScalarOperator></Else></IF></ScalarOperator></Aggregate></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="1172" PhysicalOp="UDX" LogicalOp="UDX" EstimateRows="720" EstimateIO="0" EstimateCPU="0.00072" AvgRowSize="8045" EstimatedTotalSubtreeCost="53.2991" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Column="Expr1566"/><ColumnReference Column="Expr1567"/></OutputList><Extension UDXName="XQUERY DATA"><DefinedValues><DefinedValue><ColumnReference Column="Expr1564"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1565"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1566"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1567"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1568"/></DefinedValue></DefinedValues><UsedUDXColumns><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/><ColumnReference Column="Expr1560"/><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Table="[XML Reader]" Column="id"/></UsedUDXColumns>
<RelOp NodeId="1173" PhysicalOp="Nested Loops" LogicalOp="Inner Join" EstimateRows="900" EstimateIO="0" EstimateCPU="0.0418" AvgRowSize="8559" EstimatedTotalSubtreeCost="53.1551" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1560"/><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><NestedLoops Optimized="0"><Predicate><ScalarOperator ScalarString="XML Reader with XPath filter.[id]&lt;=XML Reader.[id] AND [Expr1827]&gt;XML Reader.[id]"><Logical Operation="AND"><ScalarOperator><Compare CompareOp="LE"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Identifier><ColumnReference Table="[XML Reader]" Column="id"/></Identifier></ScalarOperator></Compare></ScalarOperator><ScalarOperator><Compare CompareOp="GT"><ScalarOperator><Identifier><ColumnReference Column="Expr1827"/></Identifier></ScalarOperator><ScalarOperator><Identifier><ColumnReference Table="[XML Reader]" Column="id"/></Identifier></ScalarOperator></Compare></ScalarOperator></Logical></ScalarOperator></Predicate>
<RelOp NodeId="1174" PhysicalOp="Top" LogicalOp="Top" EstimateRows="1" EstimateIO="0" EstimateCPU="1e-007" AvgRowSize="921" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1560"/><ColumnReference Column="Expr1827"/></OutputList><Top RowCount="0" IsPercent="0" WithTies="0"><TopExpression><ScalarOperator ScalarString="(1)"><Const ConstValue="(1)"/></ScalarOperator></TopExpression>
<RelOp NodeId="1175" PhysicalOp="Compute Scalar" LogicalOp="Compute Scalar" EstimateRows="1" EstimateIO="0" EstimateCPU="4.78647e-007" AvgRowSize="921" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1560"/><ColumnReference Column="Expr1827"/></OutputList><ComputeScalar><DefinedValues><DefinedValue><ColumnReference Column="Expr1560"/><ScalarOperator ScalarString="0x58"><Const ConstValue="0x58"/></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="1176" PhysicalOp="Filter" LogicalOp="Filter" EstimateRows="1" EstimateIO="0" EstimateCPU="1.224e-005" AvgRowSize="469" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1827"/></OutputList><Filter StartupExpression="0">
<RelOp NodeId="1177" PhysicalOp="Compute Scalar" LogicalOp="Compute Scalar" EstimateRows="3.7606" EstimateIO="0" EstimateCPU="1.8e-006" AvgRowSize="469" EstimatedTotalSubtreeCost="41.7996" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1827"/></OutputList><ComputeScalar><DefinedValues><DefinedValue><ColumnReference Column="Expr1827"/><ScalarOperator ScalarString="getdescendantlimit(XML Reader with XPath filter.[id])"><Intrinsic FunctionName="getdescendantlimit"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="1178" PhysicalOp="Table-valued function" LogicalOp="Table-valued function" EstimateRows="3.7606" EstimateIO="0" EstimateCPU="1.00036" AvgRowSize="17" EstimatedTotalSubtreeCost="41.7995" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></OutputList><TableValuedFunction><DefinedValues><DefinedValue><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></DefinedValue></DefinedValues><Object Table="[XML Reader with XPath filter]"/><ParameterList><ScalarOperator ScalarString="[@xml]"><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator ScalarString="(7)"><Const ConstValue="(7)"/></ScalarOperator><ScalarOperator ScalarString="XML Reader with XPath filter.[id]"><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator ScalarString="getdescendantlimit(XML Reader with XPath filter.[id])"><Intrinsic FunctionName="getdescendantlimit"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator></ParameterList></TableValuedFunction></RelOp></ComputeScalar></RelOp><Predicate><ScalarOperator ScalarString="XML Reader with XPath filter.[id]=getancestor(XML Reader with XPath filter.[id],(1))"><Compare CompareOp="EQ"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Intrinsic FunctionName="getancestor"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="(1)"/></ScalarOperator></Intrinsic></ScalarOperator></Compare></ScalarOperator></Predicate></Filter></RelOp></ComputeScalar></RelOp></Top></RelOp>
<RelOp NodeId="1191" PhysicalOp="Table Spool" LogicalOp="Eager Spool" EstimateRows="10000" EstimateIO="0.013125" EstimateCPU="0.0037006" AvgRowSize="8099" EstimatedTotalSubtreeCost="1.59493" Parallel="0" EstimateRebinds="0" EstimateRewinds="199"><OutputList><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><Spool>
<RelOp NodeId="1192" PhysicalOp="Table-valued function" LogicalOp="Table-valued function" EstimateRows="10000" EstimateIO="0" EstimateCPU="1.2" AvgRowSize="8099" EstimatedTotalSubtreeCost="1.2" Parallel="0" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><TableValuedFunction><DefinedValues><DefinedValue><ColumnReference Table="[XML Reader]" Column="id"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="nid"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="tid"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="value"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="lvalue"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></DefinedValue></DefinedValues><Object Table="[XML Reader]"/><ParameterList><ScalarOperator ScalarString="[@xml]"><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator ScalarString="(0)"><Const ConstValue="(0)"/></ScalarOperator><ScalarOperator ScalarString="NULL"><Const ConstValue="NULL"/></ScalarOperator><ScalarOperator ScalarString="NULL"><Const ConstValue="NULL"/></ScalarOperator></ParameterList></TableValuedFunction></RelOp></Spool></RelOp></NestedLoops></RelOp></Extension></RelOp></StreamAggregate></RelOp></NestedLoops></RelOp>
<RelOp NodeId="1201" PhysicalOp="Stream Aggregate" LogicalOp="Aggregate" EstimateRows="1" EstimateIO="0" EstimateCPU="0.0004325" AvgRowSize="21" EstimatedTotalSubtreeCost="53.3856" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Column="Expr1584"/></OutputList><StreamAggregate><DefinedValues><DefinedValue><ColumnReference Column="Expr1584"/><ScalarOperator ScalarString="MIN(CASE WHEN [@xml] IS NULL THEN NULL ELSE CASE WHEN datalength([Expr1581])&gt;=(128) THEN CONVERT_IMPLICIT(varchar(20),[Expr1582],0) ELSE CONVERT_IMPLICIT(varchar(20),[Expr1581],0) END END)"><Aggregate Distinct="0" AggType="MIN"><ScalarOperator><IF><Condition><ScalarOperator><Compare CompareOp="IS"><ScalarOperator><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="NULL"/></ScalarOperator></Compare></ScalarOperator></Condition><Then><ScalarOperator><Const ConstValue="NULL"/></ScalarOperator></Then><Else><ScalarOperator><IF><Condition><ScalarOperator><Compare CompareOp="GE"><ScalarOperator><Intrinsic FunctionName="datalength"><ScalarOperator><Identifier><ColumnReference Column="Expr1581"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator><ScalarOperator><Const ConstValue="(128)"/></ScalarOperator></Compare></ScalarOperator></Condition><Then><ScalarOperator><Convert DataType="varchar" Length="20" Style="0" Implicit="1"><ScalarOperator><Identifier><ColumnReference Column="Expr1582"/></Identifier></ScalarOperator></Convert></ScalarOperator></Then><Else><ScalarOperator><Convert DataType="varchar" Length="20" Style="0" Implicit="1"><ScalarOperator><Identifier><ColumnReference Column="Expr1581"/></Identifier></ScalarOperator></Convert></ScalarOperator></Else></IF></ScalarOperator></Else></IF></ScalarOperator></Aggregate></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="1202" PhysicalOp="UDX" LogicalOp="UDX" EstimateRows="720" EstimateIO="0" EstimateCPU="0.00072" AvgRowSize="8045" EstimatedTotalSubtreeCost="53.2991" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Column="Expr1581"/><ColumnReference Column="Expr1582"/></OutputList><Extension UDXName="XQUERY DATA"><DefinedValues><DefinedValue><ColumnReference Column="Expr1579"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1580"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1581"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1582"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1583"/></DefinedValue></DefinedValues><UsedUDXColumns><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/><ColumnReference Column="Expr1575"/><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Table="[XML Reader]" Column="id"/></UsedUDXColumns>
<RelOp NodeId="1203" PhysicalOp="Nested Loops" LogicalOp="Inner Join" EstimateRows="900" EstimateIO="0" EstimateCPU="0.0418" AvgRowSize="8559" EstimatedTotalSubtreeCost="53.1551" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1575"/><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><NestedLoops Optimized="0"><Predicate><ScalarOperator ScalarString="XML Reader with XPath filter.[id]&lt;=XML Reader.[id] AND [Expr1829]&gt;XML Reader.[id]"><Logical Operation="AND"><ScalarOperator><Compare CompareOp="LE"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Identifier><ColumnReference Table="[XML Reader]" Column="id"/></Identifier></ScalarOperator></Compare></ScalarOperator><ScalarOperator><Compare CompareOp="GT"><ScalarOperator><Identifier><ColumnReference Column="Expr1829"/></Identifier></ScalarOperator><ScalarOperator><Identifier><ColumnReference Table="[XML Reader]" Column="id"/></Identifier></ScalarOperator></Compare></ScalarOperator></Logical></ScalarOperator></Predicate>
<RelOp NodeId="1204" PhysicalOp="Top" LogicalOp="Top" EstimateRows="1" EstimateIO="0" EstimateCPU="1e-007" AvgRowSize="921" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1575"/><ColumnReference Column="Expr1829"/></OutputList><Top RowCount="0" IsPercent="0" WithTies="0"><TopExpression><ScalarOperator ScalarString="(1)"><Const ConstValue="(1)"/></ScalarOperator></TopExpression>
<RelOp NodeId="1205" PhysicalOp="Compute Scalar" LogicalOp="Compute Scalar" EstimateRows="1" EstimateIO="0" EstimateCPU="4.78647e-007" AvgRowSize="921" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1575"/><ColumnReference Column="Expr1829"/></OutputList><ComputeScalar><DefinedValues><DefinedValue><ColumnReference Column="Expr1575"/><ScalarOperator ScalarString="0x58"><Const ConstValue="0x58"/></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="1206" PhysicalOp="Filter" LogicalOp="Filter" EstimateRows="1" EstimateIO="0" EstimateCPU="1.224e-005" AvgRowSize="469" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1829"/></OutputList><Filter StartupExpression="0">
<RelOp NodeId="1207" PhysicalOp="Compute Scalar" LogicalOp="Compute Scalar" EstimateRows="3.7606" EstimateIO="0" EstimateCPU="1.8e-006" AvgRowSize="469" EstimatedTotalSubtreeCost="41.7996" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1829"/></OutputList><ComputeScalar><DefinedValues><DefinedValue><ColumnReference Column="Expr1829"/><ScalarOperator ScalarString="getdescendantlimit(XML Reader with XPath filter.[id])"><Intrinsic FunctionName="getdescendantlimit"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="1208" PhysicalOp="Table-valued function" LogicalOp="Table-valued function" EstimateRows="3.7606" EstimateIO="0" EstimateCPU="1.00036" AvgRowSize="17" EstimatedTotalSubtreeCost="41.7995" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></OutputList><TableValuedFunction><DefinedValues><DefinedValue><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></DefinedValue></DefinedValues><Object Table="[XML Reader with XPath filter]"/><ParameterList><ScalarOperator ScalarString="[@xml]"><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator ScalarString="(7)"><Const ConstValue="(7)"/></ScalarOperator><ScalarOperator ScalarString="XML Reader with XPath filter.[id]"><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator ScalarString="getdescendantlimit(XML Reader with XPath filter.[id])"><Intrinsic FunctionName="getdescendantlimit"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator></ParameterList></TableValuedFunction></RelOp></ComputeScalar></RelOp><Predicate><ScalarOperator ScalarString="XML Reader with XPath filter.[id]=getancestor(XML Reader with XPath filter.[id],(1))"><Compare CompareOp="EQ"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Intrinsic FunctionName="getancestor"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="(1)"/></ScalarOperator></Intrinsic></ScalarOperator></Compare></ScalarOperator></Predicate></Filter></RelOp></ComputeScalar></RelOp></Top></RelOp>
<RelOp NodeId="1221" PhysicalOp="Table Spool" LogicalOp="Eager Spool" EstimateRows="10000" EstimateIO="0.013125" EstimateCPU="0.0037006" AvgRowSize="8099" EstimatedTotalSubtreeCost="1.59493" Parallel="0" EstimateRebinds="0" EstimateRewinds="199"><OutputList><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><Spool>
<RelOp NodeId="1222" PhysicalOp="Table-valued function" LogicalOp="Table-valued function" EstimateRows="10000" EstimateIO="0" EstimateCPU="1.2" AvgRowSize="8099" EstimatedTotalSubtreeCost="1.2" Parallel="0" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><TableValuedFunction><DefinedValues><DefinedValue><ColumnReference Table="[XML Reader]" Column="id"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="nid"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="tid"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="value"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="lvalue"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></DefinedValue></DefinedValues><Object Table="[XML Reader]"/><ParameterList><ScalarOperator ScalarString="[@xml]"><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator ScalarString="(0)"><Const ConstValue="(0)"/></ScalarOperator><ScalarOperator ScalarString="NULL"><Const ConstValue="NULL"/></ScalarOperator><ScalarOperator ScalarString="NULL"><Const ConstValue="NULL"/></ScalarOperator></ParameterList></TableValuedFunction></RelOp></Spool></RelOp></NestedLoops></RelOp></Extension></RelOp></StreamAggregate></RelOp></NestedLoops></RelOp>
<RelOp NodeId="1231" PhysicalOp="Stream Aggregate" LogicalOp="Aggregate" EstimateRows="1" EstimateIO="0" EstimateCPU="0.0004325" AvgRowSize="21" EstimatedTotalSubtreeCost="53.3856" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Column="Expr1598"/></OutputList><StreamAggregate><DefinedValues><DefinedValue><ColumnReference Column="Expr1598"/><ScalarOperator ScalarString="MIN(CASE WHEN [@xml] IS NULL THEN NULL ELSE CASE WHEN datalength([Expr1595])&gt;=(128) THEN CONVERT_IMPLICIT(varchar(20),[Expr1596],0) ELSE CONVERT_IMPLICIT(varchar(20),[Expr1595],0) END END)"><Aggregate Distinct="0" AggType="MIN"><ScalarOperator><IF><Condition><ScalarOperator><Compare CompareOp="IS"><ScalarOperator><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="NULL"/></ScalarOperator></Compare></ScalarOperator></Condition><Then><ScalarOperator><Const ConstValue="NULL"/></ScalarOperator></Then><Else><ScalarOperator><IF><Condition><ScalarOperator><Compare CompareOp="GE"><ScalarOperator><Intrinsic FunctionName="datalength"><ScalarOperator><Identifier><ColumnReference Column="Expr1595"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator><ScalarOperator><Const ConstValue="(128)"/></ScalarOperator></Compare></ScalarOperator></Condition><Then><ScalarOperator><Convert DataType="varchar" Length="20" Style="0" Implicit="1"><ScalarOperator><Identifier><ColumnReference Column="Expr1596"/></Identifier></ScalarOperator></Convert></ScalarOperator></Then><Else><ScalarOperator><Convert DataType="varchar" Length="20" Style="0" Implicit="1"><ScalarOperator><Identifier><ColumnReference Column="Expr1595"/></Identifier></ScalarOperator></Convert></ScalarOperator></Else></IF></ScalarOperator></Else></IF></ScalarOperator></Aggregate></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="1232" PhysicalOp="UDX" LogicalOp="UDX" EstimateRows="720" EstimateIO="0" EstimateCPU="0.00072" AvgRowSize="8045" EstimatedTotalSubtreeCost="53.2991" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Column="Expr1595"/><ColumnReference Column="Expr1596"/></OutputList><Extension UDXName="XQUERY DATA"><DefinedValues><DefinedValue><ColumnReference Column="Expr1593"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1594"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1595"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1596"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1597"/></DefinedValue></DefinedValues><UsedUDXColumns><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/><ColumnReference Column="Expr1589"/><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Table="[XML Reader]" Column="id"/></UsedUDXColumns>
<RelOp NodeId="1233" PhysicalOp="Nested Loops" LogicalOp="Inner Join" EstimateRows="900" EstimateIO="0" EstimateCPU="0.0418" AvgRowSize="8559" EstimatedTotalSubtreeCost="53.1551" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1589"/><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><NestedLoops Optimized="0"><Predicate><ScalarOperator ScalarString="XML Reader with XPath filter.[id]&lt;=XML Reader.[id] AND [Expr1831]&gt;XML Reader.[id]"><Logical Operation="AND"><ScalarOperator><Compare CompareOp="LE"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Identifier><ColumnReference Table="[XML Reader]" Column="id"/></Identifier></ScalarOperator></Compare></ScalarOperator><ScalarOperator><Compare CompareOp="GT"><ScalarOperator><Identifier><ColumnReference Column="Expr1831"/></Identifier></ScalarOperator><ScalarOperator><Identifier><ColumnReference Table="[XML Reader]" Column="id"/></Identifier></ScalarOperator></Compare></ScalarOperator></Logical></ScalarOperator></Predicate>
<RelOp NodeId="1234" PhysicalOp="Top" LogicalOp="Top" EstimateRows="1" EstimateIO="0" EstimateCPU="1e-007" AvgRowSize="921" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1589"/><ColumnReference Column="Expr1831"/></OutputList><Top RowCount="0" IsPercent="0" WithTies="0"><TopExpression><ScalarOperator ScalarString="(1)"><Const ConstValue="(1)"/></ScalarOperator></TopExpression>
<RelOp NodeId="1235" PhysicalOp="Compute Scalar" LogicalOp="Compute Scalar" EstimateRows="1" EstimateIO="0" EstimateCPU="4.78647e-007" AvgRowSize="921" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1589"/><ColumnReference Column="Expr1831"/></OutputList><ComputeScalar><DefinedValues><DefinedValue><ColumnReference Column="Expr1589"/><ScalarOperator ScalarString="0x58"><Const ConstValue="0x58"/></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="1236" PhysicalOp="Filter" LogicalOp="Filter" EstimateRows="1" EstimateIO="0" EstimateCPU="1.224e-005" AvgRowSize="469" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1831"/></OutputList><Filter StartupExpression="0">
<RelOp NodeId="1237" PhysicalOp="Compute Scalar" LogicalOp="Compute Scalar" EstimateRows="3.7606" EstimateIO="0" EstimateCPU="1.8e-006" AvgRowSize="469" EstimatedTotalSubtreeCost="41.7996" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1831"/></OutputList><ComputeScalar><DefinedValues><DefinedValue><ColumnReference Column="Expr1831"/><ScalarOperator ScalarString="getdescendantlimit(XML Reader with XPath filter.[id])"><Intrinsic FunctionName="getdescendantlimit"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="1238" PhysicalOp="Table-valued function" LogicalOp="Table-valued function" EstimateRows="3.7606" EstimateIO="0" EstimateCPU="1.00036" AvgRowSize="17" EstimatedTotalSubtreeCost="41.7995" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></OutputList><TableValuedFunction><DefinedValues><DefinedValue><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></DefinedValue></DefinedValues><Object Table="[XML Reader with XPath filter]"/><ParameterList><ScalarOperator ScalarString="[@xml]"><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator ScalarString="(7)"><Const ConstValue="(7)"/></ScalarOperator><ScalarOperator ScalarString="XML Reader with XPath filter.[id]"><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator ScalarString="getdescendantlimit(XML Reader with XPath filter.[id])"><Intrinsic FunctionName="getdescendantlimit"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator></ParameterList></TableValuedFunction></RelOp></ComputeScalar></RelOp><Predicate><ScalarOperator ScalarString="XML Reader with XPath filter.[id]=getancestor(XML Reader with XPath filter.[id],(1))"><Compare CompareOp="EQ"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Intrinsic FunctionName="getancestor"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="(1)"/></ScalarOperator></Intrinsic></ScalarOperator></Compare></ScalarOperator></Predicate></Filter></RelOp></ComputeScalar></RelOp></Top></RelOp>
<RelOp NodeId="1251" PhysicalOp="Table Spool" LogicalOp="Eager Spool" EstimateRows="10000" EstimateIO="0.013125" EstimateCPU="0.0037006" AvgRowSize="8099" EstimatedTotalSubtreeCost="1.59493" Parallel="0" EstimateRebinds="0" EstimateRewinds="199"><OutputList><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><Spool>
<RelOp NodeId="1252" PhysicalOp="Table-valued function" LogicalOp="Table-valued function" EstimateRows="10000" EstimateIO="0" EstimateCPU="1.2" AvgRowSize="8099" EstimatedTotalSubtreeCost="1.2" Parallel="0" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><TableValuedFunction><DefinedValues><DefinedValue><ColumnReference Table="[XML Reader]" Column="id"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="nid"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="tid"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="value"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="lvalue"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></DefinedValue></DefinedValues><Object Table="[XML Reader]"/><ParameterList><ScalarOperator ScalarString="[@xml]"><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator ScalarString="(0)"><Const ConstValue="(0)"/></ScalarOperator><ScalarOperator ScalarString="NULL"><Const ConstValue="NULL"/></ScalarOperator><ScalarOperator ScalarString="NULL"><Const ConstValue="NULL"/></ScalarOperator></ParameterList></TableValuedFunction></RelOp></Spool></RelOp></NestedLoops></RelOp></Extension></RelOp></StreamAggregate></RelOp></NestedLoops></RelOp>
<RelOp NodeId="1261" PhysicalOp="Stream Aggregate" LogicalOp="Aggregate" EstimateRows="1" EstimateIO="0" EstimateCPU="0.0004325" AvgRowSize="12" EstimatedTotalSubtreeCost="53.3856" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Column="Expr1613"/></OutputList><StreamAggregate><DefinedValues><DefinedValue><ColumnReference Column="Expr1613"/><ScalarOperator ScalarString="MIN(CASE WHEN [@xml] IS NULL THEN NULL ELSE CASE WHEN datalength([Expr1610])&gt;=(128) THEN CONVERT_IMPLICIT(varchar(3),[Expr1611],0) ELSE CONVERT_IMPLICIT(varchar(3),[Expr1610],0) END END)"><Aggregate Distinct="0" AggType="MIN"><ScalarOperator><IF><Condition><ScalarOperator><Compare CompareOp="IS"><ScalarOperator><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="NULL"/></ScalarOperator></Compare></ScalarOperator></Condition><Then><ScalarOperator><Const ConstValue="NULL"/></ScalarOperator></Then><Else><ScalarOperator><IF><Condition><ScalarOperator><Compare CompareOp="GE"><ScalarOperator><Intrinsic FunctionName="datalength"><ScalarOperator><Identifier><ColumnReference Column="Expr1610"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator><ScalarOperator><Const ConstValue="(128)"/></ScalarOperator></Compare></ScalarOperator></Condition><Then><ScalarOperator><Convert DataType="varchar" Length="3" Style="0" Implicit="1"><ScalarOperator><Identifier><ColumnReference Column="Expr1611"/></Identifier></ScalarOperator></Convert></ScalarOperator></Then><Else><ScalarOperator><Convert DataType="varchar" Length="3" Style="0" Implicit="1"><ScalarOperator><Identifier><ColumnReference Column="Expr1610"/></Identifier></ScalarOperator></Convert></ScalarOperator></Else></IF></ScalarOperator></Else></IF></ScalarOperator></Aggregate></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="1262" PhysicalOp="UDX" LogicalOp="UDX" EstimateRows="720" EstimateIO="0" EstimateCPU="0.00072" AvgRowSize="8045" EstimatedTotalSubtreeCost="53.2991" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Column="Expr1610"/><ColumnReference Column="Expr1611"/></OutputList><Extension UDXName="XQUERY DATA"><DefinedValues><DefinedValue><ColumnReference Column="Expr1608"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1609"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1610"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1611"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1612"/></DefinedValue></DefinedValues><UsedUDXColumns><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/><ColumnReference Column="Expr1604"/><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Table="[XML Reader]" Column="id"/></UsedUDXColumns>
<RelOp NodeId="1263" PhysicalOp="Nested Loops" LogicalOp="Inner Join" EstimateRows="900" EstimateIO="0" EstimateCPU="0.0418" AvgRowSize="8559" EstimatedTotalSubtreeCost="53.1551" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1604"/><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><NestedLoops Optimized="0"><Predicate><ScalarOperator ScalarString="XML Reader with XPath filter.[id]&lt;=XML Reader.[id] AND [Expr1833]&gt;XML Reader.[id]"><Logical Operation="AND"><ScalarOperator><Compare CompareOp="LE"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Identifier><ColumnReference Table="[XML Reader]" Column="id"/></Identifier></ScalarOperator></Compare></ScalarOperator><ScalarOperator><Compare CompareOp="GT"><ScalarOperator><Identifier><ColumnReference Column="Expr1833"/></Identifier></ScalarOperator><ScalarOperator><Identifier><ColumnReference Table="[XML Reader]" Column="id"/></Identifier></ScalarOperator></Compare></ScalarOperator></Logical></ScalarOperator></Predicate>
<RelOp NodeId="1264" PhysicalOp="Top" LogicalOp="Top" EstimateRows="1" EstimateIO="0" EstimateCPU="1e-007" AvgRowSize="921" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1604"/><ColumnReference Column="Expr1833"/></OutputList><Top RowCount="0" IsPercent="0" WithTies="0"><TopExpression><ScalarOperator ScalarString="(1)"><Const ConstValue="(1)"/></ScalarOperator></TopExpression>
<RelOp NodeId="1265" PhysicalOp="Compute Scalar" LogicalOp="Compute Scalar" EstimateRows="1" EstimateIO="0" EstimateCPU="4.78647e-007" AvgRowSize="921" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1604"/><ColumnReference Column="Expr1833"/></OutputList><ComputeScalar><DefinedValues><DefinedValue><ColumnReference Column="Expr1604"/><ScalarOperator ScalarString="0x58"><Const ConstValue="0x58"/></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="1266" PhysicalOp="Filter" LogicalOp="Filter" EstimateRows="1" EstimateIO="0" EstimateCPU="1.224e-005" AvgRowSize="469" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1833"/></OutputList><Filter StartupExpression="0">
<RelOp NodeId="1267" PhysicalOp="Compute Scalar" LogicalOp="Compute Scalar" EstimateRows="3.7606" EstimateIO="0" EstimateCPU="1.8e-006" AvgRowSize="469" EstimatedTotalSubtreeCost="41.7996" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1833"/></OutputList><ComputeScalar><DefinedValues><DefinedValue><ColumnReference Column="Expr1833"/><ScalarOperator ScalarString="getdescendantlimit(XML Reader with XPath filter.[id])"><Intrinsic FunctionName="getdescendantlimit"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="1268" PhysicalOp="Table-valued function" LogicalOp="Table-valued function" EstimateRows="3.7606" EstimateIO="0" EstimateCPU="1.00036" AvgRowSize="17" EstimatedTotalSubtreeCost="41.7995" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></OutputList><TableValuedFunction><DefinedValues><DefinedValue><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></DefinedValue></DefinedValues><Object Table="[XML Reader with XPath filter]"/><ParameterList><ScalarOperator ScalarString="[@xml]"><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator ScalarString="(7)"><Const ConstValue="(7)"/></ScalarOperator><ScalarOperator ScalarString="XML Reader with XPath filter.[id]"><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator ScalarString="getdescendantlimit(XML Reader with XPath filter.[id])"><Intrinsic FunctionName="getdescendantlimit"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator></ParameterList></TableValuedFunction></RelOp></ComputeScalar></RelOp><Predicate><ScalarOperator ScalarString="XML Reader with XPath filter.[id]=getancestor(XML Reader with XPath filter.[id],(1))"><Compare CompareOp="EQ"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Intrinsic FunctionName="getancestor"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="(1)"/></ScalarOperator></Intrinsic></ScalarOperator></Compare></ScalarOperator></Predicate></Filter></RelOp></ComputeScalar></RelOp></Top></RelOp>
<RelOp NodeId="1281" PhysicalOp="Table Spool" LogicalOp="Eager Spool" EstimateRows="10000" EstimateIO="0.013125" EstimateCPU="0.0037006" AvgRowSize="8099" EstimatedTotalSubtreeCost="1.59493" Parallel="0" EstimateRebinds="0" EstimateRewinds="199"><OutputList><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><Spool>
<RelOp NodeId="1282" PhysicalOp="Table-valued function" LogicalOp="Table-valued function" EstimateRows="10000" EstimateIO="0" EstimateCPU="1.2" AvgRowSize="8099" EstimatedTotalSubtreeCost="1.2" Parallel="0" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><TableValuedFunction><DefinedValues><DefinedValue><ColumnReference Table="[XML Reader]" Column="id"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="nid"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="tid"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="value"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="lvalue"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></DefinedValue></DefinedValues><Object Table="[XML Reader]"/><ParameterList><ScalarOperator ScalarString="[@xml]"><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator ScalarString="(0)"><Const ConstValue="(0)"/></ScalarOperator><ScalarOperator ScalarString="NULL"><Const ConstValue="NULL"/></ScalarOperator><ScalarOperator ScalarString="NULL"><Const ConstValue="NULL"/></ScalarOperator></ParameterList></TableValuedFunction></RelOp></Spool></RelOp></NestedLoops></RelOp></Extension></RelOp></StreamAggregate></RelOp></NestedLoops></RelOp>
<RelOp NodeId="1291" PhysicalOp="Stream Aggregate" LogicalOp="Aggregate" EstimateRows="1" EstimateIO="0" EstimateCPU="0.0004325" AvgRowSize="21" EstimatedTotalSubtreeCost="53.3856" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Column="Expr1628"/></OutputList><StreamAggregate><DefinedValues><DefinedValue><ColumnReference Column="Expr1628"/><ScalarOperator ScalarString="MIN(CASE WHEN [@xml] IS NULL THEN NULL ELSE CASE WHEN datalength([Expr1625])&gt;=(128) THEN CONVERT_IMPLICIT(varchar(20),[Expr1626],0) ELSE CONVERT_IMPLICIT(varchar(20),[Expr1625],0) END END)"><Aggregate Distinct="0" AggType="MIN"><ScalarOperator><IF><Condition><ScalarOperator><Compare CompareOp="IS"><ScalarOperator><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="NULL"/></ScalarOperator></Compare></ScalarOperator></Condition><Then><ScalarOperator><Const ConstValue="NULL"/></ScalarOperator></Then><Else><ScalarOperator><IF><Condition><ScalarOperator><Compare CompareOp="GE"><ScalarOperator><Intrinsic FunctionName="datalength"><ScalarOperator><Identifier><ColumnReference Column="Expr1625"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator><ScalarOperator><Const ConstValue="(128)"/></ScalarOperator></Compare></ScalarOperator></Condition><Then><ScalarOperator><Convert DataType="varchar" Length="20" Style="0" Implicit="1"><ScalarOperator><Identifier><ColumnReference Column="Expr1626"/></Identifier></ScalarOperator></Convert></ScalarOperator></Then><Else><ScalarOperator><Convert DataType="varchar" Length="20" Style="0" Implicit="1"><ScalarOperator><Identifier><ColumnReference Column="Expr1625"/></Identifier></ScalarOperator></Convert></ScalarOperator></Else></IF></ScalarOperator></Else></IF></ScalarOperator></Aggregate></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="1292" PhysicalOp="UDX" LogicalOp="UDX" EstimateRows="720" EstimateIO="0" EstimateCPU="0.00072" AvgRowSize="8045" EstimatedTotalSubtreeCost="53.2991" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Column="Expr1625"/><ColumnReference Column="Expr1626"/></OutputList><Extension UDXName="XQUERY DATA"><DefinedValues><DefinedValue><ColumnReference Column="Expr1623"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1624"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1625"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1626"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1627"/></DefinedValue></DefinedValues><UsedUDXColumns><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/><ColumnReference Column="Expr1619"/><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Table="[XML Reader]" Column="id"/></UsedUDXColumns>
<RelOp NodeId="1293" PhysicalOp="Nested Loops" LogicalOp="Inner Join" EstimateRows="900" EstimateIO="0" EstimateCPU="0.0418" AvgRowSize="8559" EstimatedTotalSubtreeCost="53.1551" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1619"/><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><NestedLoops Optimized="0"><Predicate><ScalarOperator ScalarString="XML Reader with XPath filter.[id]&lt;=XML Reader.[id] AND [Expr1835]&gt;XML Reader.[id]"><Logical Operation="AND"><ScalarOperator><Compare CompareOp="LE"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Identifier><ColumnReference Table="[XML Reader]" Column="id"/></Identifier></ScalarOperator></Compare></ScalarOperator><ScalarOperator><Compare CompareOp="GT"><ScalarOperator><Identifier><ColumnReference Column="Expr1835"/></Identifier></ScalarOperator><ScalarOperator><Identifier><ColumnReference Table="[XML Reader]" Column="id"/></Identifier></ScalarOperator></Compare></ScalarOperator></Logical></ScalarOperator></Predicate>
<RelOp NodeId="1294" PhysicalOp="Top" LogicalOp="Top" EstimateRows="1" EstimateIO="0" EstimateCPU="1e-007" AvgRowSize="921" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1619"/><ColumnReference Column="Expr1835"/></OutputList><Top RowCount="0" IsPercent="0" WithTies="0"><TopExpression><ScalarOperator ScalarString="(1)"><Const ConstValue="(1)"/></ScalarOperator></TopExpression>
<RelOp NodeId="1295" PhysicalOp="Compute Scalar" LogicalOp="Compute Scalar" EstimateRows="1" EstimateIO="0" EstimateCPU="4.78647e-007" AvgRowSize="921" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1619"/><ColumnReference Column="Expr1835"/></OutputList><ComputeScalar><DefinedValues><DefinedValue><ColumnReference Column="Expr1619"/><ScalarOperator ScalarString="0x58"><Const ConstValue="0x58"/></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="1296" PhysicalOp="Filter" LogicalOp="Filter" EstimateRows="1" EstimateIO="0" EstimateCPU="1.224e-005" AvgRowSize="469" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1835"/></OutputList><Filter StartupExpression="0">
<RelOp NodeId="1297" PhysicalOp="Compute Scalar" LogicalOp="Compute Scalar" EstimateRows="3.7606" EstimateIO="0" EstimateCPU="1.8e-006" AvgRowSize="469" EstimatedTotalSubtreeCost="41.7996" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1835"/></OutputList><ComputeScalar><DefinedValues><DefinedValue><ColumnReference Column="Expr1835"/><ScalarOperator ScalarString="getdescendantlimit(XML Reader with XPath filter.[id])"><Intrinsic FunctionName="getdescendantlimit"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="1298" PhysicalOp="Table-valued function" LogicalOp="Table-valued function" EstimateRows="3.7606" EstimateIO="0" EstimateCPU="1.00036" AvgRowSize="17" EstimatedTotalSubtreeCost="41.7995" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></OutputList><TableValuedFunction><DefinedValues><DefinedValue><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></DefinedValue></DefinedValues><Object Table="[XML Reader with XPath filter]"/><ParameterList><ScalarOperator ScalarString="[@xml]"><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator ScalarString="(7)"><Const ConstValue="(7)"/></ScalarOperator><ScalarOperator ScalarString="XML Reader with XPath filter.[id]"><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator ScalarString="getdescendantlimit(XML Reader with XPath filter.[id])"><Intrinsic FunctionName="getdescendantlimit"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator></ParameterList></TableValuedFunction></RelOp></ComputeScalar></RelOp><Predicate><ScalarOperator ScalarString="XML Reader with XPath filter.[id]=getancestor(XML Reader with XPath filter.[id],(1))"><Compare CompareOp="EQ"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Intrinsic FunctionName="getancestor"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="(1)"/></ScalarOperator></Intrinsic></ScalarOperator></Compare></ScalarOperator></Predicate></Filter></RelOp></ComputeScalar></RelOp></Top></RelOp>
<RelOp NodeId="1311" PhysicalOp="Table Spool" LogicalOp="Eager Spool" EstimateRows="10000" EstimateIO="0.013125" EstimateCPU="0.0037006" AvgRowSize="8099" EstimatedTotalSubtreeCost="1.59493" Parallel="0" EstimateRebinds="0" EstimateRewinds="199"><OutputList><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><Spool>
<RelOp NodeId="1312" PhysicalOp="Table-valued function" LogicalOp="Table-valued function" EstimateRows="10000" EstimateIO="0" EstimateCPU="1.2" AvgRowSize="8099" EstimatedTotalSubtreeCost="1.2" Parallel="0" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><TableValuedFunction><DefinedValues><DefinedValue><ColumnReference Table="[XML Reader]" Column="id"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="nid"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="tid"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="value"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="lvalue"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></DefinedValue></DefinedValues><Object Table="[XML Reader]"/><ParameterList><ScalarOperator ScalarString="[@xml]"><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator ScalarString="(0)"><Const ConstValue="(0)"/></ScalarOperator><ScalarOperator ScalarString="NULL"><Const ConstValue="NULL"/></ScalarOperator><ScalarOperator ScalarString="NULL"><Const ConstValue="NULL"/></ScalarOperator></ParameterList></TableValuedFunction></RelOp></Spool></RelOp></NestedLoops></RelOp></Extension></RelOp></StreamAggregate></RelOp></NestedLoops></RelOp>
<RelOp NodeId="1321" PhysicalOp="Stream Aggregate" LogicalOp="Aggregate" EstimateRows="1" EstimateIO="0" EstimateCPU="0.0004325" AvgRowSize="21" EstimatedTotalSubtreeCost="53.3856" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Column="Expr1642"/></OutputList><StreamAggregate><DefinedValues><DefinedValue><ColumnReference Column="Expr1642"/><ScalarOperator ScalarString="MIN(CASE WHEN [@xml] IS NULL THEN NULL ELSE CASE WHEN datalength([Expr1639])&gt;=(128) THEN CONVERT_IMPLICIT(varchar(20),[Expr1640],0) ELSE CONVERT_IMPLICIT(varchar(20),[Expr1639],0) END END)"><Aggregate Distinct="0" AggType="MIN"><ScalarOperator><IF><Condition><ScalarOperator><Compare CompareOp="IS"><ScalarOperator><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="NULL"/></ScalarOperator></Compare></ScalarOperator></Condition><Then><ScalarOperator><Const ConstValue="NULL"/></ScalarOperator></Then><Else><ScalarOperator><IF><Condition><ScalarOperator><Compare CompareOp="GE"><ScalarOperator><Intrinsic FunctionName="datalength"><ScalarOperator><Identifier><ColumnReference Column="Expr1639"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator><ScalarOperator><Const ConstValue="(128)"/></ScalarOperator></Compare></ScalarOperator></Condition><Then><ScalarOperator><Convert DataType="varchar" Length="20" Style="0" Implicit="1"><ScalarOperator><Identifier><ColumnReference Column="Expr1640"/></Identifier></ScalarOperator></Convert></ScalarOperator></Then><Else><ScalarOperator><Convert DataType="varchar" Length="20" Style="0" Implicit="1"><ScalarOperator><Identifier><ColumnReference Column="Expr1639"/></Identifier></ScalarOperator></Convert></ScalarOperator></Else></IF></ScalarOperator></Else></IF></ScalarOperator></Aggregate></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="1322" PhysicalOp="UDX" LogicalOp="UDX" EstimateRows="720" EstimateIO="0" EstimateCPU="0.00072" AvgRowSize="8045" EstimatedTotalSubtreeCost="53.2991" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Column="Expr1639"/><ColumnReference Column="Expr1640"/></OutputList><Extension UDXName="XQUERY DATA"><DefinedValues><DefinedValue><ColumnReference Column="Expr1637"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1638"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1639"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1640"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1641"/></DefinedValue></DefinedValues><UsedUDXColumns><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/><ColumnReference Column="Expr1633"/><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Table="[XML Reader]" Column="id"/></UsedUDXColumns>
<RelOp NodeId="1323" PhysicalOp="Nested Loops" LogicalOp="Inner Join" EstimateRows="900" EstimateIO="0" EstimateCPU="0.0418" AvgRowSize="8559" EstimatedTotalSubtreeCost="53.1551" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1633"/><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><NestedLoops Optimized="0"><Predicate><ScalarOperator ScalarString="XML Reader with XPath filter.[id]&lt;=XML Reader.[id] AND [Expr1837]&gt;XML Reader.[id]"><Logical Operation="AND"><ScalarOperator><Compare CompareOp="LE"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Identifier><ColumnReference Table="[XML Reader]" Column="id"/></Identifier></ScalarOperator></Compare></ScalarOperator><ScalarOperator><Compare CompareOp="GT"><ScalarOperator><Identifier><ColumnReference Column="Expr1837"/></Identifier></ScalarOperator><ScalarOperator><Identifier><ColumnReference Table="[XML Reader]" Column="id"/></Identifier></ScalarOperator></Compare></ScalarOperator></Logical></ScalarOperator></Predicate>
<RelOp NodeId="1324" PhysicalOp="Top" LogicalOp="Top" EstimateRows="1" EstimateIO="0" EstimateCPU="1e-007" AvgRowSize="921" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1633"/><ColumnReference Column="Expr1837"/></OutputList><Top RowCount="0" IsPercent="0" WithTies="0"><TopExpression><ScalarOperator ScalarString="(1)"><Const ConstValue="(1)"/></ScalarOperator></TopExpression>
<RelOp NodeId="1325" PhysicalOp="Compute Scalar" LogicalOp="Compute Scalar" EstimateRows="1" EstimateIO="0" EstimateCPU="4.78647e-007" AvgRowSize="921" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1633"/><ColumnReference Column="Expr1837"/></OutputList><ComputeScalar><DefinedValues><DefinedValue><ColumnReference Column="Expr1633"/><ScalarOperator ScalarString="0x58"><Const ConstValue="0x58"/></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="1326" PhysicalOp="Filter" LogicalOp="Filter" EstimateRows="1" EstimateIO="0" EstimateCPU="1.224e-005" AvgRowSize="469" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1837"/></OutputList><Filter StartupExpression="0">
<RelOp NodeId="1327" PhysicalOp="Compute Scalar" LogicalOp="Compute Scalar" EstimateRows="3.7606" EstimateIO="0" EstimateCPU="1.8e-006" AvgRowSize="469" EstimatedTotalSubtreeCost="41.7996" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1837"/></OutputList><ComputeScalar><DefinedValues><DefinedValue><ColumnReference Column="Expr1837"/><ScalarOperator ScalarString="getdescendantlimit(XML Reader with XPath filter.[id])"><Intrinsic FunctionName="getdescendantlimit"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="1328" PhysicalOp="Table-valued function" LogicalOp="Table-valued function" EstimateRows="3.7606" EstimateIO="0" EstimateCPU="1.00036" AvgRowSize="17" EstimatedTotalSubtreeCost="41.7995" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></OutputList><TableValuedFunction><DefinedValues><DefinedValue><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></DefinedValue></DefinedValues><Object Table="[XML Reader with XPath filter]"/><ParameterList><ScalarOperator ScalarString="[@xml]"><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator ScalarString="(7)"><Const ConstValue="(7)"/></ScalarOperator><ScalarOperator ScalarString="XML Reader with XPath filter.[id]"><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator ScalarString="getdescendantlimit(XML Reader with XPath filter.[id])"><Intrinsic FunctionName="getdescendantlimit"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator></ParameterList></TableValuedFunction></RelOp></ComputeScalar></RelOp><Predicate><ScalarOperator ScalarString="XML Reader with XPath filter.[id]=getancestor(XML Reader with XPath filter.[id],(1))"><Compare CompareOp="EQ"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Intrinsic FunctionName="getancestor"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="(1)"/></ScalarOperator></Intrinsic></ScalarOperator></Compare></ScalarOperator></Predicate></Filter></RelOp></ComputeScalar></RelOp></Top></RelOp>
<RelOp NodeId="1341" PhysicalOp="Table Spool" LogicalOp="Eager Spool" EstimateRows="10000" EstimateIO="0.013125" EstimateCPU="0.0037006" AvgRowSize="8099" EstimatedTotalSubtreeCost="1.59493" Parallel="0" EstimateRebinds="0" EstimateRewinds="199"><OutputList><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><Spool>
<RelOp NodeId="1342" PhysicalOp="Table-valued function" LogicalOp="Table-valued function" EstimateRows="10000" EstimateIO="0" EstimateCPU="1.2" AvgRowSize="8099" EstimatedTotalSubtreeCost="1.2" Parallel="0" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><TableValuedFunction><DefinedValues><DefinedValue><ColumnReference Table="[XML Reader]" Column="id"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="nid"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="tid"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="value"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="lvalue"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></DefinedValue></DefinedValues><Object Table="[XML Reader]"/><ParameterList><ScalarOperator ScalarString="[@xml]"><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator ScalarString="(0)"><Const ConstValue="(0)"/></ScalarOperator><ScalarOperator ScalarString="NULL"><Const ConstValue="NULL"/></ScalarOperator><ScalarOperator ScalarString="NULL"><Const ConstValue="NULL"/></ScalarOperator></ParameterList></TableValuedFunction></RelOp></Spool></RelOp></NestedLoops></RelOp></Extension></RelOp></StreamAggregate></RelOp></NestedLoops></RelOp>
<RelOp NodeId="1351" PhysicalOp="Stream Aggregate" LogicalOp="Aggregate" EstimateRows="1" EstimateIO="0" EstimateCPU="0.0004325" AvgRowSize="12" EstimatedTotalSubtreeCost="53.3856" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Column="Expr1657"/></OutputList><StreamAggregate><DefinedValues><DefinedValue><ColumnReference Column="Expr1657"/><ScalarOperator ScalarString="MIN(CASE WHEN [@xml] IS NULL THEN NULL ELSE CASE WHEN datalength([Expr1654])&gt;=(128) THEN CONVERT_IMPLICIT(varchar(3),[Expr1655],0) ELSE CONVERT_IMPLICIT(varchar(3),[Expr1654],0) END END)"><Aggregate Distinct="0" AggType="MIN"><ScalarOperator><IF><Condition><ScalarOperator><Compare CompareOp="IS"><ScalarOperator><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="NULL"/></ScalarOperator></Compare></ScalarOperator></Condition><Then><ScalarOperator><Const ConstValue="NULL"/></ScalarOperator></Then><Else><ScalarOperator><IF><Condition><ScalarOperator><Compare CompareOp="GE"><ScalarOperator><Intrinsic FunctionName="datalength"><ScalarOperator><Identifier><ColumnReference Column="Expr1654"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator><ScalarOperator><Const ConstValue="(128)"/></ScalarOperator></Compare></ScalarOperator></Condition><Then><ScalarOperator><Convert DataType="varchar" Length="3" Style="0" Implicit="1"><ScalarOperator><Identifier><ColumnReference Column="Expr1655"/></Identifier></ScalarOperator></Convert></ScalarOperator></Then><Else><ScalarOperator><Convert DataType="varchar" Length="3" Style="0" Implicit="1"><ScalarOperator><Identifier><ColumnReference Column="Expr1654"/></Identifier></ScalarOperator></Convert></ScalarOperator></Else></IF></ScalarOperator></Else></IF></ScalarOperator></Aggregate></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="1352" PhysicalOp="UDX" LogicalOp="UDX" EstimateRows="720" EstimateIO="0" EstimateCPU="0.00072" AvgRowSize="8045" EstimatedTotalSubtreeCost="53.2991" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Column="Expr1654"/><ColumnReference Column="Expr1655"/></OutputList><Extension UDXName="XQUERY DATA"><DefinedValues><DefinedValue><ColumnReference Column="Expr1652"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1653"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1654"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1655"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1656"/></DefinedValue></DefinedValues><UsedUDXColumns><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/><ColumnReference Column="Expr1648"/><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Table="[XML Reader]" Column="id"/></UsedUDXColumns>
<RelOp NodeId="1353" PhysicalOp="Nested Loops" LogicalOp="Inner Join" EstimateRows="900" EstimateIO="0" EstimateCPU="0.0418" AvgRowSize="8559" EstimatedTotalSubtreeCost="53.1551" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1648"/><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><NestedLoops Optimized="0"><Predicate><ScalarOperator ScalarString="XML Reader with XPath filter.[id]&lt;=XML Reader.[id] AND [Expr1839]&gt;XML Reader.[id]"><Logical Operation="AND"><ScalarOperator><Compare CompareOp="LE"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Identifier><ColumnReference Table="[XML Reader]" Column="id"/></Identifier></ScalarOperator></Compare></ScalarOperator><ScalarOperator><Compare CompareOp="GT"><ScalarOperator><Identifier><ColumnReference Column="Expr1839"/></Identifier></ScalarOperator><ScalarOperator><Identifier><ColumnReference Table="[XML Reader]" Column="id"/></Identifier></ScalarOperator></Compare></ScalarOperator></Logical></ScalarOperator></Predicate>
<RelOp NodeId="1354" PhysicalOp="Top" LogicalOp="Top" EstimateRows="1" EstimateIO="0" EstimateCPU="1e-007" AvgRowSize="921" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1648"/><ColumnReference Column="Expr1839"/></OutputList><Top RowCount="0" IsPercent="0" WithTies="0"><TopExpression><ScalarOperator ScalarString="(1)"><Const ConstValue="(1)"/></ScalarOperator></TopExpression>
<RelOp NodeId="1355" PhysicalOp="Compute Scalar" LogicalOp="Compute Scalar" EstimateRows="1" EstimateIO="0" EstimateCPU="4.78647e-007" AvgRowSize="921" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1648"/><ColumnReference Column="Expr1839"/></OutputList><ComputeScalar><DefinedValues><DefinedValue><ColumnReference Column="Expr1648"/><ScalarOperator ScalarString="0x58"><Const ConstValue="0x58"/></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="1356" PhysicalOp="Filter" LogicalOp="Filter" EstimateRows="1" EstimateIO="0" EstimateCPU="1.224e-005" AvgRowSize="469" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1839"/></OutputList><Filter StartupExpression="0">
<RelOp NodeId="1357" PhysicalOp="Compute Scalar" LogicalOp="Compute Scalar" EstimateRows="3.7606" EstimateIO="0" EstimateCPU="1.8e-006" AvgRowSize="469" EstimatedTotalSubtreeCost="41.7996" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1839"/></OutputList><ComputeScalar><DefinedValues><DefinedValue><ColumnReference Column="Expr1839"/><ScalarOperator ScalarString="getdescendantlimit(XML Reader with XPath filter.[id])"><Intrinsic FunctionName="getdescendantlimit"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="1358" PhysicalOp="Table-valued function" LogicalOp="Table-valued function" EstimateRows="3.7606" EstimateIO="0" EstimateCPU="1.00036" AvgRowSize="17" EstimatedTotalSubtreeCost="41.7995" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></OutputList><TableValuedFunction><DefinedValues><DefinedValue><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></DefinedValue></DefinedValues><Object Table="[XML Reader with XPath filter]"/><ParameterList><ScalarOperator ScalarString="[@xml]"><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator ScalarString="(7)"><Const ConstValue="(7)"/></ScalarOperator><ScalarOperator ScalarString="XML Reader with XPath filter.[id]"><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator ScalarString="getdescendantlimit(XML Reader with XPath filter.[id])"><Intrinsic FunctionName="getdescendantlimit"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator></ParameterList></TableValuedFunction></RelOp></ComputeScalar></RelOp><Predicate><ScalarOperator ScalarString="XML Reader with XPath filter.[id]=getancestor(XML Reader with XPath filter.[id],(1))"><Compare CompareOp="EQ"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Intrinsic FunctionName="getancestor"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="(1)"/></ScalarOperator></Intrinsic></ScalarOperator></Compare></ScalarOperator></Predicate></Filter></RelOp></ComputeScalar></RelOp></Top></RelOp>
<RelOp NodeId="1371" PhysicalOp="Table Spool" LogicalOp="Eager Spool" EstimateRows="10000" EstimateIO="0.013125" EstimateCPU="0.0037006" AvgRowSize="8099" EstimatedTotalSubtreeCost="1.59493" Parallel="0" EstimateRebinds="0" EstimateRewinds="199"><OutputList><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><Spool>
<RelOp NodeId="1372" PhysicalOp="Table-valued function" LogicalOp="Table-valued function" EstimateRows="10000" EstimateIO="0" EstimateCPU="1.2" AvgRowSize="8099" EstimatedTotalSubtreeCost="1.2" Parallel="0" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><TableValuedFunction><DefinedValues><DefinedValue><ColumnReference Table="[XML Reader]" Column="id"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="nid"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="tid"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="value"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="lvalue"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></DefinedValue></DefinedValues><Object Table="[XML Reader]"/><ParameterList><ScalarOperator ScalarString="[@xml]"><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator ScalarString="(0)"><Const ConstValue="(0)"/></ScalarOperator><ScalarOperator ScalarString="NULL"><Const ConstValue="NULL"/></ScalarOperator><ScalarOperator ScalarString="NULL"><Const ConstValue="NULL"/></ScalarOperator></ParameterList></TableValuedFunction></RelOp></Spool></RelOp></NestedLoops></RelOp></Extension></RelOp></StreamAggregate></RelOp></NestedLoops></RelOp>
<RelOp NodeId="1381" PhysicalOp="Stream Aggregate" LogicalOp="Aggregate" EstimateRows="1" EstimateIO="0" EstimateCPU="0.0004325" AvgRowSize="12" EstimatedTotalSubtreeCost="53.3856" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Column="Expr1672"/></OutputList><StreamAggregate><DefinedValues><DefinedValue><ColumnReference Column="Expr1672"/><ScalarOperator ScalarString="MIN(CASE WHEN [@xml] IS NULL THEN NULL ELSE CASE WHEN datalength([Expr1669])&gt;=(128) THEN CONVERT_IMPLICIT(varchar(2),[Expr1670],0) ELSE CONVERT_IMPLICIT(varchar(2),[Expr1669],0) END END)"><Aggregate Distinct="0" AggType="MIN"><ScalarOperator><IF><Condition><ScalarOperator><Compare CompareOp="IS"><ScalarOperator><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="NULL"/></ScalarOperator></Compare></ScalarOperator></Condition><Then><ScalarOperator><Const ConstValue="NULL"/></ScalarOperator></Then><Else><ScalarOperator><IF><Condition><ScalarOperator><Compare CompareOp="GE"><ScalarOperator><Intrinsic FunctionName="datalength"><ScalarOperator><Identifier><ColumnReference Column="Expr1669"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator><ScalarOperator><Const ConstValue="(128)"/></ScalarOperator></Compare></ScalarOperator></Condition><Then><ScalarOperator><Convert DataType="varchar" Length="2" Style="0" Implicit="1"><ScalarOperator><Identifier><ColumnReference Column="Expr1670"/></Identifier></ScalarOperator></Convert></ScalarOperator></Then><Else><ScalarOperator><Convert DataType="varchar" Length="2" Style="0" Implicit="1"><ScalarOperator><Identifier><ColumnReference Column="Expr1669"/></Identifier></ScalarOperator></Convert></ScalarOperator></Else></IF></ScalarOperator></Else></IF></ScalarOperator></Aggregate></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="1382" PhysicalOp="UDX" LogicalOp="UDX" EstimateRows="720" EstimateIO="0" EstimateCPU="0.00072" AvgRowSize="8045" EstimatedTotalSubtreeCost="53.2991" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Column="Expr1669"/><ColumnReference Column="Expr1670"/></OutputList><Extension UDXName="XQUERY DATA"><DefinedValues><DefinedValue><ColumnReference Column="Expr1667"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1668"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1669"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1670"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1671"/></DefinedValue></DefinedValues><UsedUDXColumns><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/><ColumnReference Column="Expr1663"/><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Table="[XML Reader]" Column="id"/></UsedUDXColumns>
<RelOp NodeId="1383" PhysicalOp="Nested Loops" LogicalOp="Inner Join" EstimateRows="900" EstimateIO="0" EstimateCPU="0.0418" AvgRowSize="8559" EstimatedTotalSubtreeCost="53.1551" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1663"/><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><NestedLoops Optimized="0"><Predicate><ScalarOperator ScalarString="XML Reader with XPath filter.[id]&lt;=XML Reader.[id] AND [Expr1841]&gt;XML Reader.[id]"><Logical Operation="AND"><ScalarOperator><Compare CompareOp="LE"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Identifier><ColumnReference Table="[XML Reader]" Column="id"/></Identifier></ScalarOperator></Compare></ScalarOperator><ScalarOperator><Compare CompareOp="GT"><ScalarOperator><Identifier><ColumnReference Column="Expr1841"/></Identifier></ScalarOperator><ScalarOperator><Identifier><ColumnReference Table="[XML Reader]" Column="id"/></Identifier></ScalarOperator></Compare></ScalarOperator></Logical></ScalarOperator></Predicate>
<RelOp NodeId="1384" PhysicalOp="Top" LogicalOp="Top" EstimateRows="1" EstimateIO="0" EstimateCPU="1e-007" AvgRowSize="921" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1663"/><ColumnReference Column="Expr1841"/></OutputList><Top RowCount="0" IsPercent="0" WithTies="0"><TopExpression><ScalarOperator ScalarString="(1)"><Const ConstValue="(1)"/></ScalarOperator></TopExpression>
<RelOp NodeId="1385" PhysicalOp="Compute Scalar" LogicalOp="Compute Scalar" EstimateRows="1" EstimateIO="0" EstimateCPU="4.78647e-007" AvgRowSize="921" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1663"/><ColumnReference Column="Expr1841"/></OutputList><ComputeScalar><DefinedValues><DefinedValue><ColumnReference Column="Expr1663"/><ScalarOperator ScalarString="0x58"><Const ConstValue="0x58"/></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="1386" PhysicalOp="Filter" LogicalOp="Filter" EstimateRows="1" EstimateIO="0" EstimateCPU="1.224e-005" AvgRowSize="469" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1841"/></OutputList><Filter StartupExpression="0">
<RelOp NodeId="1387" PhysicalOp="Compute Scalar" LogicalOp="Compute Scalar" EstimateRows="3.7606" EstimateIO="0" EstimateCPU="1.8e-006" AvgRowSize="469" EstimatedTotalSubtreeCost="41.7996" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1841"/></OutputList><ComputeScalar><DefinedValues><DefinedValue><ColumnReference Column="Expr1841"/><ScalarOperator ScalarString="getdescendantlimit(XML Reader with XPath filter.[id])"><Intrinsic FunctionName="getdescendantlimit"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="1388" PhysicalOp="Table-valued function" LogicalOp="Table-valued function" EstimateRows="3.7606" EstimateIO="0" EstimateCPU="1.00036" AvgRowSize="17" EstimatedTotalSubtreeCost="41.7995" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></OutputList><TableValuedFunction><DefinedValues><DefinedValue><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></DefinedValue></DefinedValues><Object Table="[XML Reader with XPath filter]"/><ParameterList><ScalarOperator ScalarString="[@xml]"><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator ScalarString="(7)"><Const ConstValue="(7)"/></ScalarOperator><ScalarOperator ScalarString="XML Reader with XPath filter.[id]"><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator ScalarString="getdescendantlimit(XML Reader with XPath filter.[id])"><Intrinsic FunctionName="getdescendantlimit"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator></ParameterList></TableValuedFunction></RelOp></ComputeScalar></RelOp><Predicate><ScalarOperator ScalarString="XML Reader with XPath filter.[id]=getancestor(XML Reader with XPath filter.[id],(1))"><Compare CompareOp="EQ"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Intrinsic FunctionName="getancestor"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="(1)"/></ScalarOperator></Intrinsic></ScalarOperator></Compare></ScalarOperator></Predicate></Filter></RelOp></ComputeScalar></RelOp></Top></RelOp>
<RelOp NodeId="1401" PhysicalOp="Table Spool" LogicalOp="Eager Spool" EstimateRows="10000" EstimateIO="0.013125" EstimateCPU="0.0037006" AvgRowSize="8099" EstimatedTotalSubtreeCost="1.59493" Parallel="0" EstimateRebinds="0" EstimateRewinds="199"><OutputList><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><Spool>
<RelOp NodeId="1402" PhysicalOp="Table-valued function" LogicalOp="Table-valued function" EstimateRows="10000" EstimateIO="0" EstimateCPU="1.2" AvgRowSize="8099" EstimatedTotalSubtreeCost="1.2" Parallel="0" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><TableValuedFunction><DefinedValues><DefinedValue><ColumnReference Table="[XML Reader]" Column="id"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="nid"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="tid"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="value"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="lvalue"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></DefinedValue></DefinedValues><Object Table="[XML Reader]"/><ParameterList><ScalarOperator ScalarString="[@xml]"><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator ScalarString="(0)"><Const ConstValue="(0)"/></ScalarOperator><ScalarOperator ScalarString="NULL"><Const ConstValue="NULL"/></ScalarOperator><ScalarOperator ScalarString="NULL"><Const ConstValue="NULL"/></ScalarOperator></ParameterList></TableValuedFunction></RelOp></Spool></RelOp></NestedLoops></RelOp></Extension></RelOp></StreamAggregate></RelOp></NestedLoops></RelOp>
<RelOp NodeId="1411" PhysicalOp="Stream Aggregate" LogicalOp="Aggregate" EstimateRows="1" EstimateIO="0" EstimateCPU="0.0004325" AvgRowSize="18" EstimatedTotalSubtreeCost="53.3856" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Column="Expr1687"/></OutputList><StreamAggregate><DefinedValues><DefinedValue><ColumnReference Column="Expr1687"/><ScalarOperator ScalarString="MIN(CASE WHEN [@xml] IS NULL THEN NULL ELSE CASE WHEN datalength([Expr1684])&gt;=(128) THEN CONVERT_IMPLICIT(varchar(15),[Expr1685],0) ELSE CONVERT_IMPLICIT(varchar(15),[Expr1684],0) END END)"><Aggregate Distinct="0" AggType="MIN"><ScalarOperator><IF><Condition><ScalarOperator><Compare CompareOp="IS"><ScalarOperator><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="NULL"/></ScalarOperator></Compare></ScalarOperator></Condition><Then><ScalarOperator><Const ConstValue="NULL"/></ScalarOperator></Then><Else><ScalarOperator><IF><Condition><ScalarOperator><Compare CompareOp="GE"><ScalarOperator><Intrinsic FunctionName="datalength"><ScalarOperator><Identifier><ColumnReference Column="Expr1684"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator><ScalarOperator><Const ConstValue="(128)"/></ScalarOperator></Compare></ScalarOperator></Condition><Then><ScalarOperator><Convert DataType="varchar" Length="15" Style="0" Implicit="1"><ScalarOperator><Identifier><ColumnReference Column="Expr1685"/></Identifier></ScalarOperator></Convert></ScalarOperator></Then><Else><ScalarOperator><Convert DataType="varchar" Length="15" Style="0" Implicit="1"><ScalarOperator><Identifier><ColumnReference Column="Expr1684"/></Identifier></ScalarOperator></Convert></ScalarOperator></Else></IF></ScalarOperator></Else></IF></ScalarOperator></Aggregate></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="1412" PhysicalOp="UDX" LogicalOp="UDX" EstimateRows="720" EstimateIO="0" EstimateCPU="0.00072" AvgRowSize="8045" EstimatedTotalSubtreeCost="53.2991" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Column="Expr1684"/><ColumnReference Column="Expr1685"/></OutputList><Extension UDXName="XQUERY DATA"><DefinedValues><DefinedValue><ColumnReference Column="Expr1682"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1683"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1684"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1685"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1686"/></DefinedValue></DefinedValues><UsedUDXColumns><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/><ColumnReference Column="Expr1678"/><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Table="[XML Reader]" Column="id"/></UsedUDXColumns>
<RelOp NodeId="1413" PhysicalOp="Nested Loops" LogicalOp="Inner Join" EstimateRows="900" EstimateIO="0" EstimateCPU="0.0418" AvgRowSize="8559" EstimatedTotalSubtreeCost="53.1551" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1678"/><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><NestedLoops Optimized="0"><Predicate><ScalarOperator ScalarString="XML Reader with XPath filter.[id]&lt;=XML Reader.[id] AND [Expr1843]&gt;XML Reader.[id]"><Logical Operation="AND"><ScalarOperator><Compare CompareOp="LE"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Identifier><ColumnReference Table="[XML Reader]" Column="id"/></Identifier></ScalarOperator></Compare></ScalarOperator><ScalarOperator><Compare CompareOp="GT"><ScalarOperator><Identifier><ColumnReference Column="Expr1843"/></Identifier></ScalarOperator><ScalarOperator><Identifier><ColumnReference Table="[XML Reader]" Column="id"/></Identifier></ScalarOperator></Compare></ScalarOperator></Logical></ScalarOperator></Predicate>
<RelOp NodeId="1414" PhysicalOp="Top" LogicalOp="Top" EstimateRows="1" EstimateIO="0" EstimateCPU="1e-007" AvgRowSize="921" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1678"/><ColumnReference Column="Expr1843"/></OutputList><Top RowCount="0" IsPercent="0" WithTies="0"><TopExpression><ScalarOperator ScalarString="(1)"><Const ConstValue="(1)"/></ScalarOperator></TopExpression>
<RelOp NodeId="1415" PhysicalOp="Compute Scalar" LogicalOp="Compute Scalar" EstimateRows="1" EstimateIO="0" EstimateCPU="4.78647e-007" AvgRowSize="921" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1678"/><ColumnReference Column="Expr1843"/></OutputList><ComputeScalar><DefinedValues><DefinedValue><ColumnReference Column="Expr1678"/><ScalarOperator ScalarString="0x58"><Const ConstValue="0x58"/></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="1416" PhysicalOp="Filter" LogicalOp="Filter" EstimateRows="1" EstimateIO="0" EstimateCPU="1.224e-005" AvgRowSize="469" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1843"/></OutputList><Filter StartupExpression="0">
<RelOp NodeId="1417" PhysicalOp="Compute Scalar" LogicalOp="Compute Scalar" EstimateRows="3.7606" EstimateIO="0" EstimateCPU="1.8e-006" AvgRowSize="469" EstimatedTotalSubtreeCost="41.7996" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1843"/></OutputList><ComputeScalar><DefinedValues><DefinedValue><ColumnReference Column="Expr1843"/><ScalarOperator ScalarString="getdescendantlimit(XML Reader with XPath filter.[id])"><Intrinsic FunctionName="getdescendantlimit"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="1418" PhysicalOp="Table-valued function" LogicalOp="Table-valued function" EstimateRows="3.7606" EstimateIO="0" EstimateCPU="1.00036" AvgRowSize="17" EstimatedTotalSubtreeCost="41.7995" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></OutputList><TableValuedFunction><DefinedValues><DefinedValue><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></DefinedValue></DefinedValues><Object Table="[XML Reader with XPath filter]"/><ParameterList><ScalarOperator ScalarString="[@xml]"><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator ScalarString="(7)"><Const ConstValue="(7)"/></ScalarOperator><ScalarOperator ScalarString="XML Reader with XPath filter.[id]"><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator ScalarString="getdescendantlimit(XML Reader with XPath filter.[id])"><Intrinsic FunctionName="getdescendantlimit"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator></ParameterList></TableValuedFunction></RelOp></ComputeScalar></RelOp><Predicate><ScalarOperator ScalarString="XML Reader with XPath filter.[id]=getancestor(XML Reader with XPath filter.[id],(1))"><Compare CompareOp="EQ"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Intrinsic FunctionName="getancestor"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="(1)"/></ScalarOperator></Intrinsic></ScalarOperator></Compare></ScalarOperator></Predicate></Filter></RelOp></ComputeScalar></RelOp></Top></RelOp>
<RelOp NodeId="1431" PhysicalOp="Table Spool" LogicalOp="Eager Spool" EstimateRows="10000" EstimateIO="0.013125" EstimateCPU="0.0037006" AvgRowSize="8099" EstimatedTotalSubtreeCost="1.59493" Parallel="0" EstimateRebinds="0" EstimateRewinds="199"><OutputList><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><Spool>
<RelOp NodeId="1432" PhysicalOp="Table-valued function" LogicalOp="Table-valued function" EstimateRows="10000" EstimateIO="0" EstimateCPU="1.2" AvgRowSize="8099" EstimatedTotalSubtreeCost="1.2" Parallel="0" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><TableValuedFunction><DefinedValues><DefinedValue><ColumnReference Table="[XML Reader]" Column="id"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="nid"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="tid"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="value"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="lvalue"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></DefinedValue></DefinedValues><Object Table="[XML Reader]"/><ParameterList><ScalarOperator ScalarString="[@xml]"><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator ScalarString="(0)"><Const ConstValue="(0)"/></ScalarOperator><ScalarOperator ScalarString="NULL"><Const ConstValue="NULL"/></ScalarOperator><ScalarOperator ScalarString="NULL"><Const ConstValue="NULL"/></ScalarOperator></ParameterList></TableValuedFunction></RelOp></Spool></RelOp></NestedLoops></RelOp></Extension></RelOp></StreamAggregate></RelOp></NestedLoops></RelOp>
<RelOp NodeId="1441" PhysicalOp="Stream Aggregate" LogicalOp="Aggregate" EstimateRows="1" EstimateIO="0" EstimateCPU="0.0004325" AvgRowSize="18" EstimatedTotalSubtreeCost="53.3856" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Column="Expr1702"/></OutputList><StreamAggregate><DefinedValues><DefinedValue><ColumnReference Column="Expr1702"/><ScalarOperator ScalarString="MIN(CASE WHEN [@xml] IS NULL THEN NULL ELSE CASE WHEN datalength([Expr1699])&gt;=(128) THEN CONVERT_IMPLICIT(varchar(15),[Expr1700],0) ELSE CONVERT_IMPLICIT(varchar(15),[Expr1699],0) END END)"><Aggregate Distinct="0" AggType="MIN"><ScalarOperator><IF><Condition><ScalarOperator><Compare CompareOp="IS"><ScalarOperator><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="NULL"/></ScalarOperator></Compare></ScalarOperator></Condition><Then><ScalarOperator><Const ConstValue="NULL"/></ScalarOperator></Then><Else><ScalarOperator><IF><Condition><ScalarOperator><Compare CompareOp="GE"><ScalarOperator><Intrinsic FunctionName="datalength"><ScalarOperator><Identifier><ColumnReference Column="Expr1699"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator><ScalarOperator><Const ConstValue="(128)"/></ScalarOperator></Compare></ScalarOperator></Condition><Then><ScalarOperator><Convert DataType="varchar" Length="15" Style="0" Implicit="1"><ScalarOperator><Identifier><ColumnReference Column="Expr1700"/></Identifier></ScalarOperator></Convert></ScalarOperator></Then><Else><ScalarOperator><Convert DataType="varchar" Length="15" Style="0" Implicit="1"><ScalarOperator><Identifier><ColumnReference Column="Expr1699"/></Identifier></ScalarOperator></Convert></ScalarOperator></Else></IF></ScalarOperator></Else></IF></ScalarOperator></Aggregate></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="1442" PhysicalOp="UDX" LogicalOp="UDX" EstimateRows="720" EstimateIO="0" EstimateCPU="0.00072" AvgRowSize="8045" EstimatedTotalSubtreeCost="53.2991" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Column="Expr1699"/><ColumnReference Column="Expr1700"/></OutputList><Extension UDXName="XQUERY DATA"><DefinedValues><DefinedValue><ColumnReference Column="Expr1697"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1698"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1699"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1700"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1701"/></DefinedValue></DefinedValues><UsedUDXColumns><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/><ColumnReference Column="Expr1693"/><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Table="[XML Reader]" Column="id"/></UsedUDXColumns>
<RelOp NodeId="1443" PhysicalOp="Nested Loops" LogicalOp="Inner Join" EstimateRows="900" EstimateIO="0" EstimateCPU="0.0418" AvgRowSize="8559" EstimatedTotalSubtreeCost="53.1551" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1693"/><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><NestedLoops Optimized="0"><Predicate><ScalarOperator ScalarString="XML Reader with XPath filter.[id]&lt;=XML Reader.[id] AND [Expr1845]&gt;XML Reader.[id]"><Logical Operation="AND"><ScalarOperator><Compare CompareOp="LE"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Identifier><ColumnReference Table="[XML Reader]" Column="id"/></Identifier></ScalarOperator></Compare></ScalarOperator><ScalarOperator><Compare CompareOp="GT"><ScalarOperator><Identifier><ColumnReference Column="Expr1845"/></Identifier></ScalarOperator><ScalarOperator><Identifier><ColumnReference Table="[XML Reader]" Column="id"/></Identifier></ScalarOperator></Compare></ScalarOperator></Logical></ScalarOperator></Predicate>
<RelOp NodeId="1444" PhysicalOp="Top" LogicalOp="Top" EstimateRows="1" EstimateIO="0" EstimateCPU="1e-007" AvgRowSize="921" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1693"/><ColumnReference Column="Expr1845"/></OutputList><Top RowCount="0" IsPercent="0" WithTies="0"><TopExpression><ScalarOperator ScalarString="(1)"><Const ConstValue="(1)"/></ScalarOperator></TopExpression>
<RelOp NodeId="1445" PhysicalOp="Compute Scalar" LogicalOp="Compute Scalar" EstimateRows="1" EstimateIO="0" EstimateCPU="4.78647e-007" AvgRowSize="921" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1693"/><ColumnReference Column="Expr1845"/></OutputList><ComputeScalar><DefinedValues><DefinedValue><ColumnReference Column="Expr1693"/><ScalarOperator ScalarString="0x58"><Const ConstValue="0x58"/></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="1446" PhysicalOp="Filter" LogicalOp="Filter" EstimateRows="1" EstimateIO="0" EstimateCPU="1.224e-005" AvgRowSize="469" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1845"/></OutputList><Filter StartupExpression="0">
<RelOp NodeId="1447" PhysicalOp="Compute Scalar" LogicalOp="Compute Scalar" EstimateRows="3.7606" EstimateIO="0" EstimateCPU="1.8e-006" AvgRowSize="469" EstimatedTotalSubtreeCost="41.7996" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1845"/></OutputList><ComputeScalar><DefinedValues><DefinedValue><ColumnReference Column="Expr1845"/><ScalarOperator ScalarString="getdescendantlimit(XML Reader with XPath filter.[id])"><Intrinsic FunctionName="getdescendantlimit"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="1448" PhysicalOp="Table-valued function" LogicalOp="Table-valued function" EstimateRows="3.7606" EstimateIO="0" EstimateCPU="1.00036" AvgRowSize="17" EstimatedTotalSubtreeCost="41.7995" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></OutputList><TableValuedFunction><DefinedValues><DefinedValue><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></DefinedValue></DefinedValues><Object Table="[XML Reader with XPath filter]"/><ParameterList><ScalarOperator ScalarString="[@xml]"><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator ScalarString="(7)"><Const ConstValue="(7)"/></ScalarOperator><ScalarOperator ScalarString="XML Reader with XPath filter.[id]"><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator ScalarString="getdescendantlimit(XML Reader with XPath filter.[id])"><Intrinsic FunctionName="getdescendantlimit"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator></ParameterList></TableValuedFunction></RelOp></ComputeScalar></RelOp><Predicate><ScalarOperator ScalarString="XML Reader with XPath filter.[id]=getancestor(XML Reader with XPath filter.[id],(1))"><Compare CompareOp="EQ"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Intrinsic FunctionName="getancestor"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="(1)"/></ScalarOperator></Intrinsic></ScalarOperator></Compare></ScalarOperator></Predicate></Filter></RelOp></ComputeScalar></RelOp></Top></RelOp>
<RelOp NodeId="1461" PhysicalOp="Table Spool" LogicalOp="Eager Spool" EstimateRows="10000" EstimateIO="0.013125" EstimateCPU="0.0037006" AvgRowSize="8099" EstimatedTotalSubtreeCost="1.59493" Parallel="0" EstimateRebinds="0" EstimateRewinds="199"><OutputList><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><Spool>
<RelOp NodeId="1462" PhysicalOp="Table-valued function" LogicalOp="Table-valued function" EstimateRows="10000" EstimateIO="0" EstimateCPU="1.2" AvgRowSize="8099" EstimatedTotalSubtreeCost="1.2" Parallel="0" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><TableValuedFunction><DefinedValues><DefinedValue><ColumnReference Table="[XML Reader]" Column="id"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="nid"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="tid"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="value"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="lvalue"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></DefinedValue></DefinedValues><Object Table="[XML Reader]"/><ParameterList><ScalarOperator ScalarString="[@xml]"><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator ScalarString="(0)"><Const ConstValue="(0)"/></ScalarOperator><ScalarOperator ScalarString="NULL"><Const ConstValue="NULL"/></ScalarOperator><ScalarOperator ScalarString="NULL"><Const ConstValue="NULL"/></ScalarOperator></ParameterList></TableValuedFunction></RelOp></Spool></RelOp></NestedLoops></RelOp></Extension></RelOp></StreamAggregate></RelOp></NestedLoops></RelOp>
<RelOp NodeId="1471" PhysicalOp="Stream Aggregate" LogicalOp="Aggregate" EstimateRows="1" EstimateIO="0" EstimateCPU="0.0004325" AvgRowSize="28" EstimatedTotalSubtreeCost="53.3856" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Column="Expr1717"/></OutputList><StreamAggregate><DefinedValues><DefinedValue><ColumnReference Column="Expr1717"/><ScalarOperator ScalarString="MIN(CASE WHEN [@xml] IS NULL THEN NULL ELSE CASE WHEN datalength([Expr1714])&gt;=(128) THEN CONVERT_IMPLICIT(varchar(35),[Expr1715],0) ELSE CONVERT_IMPLICIT(varchar(35),[Expr1714],0) END END)"><Aggregate Distinct="0" AggType="MIN"><ScalarOperator><IF><Condition><ScalarOperator><Compare CompareOp="IS"><ScalarOperator><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="NULL"/></ScalarOperator></Compare></ScalarOperator></Condition><Then><ScalarOperator><Const ConstValue="NULL"/></ScalarOperator></Then><Else><ScalarOperator><IF><Condition><ScalarOperator><Compare CompareOp="GE"><ScalarOperator><Intrinsic FunctionName="datalength"><ScalarOperator><Identifier><ColumnReference Column="Expr1714"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator><ScalarOperator><Const ConstValue="(128)"/></ScalarOperator></Compare></ScalarOperator></Condition><Then><ScalarOperator><Convert DataType="varchar" Length="35" Style="0" Implicit="1"><ScalarOperator><Identifier><ColumnReference Column="Expr1715"/></Identifier></ScalarOperator></Convert></ScalarOperator></Then><Else><ScalarOperator><Convert DataType="varchar" Length="35" Style="0" Implicit="1"><ScalarOperator><Identifier><ColumnReference Column="Expr1714"/></Identifier></ScalarOperator></Convert></ScalarOperator></Else></IF></ScalarOperator></Else></IF></ScalarOperator></Aggregate></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="1472" PhysicalOp="UDX" LogicalOp="UDX" EstimateRows="720" EstimateIO="0" EstimateCPU="0.00072" AvgRowSize="8045" EstimatedTotalSubtreeCost="53.2991" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Column="Expr1714"/><ColumnReference Column="Expr1715"/></OutputList><Extension UDXName="XQUERY DATA"><DefinedValues><DefinedValue><ColumnReference Column="Expr1712"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1713"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1714"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1715"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1716"/></DefinedValue></DefinedValues><UsedUDXColumns><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/><ColumnReference Column="Expr1708"/><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Table="[XML Reader]" Column="id"/></UsedUDXColumns>
<RelOp NodeId="1473" PhysicalOp="Nested Loops" LogicalOp="Inner Join" EstimateRows="900" EstimateIO="0" EstimateCPU="0.0418" AvgRowSize="8559" EstimatedTotalSubtreeCost="53.1551" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1708"/><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><NestedLoops Optimized="0"><Predicate><ScalarOperator ScalarString="XML Reader with XPath filter.[id]&lt;=XML Reader.[id] AND [Expr1847]&gt;XML Reader.[id]"><Logical Operation="AND"><ScalarOperator><Compare CompareOp="LE"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Identifier><ColumnReference Table="[XML Reader]" Column="id"/></Identifier></ScalarOperator></Compare></ScalarOperator><ScalarOperator><Compare CompareOp="GT"><ScalarOperator><Identifier><ColumnReference Column="Expr1847"/></Identifier></ScalarOperator><ScalarOperator><Identifier><ColumnReference Table="[XML Reader]" Column="id"/></Identifier></ScalarOperator></Compare></ScalarOperator></Logical></ScalarOperator></Predicate>
<RelOp NodeId="1474" PhysicalOp="Top" LogicalOp="Top" EstimateRows="1" EstimateIO="0" EstimateCPU="1e-007" AvgRowSize="921" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1708"/><ColumnReference Column="Expr1847"/></OutputList><Top RowCount="0" IsPercent="0" WithTies="0"><TopExpression><ScalarOperator ScalarString="(1)"><Const ConstValue="(1)"/></ScalarOperator></TopExpression>
<RelOp NodeId="1475" PhysicalOp="Compute Scalar" LogicalOp="Compute Scalar" EstimateRows="1" EstimateIO="0" EstimateCPU="4.78647e-007" AvgRowSize="921" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1708"/><ColumnReference Column="Expr1847"/></OutputList><ComputeScalar><DefinedValues><DefinedValue><ColumnReference Column="Expr1708"/><ScalarOperator ScalarString="0x58"><Const ConstValue="0x58"/></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="1476" PhysicalOp="Filter" LogicalOp="Filter" EstimateRows="1" EstimateIO="0" EstimateCPU="1.224e-005" AvgRowSize="469" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1847"/></OutputList><Filter StartupExpression="0">
<RelOp NodeId="1477" PhysicalOp="Compute Scalar" LogicalOp="Compute Scalar" EstimateRows="3.7606" EstimateIO="0" EstimateCPU="1.8e-006" AvgRowSize="469" EstimatedTotalSubtreeCost="41.7996" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1847"/></OutputList><ComputeScalar><DefinedValues><DefinedValue><ColumnReference Column="Expr1847"/><ScalarOperator ScalarString="getdescendantlimit(XML Reader with XPath filter.[id])"><Intrinsic FunctionName="getdescendantlimit"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="1478" PhysicalOp="Table-valued function" LogicalOp="Table-valued function" EstimateRows="3.7606" EstimateIO="0" EstimateCPU="1.00036" AvgRowSize="17" EstimatedTotalSubtreeCost="41.7995" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></OutputList><TableValuedFunction><DefinedValues><DefinedValue><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></DefinedValue></DefinedValues><Object Table="[XML Reader with XPath filter]"/><ParameterList><ScalarOperator ScalarString="[@xml]"><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator ScalarString="(7)"><Const ConstValue="(7)"/></ScalarOperator><ScalarOperator ScalarString="XML Reader with XPath filter.[id]"><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator ScalarString="getdescendantlimit(XML Reader with XPath filter.[id])"><Intrinsic FunctionName="getdescendantlimit"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator></ParameterList></TableValuedFunction></RelOp></ComputeScalar></RelOp><Predicate><ScalarOperator ScalarString="XML Reader with XPath filter.[id]=getancestor(XML Reader with XPath filter.[id],(1))"><Compare CompareOp="EQ"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Intrinsic FunctionName="getancestor"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="(1)"/></ScalarOperator></Intrinsic></ScalarOperator></Compare></ScalarOperator></Predicate></Filter></RelOp></ComputeScalar></RelOp></Top></RelOp>
<RelOp NodeId="1491" PhysicalOp="Table Spool" LogicalOp="Eager Spool" EstimateRows="10000" EstimateIO="0.013125" EstimateCPU="0.0037006" AvgRowSize="8099" EstimatedTotalSubtreeCost="1.59493" Parallel="0" EstimateRebinds="0" EstimateRewinds="199"><OutputList><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><Spool>
<RelOp NodeId="1492" PhysicalOp="Table-valued function" LogicalOp="Table-valued function" EstimateRows="10000" EstimateIO="0" EstimateCPU="1.2" AvgRowSize="8099" EstimatedTotalSubtreeCost="1.2" Parallel="0" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><TableValuedFunction><DefinedValues><DefinedValue><ColumnReference Table="[XML Reader]" Column="id"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="nid"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="tid"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="value"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="lvalue"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></DefinedValue></DefinedValues><Object Table="[XML Reader]"/><ParameterList><ScalarOperator ScalarString="[@xml]"><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator ScalarString="(0)"><Const ConstValue="(0)"/></ScalarOperator><ScalarOperator ScalarString="NULL"><Const ConstValue="NULL"/></ScalarOperator><ScalarOperator ScalarString="NULL"><Const ConstValue="NULL"/></ScalarOperator></ParameterList></TableValuedFunction></RelOp></Spool></RelOp></NestedLoops></RelOp></Extension></RelOp></StreamAggregate></RelOp></NestedLoops></RelOp>
<RelOp NodeId="1501" PhysicalOp="Stream Aggregate" LogicalOp="Aggregate" EstimateRows="1" EstimateIO="0" EstimateCPU="0.0004325" AvgRowSize="28" EstimatedTotalSubtreeCost="53.3856" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Column="Expr1732"/></OutputList><StreamAggregate><DefinedValues><DefinedValue><ColumnReference Column="Expr1732"/><ScalarOperator ScalarString="MIN(CASE WHEN [@xml] IS NULL THEN NULL ELSE CASE WHEN datalength([Expr1729])&gt;=(128) THEN CONVERT_IMPLICIT(varchar(35),[Expr1730],0) ELSE CONVERT_IMPLICIT(varchar(35),[Expr1729],0) END END)"><Aggregate Distinct="0" AggType="MIN"><ScalarOperator><IF><Condition><ScalarOperator><Compare CompareOp="IS"><ScalarOperator><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="NULL"/></ScalarOperator></Compare></ScalarOperator></Condition><Then><ScalarOperator><Const ConstValue="NULL"/></ScalarOperator></Then><Else><ScalarOperator><IF><Condition><ScalarOperator><Compare CompareOp="GE"><ScalarOperator><Intrinsic FunctionName="datalength"><ScalarOperator><Identifier><ColumnReference Column="Expr1729"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator><ScalarOperator><Const ConstValue="(128)"/></ScalarOperator></Compare></ScalarOperator></Condition><Then><ScalarOperator><Convert DataType="varchar" Length="35" Style="0" Implicit="1"><ScalarOperator><Identifier><ColumnReference Column="Expr1730"/></Identifier></ScalarOperator></Convert></ScalarOperator></Then><Else><ScalarOperator><Convert DataType="varchar" Length="35" Style="0" Implicit="1"><ScalarOperator><Identifier><ColumnReference Column="Expr1729"/></Identifier></ScalarOperator></Convert></ScalarOperator></Else></IF></ScalarOperator></Else></IF></ScalarOperator></Aggregate></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="1502" PhysicalOp="UDX" LogicalOp="UDX" EstimateRows="720" EstimateIO="0" EstimateCPU="0.00072" AvgRowSize="8045" EstimatedTotalSubtreeCost="53.2991" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Column="Expr1729"/><ColumnReference Column="Expr1730"/></OutputList><Extension UDXName="XQUERY DATA"><DefinedValues><DefinedValue><ColumnReference Column="Expr1727"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1728"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1729"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1730"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1731"/></DefinedValue></DefinedValues><UsedUDXColumns><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/><ColumnReference Column="Expr1723"/><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Table="[XML Reader]" Column="id"/></UsedUDXColumns>
<RelOp NodeId="1503" PhysicalOp="Nested Loops" LogicalOp="Inner Join" EstimateRows="900" EstimateIO="0" EstimateCPU="0.0418" AvgRowSize="8559" EstimatedTotalSubtreeCost="53.1551" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1723"/><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><NestedLoops Optimized="0"><Predicate><ScalarOperator ScalarString="XML Reader with XPath filter.[id]&lt;=XML Reader.[id] AND [Expr1849]&gt;XML Reader.[id]"><Logical Operation="AND"><ScalarOperator><Compare CompareOp="LE"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Identifier><ColumnReference Table="[XML Reader]" Column="id"/></Identifier></ScalarOperator></Compare></ScalarOperator><ScalarOperator><Compare CompareOp="GT"><ScalarOperator><Identifier><ColumnReference Column="Expr1849"/></Identifier></ScalarOperator><ScalarOperator><Identifier><ColumnReference Table="[XML Reader]" Column="id"/></Identifier></ScalarOperator></Compare></ScalarOperator></Logical></ScalarOperator></Predicate>
<RelOp NodeId="1504" PhysicalOp="Top" LogicalOp="Top" EstimateRows="1" EstimateIO="0" EstimateCPU="1e-007" AvgRowSize="921" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1723"/><ColumnReference Column="Expr1849"/></OutputList><Top RowCount="0" IsPercent="0" WithTies="0"><TopExpression><ScalarOperator ScalarString="(1)"><Const ConstValue="(1)"/></ScalarOperator></TopExpression>
<RelOp NodeId="1505" PhysicalOp="Compute Scalar" LogicalOp="Compute Scalar" EstimateRows="1" EstimateIO="0" EstimateCPU="4.78647e-007" AvgRowSize="921" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1723"/><ColumnReference Column="Expr1849"/></OutputList><ComputeScalar><DefinedValues><DefinedValue><ColumnReference Column="Expr1723"/><ScalarOperator ScalarString="0x58"><Const ConstValue="0x58"/></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="1506" PhysicalOp="Filter" LogicalOp="Filter" EstimateRows="1" EstimateIO="0" EstimateCPU="1.224e-005" AvgRowSize="469" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1849"/></OutputList><Filter StartupExpression="0">
<RelOp NodeId="1507" PhysicalOp="Compute Scalar" LogicalOp="Compute Scalar" EstimateRows="3.7606" EstimateIO="0" EstimateCPU="1.8e-006" AvgRowSize="469" EstimatedTotalSubtreeCost="41.7996" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1849"/></OutputList><ComputeScalar><DefinedValues><DefinedValue><ColumnReference Column="Expr1849"/><ScalarOperator ScalarString="getdescendantlimit(XML Reader with XPath filter.[id])"><Intrinsic FunctionName="getdescendantlimit"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="1508" PhysicalOp="Table-valued function" LogicalOp="Table-valued function" EstimateRows="3.7606" EstimateIO="0" EstimateCPU="1.00036" AvgRowSize="17" EstimatedTotalSubtreeCost="41.7995" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></OutputList><TableValuedFunction><DefinedValues><DefinedValue><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></DefinedValue></DefinedValues><Object Table="[XML Reader with XPath filter]"/><ParameterList><ScalarOperator ScalarString="[@xml]"><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator ScalarString="(7)"><Const ConstValue="(7)"/></ScalarOperator><ScalarOperator ScalarString="XML Reader with XPath filter.[id]"><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator ScalarString="getdescendantlimit(XML Reader with XPath filter.[id])"><Intrinsic FunctionName="getdescendantlimit"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator></ParameterList></TableValuedFunction></RelOp></ComputeScalar></RelOp><Predicate><ScalarOperator ScalarString="XML Reader with XPath filter.[id]=getancestor(XML Reader with XPath filter.[id],(1))"><Compare CompareOp="EQ"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Intrinsic FunctionName="getancestor"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="(1)"/></ScalarOperator></Intrinsic></ScalarOperator></Compare></ScalarOperator></Predicate></Filter></RelOp></ComputeScalar></RelOp></Top></RelOp>
<RelOp NodeId="1521" PhysicalOp="Table Spool" LogicalOp="Eager Spool" EstimateRows="10000" EstimateIO="0.013125" EstimateCPU="0.0037006" AvgRowSize="8099" EstimatedTotalSubtreeCost="1.59493" Parallel="0" EstimateRebinds="0" EstimateRewinds="199"><OutputList><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><Spool>
<RelOp NodeId="1522" PhysicalOp="Table-valued function" LogicalOp="Table-valued function" EstimateRows="10000" EstimateIO="0" EstimateCPU="1.2" AvgRowSize="8099" EstimatedTotalSubtreeCost="1.2" Parallel="0" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><TableValuedFunction><DefinedValues><DefinedValue><ColumnReference Table="[XML Reader]" Column="id"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="nid"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="tid"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="value"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="lvalue"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></DefinedValue></DefinedValues><Object Table="[XML Reader]"/><ParameterList><ScalarOperator ScalarString="[@xml]"><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator ScalarString="(0)"><Const ConstValue="(0)"/></ScalarOperator><ScalarOperator ScalarString="NULL"><Const ConstValue="NULL"/></ScalarOperator><ScalarOperator ScalarString="NULL"><Const ConstValue="NULL"/></ScalarOperator></ParameterList></TableValuedFunction></RelOp></Spool></RelOp></NestedLoops></RelOp></Extension></RelOp></StreamAggregate></RelOp></NestedLoops></RelOp>
<RelOp NodeId="1531" PhysicalOp="Stream Aggregate" LogicalOp="Aggregate" EstimateRows="1" EstimateIO="0" EstimateCPU="0.0004325" AvgRowSize="28" EstimatedTotalSubtreeCost="53.3856" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Column="Expr1747"/></OutputList><StreamAggregate><DefinedValues><DefinedValue><ColumnReference Column="Expr1747"/><ScalarOperator ScalarString="MIN(CASE WHEN [@xml] IS NULL THEN NULL ELSE CASE WHEN datalength([Expr1744])&gt;=(128) THEN CONVERT_IMPLICIT(varchar(35),[Expr1745],0) ELSE CONVERT_IMPLICIT(varchar(35),[Expr1744],0) END END)"><Aggregate Distinct="0" AggType="MIN"><ScalarOperator><IF><Condition><ScalarOperator><Compare CompareOp="IS"><ScalarOperator><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="NULL"/></ScalarOperator></Compare></ScalarOperator></Condition><Then><ScalarOperator><Const ConstValue="NULL"/></ScalarOperator></Then><Else><ScalarOperator><IF><Condition><ScalarOperator><Compare CompareOp="GE"><ScalarOperator><Intrinsic FunctionName="datalength"><ScalarOperator><Identifier><ColumnReference Column="Expr1744"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator><ScalarOperator><Const ConstValue="(128)"/></ScalarOperator></Compare></ScalarOperator></Condition><Then><ScalarOperator><Convert DataType="varchar" Length="35" Style="0" Implicit="1"><ScalarOperator><Identifier><ColumnReference Column="Expr1745"/></Identifier></ScalarOperator></Convert></ScalarOperator></Then><Else><ScalarOperator><Convert DataType="varchar" Length="35" Style="0" Implicit="1"><ScalarOperator><Identifier><ColumnReference Column="Expr1744"/></Identifier></ScalarOperator></Convert></ScalarOperator></Else></IF></ScalarOperator></Else></IF></ScalarOperator></Aggregate></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="1532" PhysicalOp="UDX" LogicalOp="UDX" EstimateRows="720" EstimateIO="0" EstimateCPU="0.00072" AvgRowSize="8045" EstimatedTotalSubtreeCost="53.2991" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Column="Expr1744"/><ColumnReference Column="Expr1745"/></OutputList><Extension UDXName="XQUERY DATA"><DefinedValues><DefinedValue><ColumnReference Column="Expr1742"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1743"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1744"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1745"/></DefinedValue><DefinedValue><ColumnReference Column="Expr1746"/></DefinedValue></DefinedValues><UsedUDXColumns><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/><ColumnReference Column="Expr1738"/><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Table="[XML Reader]" Column="id"/></UsedUDXColumns>
<RelOp NodeId="1533" PhysicalOp="Nested Loops" LogicalOp="Inner Join" EstimateRows="900" EstimateIO="0" EstimateCPU="0.0418" AvgRowSize="8559" EstimatedTotalSubtreeCost="53.1551" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1738"/><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><NestedLoops Optimized="0"><Predicate><ScalarOperator ScalarString="XML Reader with XPath filter.[id]&lt;=XML Reader.[id] AND [Expr1851]&gt;XML Reader.[id]"><Logical Operation="AND"><ScalarOperator><Compare CompareOp="LE"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Identifier><ColumnReference Table="[XML Reader]" Column="id"/></Identifier></ScalarOperator></Compare></ScalarOperator><ScalarOperator><Compare CompareOp="GT"><ScalarOperator><Identifier><ColumnReference Column="Expr1851"/></Identifier></ScalarOperator><ScalarOperator><Identifier><ColumnReference Table="[XML Reader]" Column="id"/></Identifier></ScalarOperator></Compare></ScalarOperator></Logical></ScalarOperator></Predicate>
<RelOp NodeId="1534" PhysicalOp="Top" LogicalOp="Top" EstimateRows="1" EstimateIO="0" EstimateCPU="1e-007" AvgRowSize="921" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1738"/><ColumnReference Column="Expr1851"/></OutputList><Top RowCount="0" IsPercent="0" WithTies="0"><TopExpression><ScalarOperator ScalarString="(1)"><Const ConstValue="(1)"/></ScalarOperator></TopExpression>
<RelOp NodeId="1535" PhysicalOp="Compute Scalar" LogicalOp="Compute Scalar" EstimateRows="1" EstimateIO="0" EstimateCPU="4.78647e-007" AvgRowSize="921" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1738"/><ColumnReference Column="Expr1851"/></OutputList><ComputeScalar><DefinedValues><DefinedValue><ColumnReference Column="Expr1738"/><ScalarOperator ScalarString="0x58"><Const ConstValue="0x58"/></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="1536" PhysicalOp="Filter" LogicalOp="Filter" EstimateRows="1" EstimateIO="0" EstimateCPU="1.224e-005" AvgRowSize="469" EstimatedTotalSubtreeCost="41.8001" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1851"/></OutputList><Filter StartupExpression="0">
<RelOp NodeId="1537" PhysicalOp="Compute Scalar" LogicalOp="Compute Scalar" EstimateRows="3.7606" EstimateIO="0" EstimateCPU="1.8e-006" AvgRowSize="469" EstimatedTotalSubtreeCost="41.7996" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/><ColumnReference Column="Expr1851"/></OutputList><ComputeScalar><DefinedValues><DefinedValue><ColumnReference Column="Expr1851"/><ScalarOperator ScalarString="getdescendantlimit(XML Reader with XPath filter.[id])"><Intrinsic FunctionName="getdescendantlimit"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator></DefinedValue></DefinedValues>
<RelOp NodeId="1538" PhysicalOp="Table-valued function" LogicalOp="Table-valued function" EstimateRows="3.7606" EstimateIO="0" EstimateCPU="1.00036" AvgRowSize="17" EstimatedTotalSubtreeCost="41.7995" Parallel="0" EstimateRebinds="199" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></OutputList><TableValuedFunction><DefinedValues><DefinedValue><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></DefinedValue></DefinedValues><Object Table="[XML Reader with XPath filter]"/><ParameterList><ScalarOperator ScalarString="[@xml]"><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator ScalarString="(7)"><Const ConstValue="(7)"/></ScalarOperator><ScalarOperator ScalarString="XML Reader with XPath filter.[id]"><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator ScalarString="getdescendantlimit(XML Reader with XPath filter.[id])"><Intrinsic FunctionName="getdescendantlimit"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator></ParameterList></TableValuedFunction></RelOp></ComputeScalar></RelOp><Predicate><ScalarOperator ScalarString="XML Reader with XPath filter.[id]=getancestor(XML Reader with XPath filter.[id],(1))"><Compare CompareOp="EQ"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Intrinsic FunctionName="getancestor"><ScalarOperator><Identifier><ColumnReference Table="[XML Reader with XPath filter]" Column="id"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="(1)"/></ScalarOperator></Intrinsic></ScalarOperator></Compare></ScalarOperator></Predicate></Filter></RelOp></ComputeScalar></RelOp></Top></RelOp>
<RelOp NodeId="1551" PhysicalOp="Table Spool" LogicalOp="Eager Spool" EstimateRows="10000" EstimateIO="0.013125" EstimateCPU="0.0037006" AvgRowSize="8099" EstimatedTotalSubtreeCost="1.59493" Parallel="0" EstimateRebinds="0" EstimateRewinds="199"><OutputList><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><Spool>
<RelOp NodeId="1552" PhysicalOp="Table-valued function" LogicalOp="Table-valued function" EstimateRows="10000" EstimateIO="0" EstimateCPU="1.2" AvgRowSize="8099" EstimatedTotalSubtreeCost="1.2" Parallel="0" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Table="[XML Reader]" Column="id"/><ColumnReference Table="[XML Reader]" Column="nid"/><ColumnReference Table="[XML Reader]" Column="tid"/><ColumnReference Table="[XML Reader]" Column="value"/><ColumnReference Table="[XML Reader]" Column="lvalue"/><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></OutputList><TableValuedFunction><DefinedValues><DefinedValue><ColumnReference Table="[XML Reader]" Column="id"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="nid"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="tid"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="value"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="lvalue"/></DefinedValue><DefinedValue><ColumnReference Table="[XML Reader]" Column="lvaluebin"/></DefinedValue></DefinedValues><Object Table="[XML Reader]"/><ParameterList><ScalarOperator ScalarString="[@xml]"><Identifier><ColumnReference Column="@xml"/></Identifier></ScalarOperator><ScalarOperator ScalarString="(0)"><Const ConstValue="(0)"/></ScalarOperator><ScalarOperator ScalarString="NULL"><Const ConstValue="NULL"/></ScalarOperator><ScalarOperator ScalarString="NULL"><Const ConstValue="NULL"/></ScalarOperator></ParameterList></TableValuedFunction></RelOp></Spool></RelOp></NestedLoops></RelOp></Extension></RelOp></StreamAggregate></RelOp></NestedLoops></RelOp></ComputeScalar></RelOp></Update></RelOp><ParameterList><ColumnReference Column="@xml" ParameterCompiledValue="N&apos;&lt;root&gt;&lt;row&gt;&lt;serial_no&gt;NB0J001854742&lt;/serial_no&gt;&lt;po&gt;03518101&lt;/po&gt;&lt;item&gt;042-2429-0&lt;/item&gt;&lt;po_item_hold&gt;No&lt;/po_item_hold&gt;&lt;cert_of_conformity/&gt;&lt;pd_units_ordered_at&gt;2016&lt;/pd_units_ordered_at&gt;&lt;units&gt;2016&lt;/units&gt;&lt;unitsinotherbooking&gt;0&lt;/unitsinotherbooking&gt;&lt;carton&apos;"/></ParameterList></QueryPlan></StmtSimple></Statements></Batch></BatchSequence></ShowPlanXML>
--?>

Open in new window


do you know why ? XML notepad can't show that up too !
Anthony PerkinsCommented:
Perhaps you overlooked this:
-- Could not render showplan due to XML data type limitations. 
-- To see the graphical plan save the XML below as a .SQLPLAN file and re-open in SSMS.

Open in new window

marrowyungSenior Technical architecture (Data)Author Commented:
oh,, ahhaha, I see this basically but I don't think it is making sense, this means read the xml plan AGAIN and it will works?
Anthony PerkinsCommented:
No, it means: "To see the graphical plan save the XML below as a .SQLPLAN file and re-open in SSMS.", not sure I can make it any clearer than that, but let me try:
1. Copy and paste the Xml into your favorite text editor (Notepad?)
2. Save it to a file with an extension of SQLPLAN.  For example: MyExecutionPlan.SQLPLAN
3. Open the file in SSMS (File | Open | File...)

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
marrowyungSenior Technical architecture (Data)Author Commented:
yeah I knoew, tks for that anyway!

:):)
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
XML

From novice to tech pro — start learning today.