November Happy Hour will be moved to Thursday December 5th.

Error when using ContentRepository.DeleteChildren

Vote:
 

Hello,

A little background info first: We have a utlility that is going to be used to populate a bunch of pages programatically into episerver once we launch (basically a migration from our old cms and content) - I have developed a small tool to delete all the pages under our start page, so we can keep re-testing our import functionality.  I am getting a weird error when trying to delete, note that there are a LOT of pages being imported (in a heirarchy) - each branch may contain about 50-100 pages (heirarchichly) each, and about 116 "branches" under our start page.

When finding our start page reference and then issuing a

ContentRepository.DeleteChildren(ContentReference.StartPage)

or even when iterating through each of the children and deleting them individually like

ContentRepository.Delete(page.ContentLink, true, AccessLevel.NoAccess)

I am receiving an error after about 5-8 min of runtime that is the following (mind that this error is coming back from my ajax routine that runs this):

"{"Message":"This SqlTransaction has completed; it is no longer usable.","StackTrace":" at System.Data.SqlClient.SqlTransaction.ZombieCheck()\r\n at System.Data.SqlClient.SqlTransaction.Rollback()\r\n at EPiServer.Data.Providers.ConnectionContext.RollbackTransaction()\r\n at EPiServer.Data.Providers.ConnectionScope.Dispose()\r\n at EPiServer.Data.Providers.SqlDatabaseHandler.\u003c\u003ec__DisplayClass7`1.\u003cExecuteTransaction\u003eb__6()\r\n at EPiServer.Data.Providers.SqlDeadlockRetryPolicy.Execute[TResult](Boolean isInTransaction, Func`1 method)\r\n at EPiServer.DataFactory.DeleteChildren(ContentReference contentLink, Boolean forceDelete, AccessLevel access)\r\n at PhoenixWeb.Util.Scaffold.ScaffoldUtil.DeleteAllLocalSites() in C:\\Sites\\PhoenixCMS\\PhoenixWeb\\Util\\Scaffold\\ScaffoldUtil.cs:line 116\r\n at PhoenixWeb.WebServices.ScaffoldUtility.DeleteAllPagesBelowSplashPage() in C:\\Sites\\PhoenixCMS\\PhoenixWeb\\WebServices\\ScaffoldUtility.asmx.cs:line 62","ExceptionType":"System.InvalidOperationException"}"

 

Anyone have any clue?  Also an unrelated but possibly related? issue that is also occuring is that on my local instance most of the time it takes quite awhile for the edit mode to start up.  Meaning, that if i build, and then go to CMS -> Edit - it takes about 2-3 min to actually load the edit mode - I know that it is probably compiling for the first time, but it never used to take this long.  Could it be the amount of pages?

#71255
May 14, 2013 23:40
Vote:
 

I also might add, that after testing more with the iterating through each page under the start page and issuing a Delete on it (which in turn deletes the children), this seems to not throw the sql transaction error above.  But, it does take an extraordinary amount of time - I'm sure there's lots going on with the Delete routine, but is this a limitation of episerver api? I'm not sure any other way i could speed up the delete process... Let's say the site has a total of about 10,000 -15,000 pages, it takes about 3+ hours to delete it all... IF the delete actually works

#71256
May 14, 2013 23:46
Vote:
 

The excpetion indicates the operation has taken long time to operate and the connection is closed during dispose, I'm going to report a bug for it. But the DeleteChildren operatoin should be fast. If you are familiar with sql DB you can run [editDeleteChilds] with params startpage and 1 in the sql script with execution plan to find out why it takes long time. 

#71316
May 15, 2013 13:59
Vote:
 

Im re-bumping this, because I'm having issues programatically deleting a big branch of pages.  I have one parent page, and it has a small amount of children, but one of the children has like 200+ pages (archived stuff) and I keep receiving this error... I can't even remove it from the recycle bin.

I ran exec editDeleteChilds 2, 1 in SQL (2 is the ID of the recycle bin) so i could delete the children of the recycle bin, the stored proc runs very fast, and the execution plan looks ok... however, it appears nothing actually happened.  pages are still showing in my recycle bin and nothing was removed.

#72491
Jun 18, 2013 19:03
Vote:
 

I think you need restart the web app (it is cached data). (run iisreset or touch the web config).

#72500
Jun 19, 2013 7:44
Vote:
 

So i ran exec editDeleteChilds 2, 1 again (THIS time on the right Epi DB) - and it removed all trash bin content in 2m09s - mind that there was at least 4000+ pages in the trash.  I've included the execution plan below (xml format) in case you were interested.  I'm not sure why running this from the DB takes 2 min, which for that amount of pages is probably acceptable.... but running ContentRepository.DeleteChildren(ContentReference.WasteBasket) from the API gives me that Zombie error... any ideas?

<?xml version="1.0" encoding="utf-16"?>
<ShowPlanXML xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Version="1.1.1" Build="10.0.5512.0" xmlns="http://schemas.microsoft.com/sqlserver/2004/07/showplan">
  <BatchSequence>
    <Batch>
      <Statements>
        <StmtSimple StatementCompId="6" StatementEstRows="7283.08" StatementId="1" StatementOptmLevel="TRIVIAL" StatementSubTreeCost="0.107725" StatementText="INSERT INTO #pages (pkID) 
	SELECT 
		fkChildID 
	FROM 
		tblTree 
	WHERE fkParentID=@PageID
" StatementType="INSERT" QueryHash="0x781D88A29EB37498" QueryPlanHash="0x979D69AAC039FEE3">
          <StatementSetOptions ANSI_NULLS="true" ANSI_PADDING="true" ANSI_WARNINGS="true" ARITHABORT="true" CONCAT_NULL_YIELDS_NULL="true" NUMERIC_ROUNDABORT="false" QUOTED_IDENTIFIER="true" />
          <QueryPlan DegreeOfParallelism="1" CachedPlanSize="16" CompileTime="2" CompileCPU="2" CompileMemory="128">
            <RelOp AvgRowSize="9" EstimateCPU="0.00728308" EstimateIO="0.0693211" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="7283.08" LogicalOp="Insert" NodeId="0" Parallel="false" PhysicalOp="Clustered Index Insert" EstimatedTotalSubtreeCost="0.107725">
              <OutputList />
              <RunTimeInformation>
                <RunTimeCountersPerThread Thread="0" ActualRows="7770" ActualEndOfScans="1" ActualExecutions="1" />
              </RunTimeInformation>
              <Update DMLRequestSort="true">
                <Object Database="[tempdb]" Schema="[dbo]" Table="[#pages]" Index="[PK__#pages____40A359E36921665A]" />
                <SetPredicate>
                  <ScalarOperator ScalarString="[#pages].[pkID] = [PhoenixCMS_RC].[dbo].[tblTree].[fkChildID],[#pages].[PageGUID] = NULL">
                    <ScalarExpressionList>
                      <ScalarOperator>
                        <MultipleAssign>
                          <Assign>
                            <ColumnReference Table="[#pages]" Column="pkID" />
                            <ScalarOperator>
                              <Identifier>
                                <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblTree]" Column="fkChildID" />
                              </Identifier>
                            </ScalarOperator>
                          </Assign>
                          <Assign>
                            <ColumnReference Table="[#pages]" Column="PageGUID" />
                            <ScalarOperator>
                              <Const ConstValue="NULL" />
                            </ScalarOperator>
                          </Assign>
                        </MultipleAssign>
                      </ScalarOperator>
                    </ScalarExpressionList>
                  </ScalarOperator>
                </SetPredicate>
                <RelOp AvgRowSize="11" EstimateCPU="0.000728308" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="7283.08" LogicalOp="Top" NodeId="1" Parallel="false" PhysicalOp="Top" EstimatedTotalSubtreeCost="0.031121">
                  <OutputList>
                    <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblTree]" Column="fkChildID" />
                  </OutputList>
                  <RunTimeInformation>
                    <RunTimeCountersPerThread Thread="0" ActualRows="7770" ActualEndOfScans="1" ActualExecutions="1" />
                  </RunTimeInformation>
                  <Top RowCount="true" IsPercent="false" WithTies="false">
                    <TopExpression>
                      <ScalarOperator ScalarString="(0)">
                        <Const ConstValue="(0)" />
                      </ScalarOperator>
                    </TopExpression>
                    <RelOp AvgRowSize="11" EstimateCPU="0.00816839" EstimateIO="0.0222243" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="7283.08" LogicalOp="Clustered Index Seek" NodeId="2" Parallel="false" PhysicalOp="Clustered Index Seek" EstimatedTotalSubtreeCost="0.0303927" TableCardinality="505496">
                      <OutputList>
                        <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblTree]" Column="fkChildID" />
                      </OutputList>
                      <RunTimeInformation>
                        <RunTimeCountersPerThread Thread="0" ActualRows="7770" ActualEndOfScans="1" ActualExecutions="1" />
                      </RunTimeInformation>
                      <IndexScan Ordered="true" ScanDirection="FORWARD" ForcedIndex="false" ForceSeek="false" NoExpandHint="false">
                        <DefinedValues>
                          <DefinedValue>
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblTree]" Column="fkChildID" />
                          </DefinedValue>
                        </DefinedValues>
                        <Object Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblTree]" Index="[PK_tblTree]" IndexKind="Clustered" />
                        <SeekPredicates>
                          <SeekPredicateNew>
                            <SeekKeys>
                              <Prefix ScanType="EQ">
                                <RangeColumns>
                                  <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblTree]" Column="fkParentID" />
                                </RangeColumns>
                                <RangeExpressions>
                                  <ScalarOperator ScalarString="[@PageID]">
                                    <Identifier>
                                      <ColumnReference Column="@PageID" />
                                    </Identifier>
                                  </ScalarOperator>
                                </RangeExpressions>
                              </Prefix>
                            </SeekKeys>
                          </SeekPredicateNew>
                        </SeekPredicates>
                      </IndexScan>
                    </RelOp>
                  </Top>
                </RelOp>
              </Update>
            </RelOp>
            <ParameterList>
              <ColumnReference Column="@PageID" ParameterCompiledValue="(2)" ParameterRuntimeValue="(2)" />
            </ParameterList>
          </QueryPlan>
        </StmtSimple>
      </Statements>
    </Batch>
    <Batch>
      <Statements>
        <StmtSimple StatementCompId="7" StatementEstRows="7770" StatementId="2" StatementOptmLevel="FULL" StatementSubTreeCost="0.944053" StatementText="UPDATE #pages 
		SET PageGUID = tblPage.PageGUID
	FROM tblPage INNER JOIN #pages ON #pages.pkID=tblPage.pkID
" StatementType="UPDATE" QueryHash="0x27ECAFB9E60E8295" QueryPlanHash="0x698011D90C8CE69E">
          <StatementSetOptions ANSI_NULLS="true" ANSI_PADDING="true" ANSI_WARNINGS="true" ARITHABORT="true" CONCAT_NULL_YIELDS_NULL="true" NUMERIC_ROUNDABORT="false" QUOTED_IDENTIFIER="true" />
          <QueryPlan DegreeOfParallelism="1" MemoryGrant="3112" CachedPlanSize="40" CompileTime="29" CompileCPU="29" CompileMemory="304">
            <RelOp AvgRowSize="9" EstimateCPU="0.00777" EstimateIO="0.192432" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="7770" LogicalOp="Update" NodeId="0" Parallel="false" PhysicalOp="Clustered Index Update" EstimatedTotalSubtreeCost="0.944053">
              <OutputList />
              <RunTimeInformation>
                <RunTimeCountersPerThread Thread="0" ActualRows="7770" ActualEndOfScans="1" ActualExecutions="1" />
              </RunTimeInformation>
              <Update DMLRequestSort="false">
                <Object Database="[tempdb]" Schema="[dbo]" Table="[#pages]" Index="[PK__#pages____40A359E36921665A]" />
                <SetPredicate>
                  <ScalarOperator ScalarString="[#pages].[PageGUID] = [PhoenixCMS_RC].[dbo].[tblContent].[ContentGUID]">
                    <ScalarExpressionList>
                      <ScalarOperator>
                        <MultipleAssign>
                          <Assign>
                            <ColumnReference Table="[#pages]" Column="PageGUID" />
                            <ScalarOperator>
                              <Identifier>
                                <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContent]" Column="ContentGUID" />
                              </Identifier>
                            </ScalarOperator>
                          </Assign>
                        </MultipleAssign>
                      </ScalarOperator>
                    </ScalarExpressionList>
                  </ScalarOperator>
                </SetPredicate>
                <RelOp AvgRowSize="27" EstimateCPU="0.000777" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="7770" LogicalOp="Top" NodeId="1" Parallel="false" PhysicalOp="Top" EstimatedTotalSubtreeCost="0.743851">
                  <OutputList>
                    <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContent]" Column="ContentGUID" />
                    <ColumnReference Table="[#pages]" Column="pkID" />
                  </OutputList>
                  <RunTimeInformation>
                    <RunTimeCountersPerThread Thread="0" ActualRows="7770" ActualEndOfScans="1" ActualExecutions="1" />
                  </RunTimeInformation>
                  <Top RowCount="true" IsPercent="false" WithTies="false">
                    <TopExpression>
                      <ScalarOperator ScalarString="(0)">
                        <Const ConstValue="(0)" />
                      </ScalarOperator>
                    </TopExpression>
                    <RelOp AvgRowSize="27" EstimateCPU="0.407878" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="7770" LogicalOp="Inner Join" NodeId="2" Parallel="false" PhysicalOp="Hash Match" EstimatedTotalSubtreeCost="0.743074">
                      <OutputList>
                        <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContent]" Column="ContentGUID" />
                        <ColumnReference Table="[#pages]" Column="pkID" />
                      </OutputList>
                      <MemoryFractions Input="1" Output="1" />
                      <RunTimeInformation>
                        <RunTimeCountersPerThread Thread="0" ActualRows="7770" ActualEndOfScans="1" ActualExecutions="1" />
                      </RunTimeInformation>
                      <Hash>
                        <DefinedValues />
                        <HashKeysBuild>
                          <ColumnReference Table="[#pages]" Column="pkID" />
                        </HashKeysBuild>
                        <HashKeysProbe>
                          <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContent]" Column="pkID" />
                        </HashKeysProbe>
                        <RelOp AvgRowSize="11" EstimateCPU="0.008704" EstimateIO="0.023125" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="7770" LogicalOp="Clustered Index Scan" NodeId="3" Parallel="false" PhysicalOp="Clustered Index Scan" EstimatedTotalSubtreeCost="0.031829" TableCardinality="7770">
                          <OutputList>
                            <ColumnReference Table="[#pages]" Column="pkID" />
                          </OutputList>
                          <RunTimeInformation>
                            <RunTimeCountersPerThread Thread="0" ActualRows="7770" ActualEndOfScans="1" ActualExecutions="1" />
                          </RunTimeInformation>
                          <IndexScan Ordered="true" ForcedIndex="false" NoExpandHint="false">
                            <DefinedValues>
                              <DefinedValue>
                                <ColumnReference Table="[#pages]" Column="pkID" />
                              </DefinedValue>
                            </DefinedValues>
                            <Object Database="[tempdb]" Schema="[dbo]" Table="[#pages]" Index="[PK__#pages____40A359E36921665A]" />
                          </IndexScan>
                        </RelOp>
                        <RelOp AvgRowSize="27" EstimateCPU="0.0743124" EstimateIO="0.229051" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="67414" LogicalOp="Index Scan" NodeId="4" Parallel="false" PhysicalOp="Index Scan" EstimatedTotalSubtreeCost="0.303363" TableCardinality="67414">
                          <OutputList>
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContent]" Column="pkID" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContent]" Column="ContentGUID" />
                          </OutputList>
                          <RunTimeInformation>
                            <RunTimeCountersPerThread Thread="0" ActualRows="67414" ActualEndOfScans="1" ActualExecutions="1" />
                          </RunTimeInformation>
                          <IndexScan Ordered="false" ForcedIndex="false" ForceSeek="false" NoExpandHint="false">
                            <DefinedValues>
                              <DefinedValue>
                                <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContent]" Column="pkID" />
                              </DefinedValue>
                              <DefinedValue>
                                <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContent]" Column="ContentGUID" />
                              </DefinedValue>
                            </DefinedValues>
                            <Object Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContent]" Index="[IDX_tblContent_ContentGUID]" IndexKind="NonClustered" />
                          </IndexScan>
                        </RelOp>
                      </Hash>
                    </RelOp>
                  </Top>
                </RelOp>
              </Update>
            </RelOp>
          </QueryPlan>
        </StmtSimple>
      </Statements>
    </Batch>
    <Batch>
      <Statements>
        <StmtSimple StatementCompId="14" StatementEstRows="7942.77" StatementId="3" StatementOptmLevel="FULL" StatementSubTreeCost="3.45219" StatementText="UPDATE 
	    tblPage 
	SET 
	    fkParentID = NULL,
	    ArchivePageGUID=NULL 
	WHERE 
	    pkID IN ( SELECT pkID FROM #pages )
" StatementType="UPDATE" QueryHash="0x5A4ACC6AA0B007E9" QueryPlanHash="0xA3C647E1EA5036D5">
          <StatementSetOptions ANSI_NULLS="true" ANSI_PADDING="true" ANSI_WARNINGS="true" ARITHABORT="true" CONCAT_NULL_YIELDS_NULL="true" NUMERIC_ROUNDABORT="false" QUOTED_IDENTIFIER="true" />
          <QueryPlan DegreeOfParallelism="1" CachedPlanSize="48" CompileTime="26" CompileCPU="26" CompileMemory="872">
            <RelOp AvgRowSize="9" EstimateCPU="0.0317711" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="15885.5" LogicalOp="Sequence" NodeId="1" Parallel="false" PhysicalOp="Sequence" EstimatedTotalSubtreeCost="3.45219">
              <OutputList />
              <RunTimeInformation>
                <RunTimeCountersPerThread Thread="0" ActualRows="15540" ActualEndOfScans="1" ActualExecutions="1" />
              </RunTimeInformation>
              <Sequence>
                <RelOp AvgRowSize="9" EstimateCPU="0.000844694" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="15885.5" LogicalOp="Eager Spool" NodeId="2" Parallel="false" PhysicalOp="Row Count Spool" EstimatedTotalSubtreeCost="1.71021">
                  <OutputList />
                  <RunTimeInformation>
                    <RunTimeCountersPerThread Thread="0" ActualRebinds="1" ActualRewinds="0" ActualRows="15540" ActualEndOfScans="1" ActualExecutions="1" />
                  </RunTimeInformation>
                  <RowCountSpool>
                    <RelOp AvgRowSize="9" EstimateCPU="0.0119142" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="15885.5" LogicalOp="Split" NodeId="3" Parallel="false" PhysicalOp="Split" EstimatedTotalSubtreeCost="3.41705">
                      <OutputList />
                      <RunTimeInformation>
                        <RunTimeCountersPerThread Thread="0" ActualRows="15540" ActualEndOfScans="1" ActualExecutions="1" />
                      </RunTimeInformation>
                      <Split>
                        <DefinedValues>
                          <DefinedValue>
                            <ColumnReference Column="Act1024" />
                          </DefinedValue>
                        </DefinedValues>
                        <ActionColumn>
                          <ColumnReference Column="Act1024" />
                        </ActionColumn>
                        <RelOp AvgRowSize="9" EstimateCPU="0.0238283" EstimateIO="1.80013" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="7942.77" LogicalOp="Update" NodeId="4" Parallel="false" PhysicalOp="Clustered Index Update" EstimatedTotalSubtreeCost="3.40513">
                          <OutputList />
                          <RunTimeInformation>
                            <RunTimeCountersPerThread Thread="0" ActualRows="7770" ActualEndOfScans="1" ActualExecutions="1" />
                          </RunTimeInformation>
                          <Update DMLRequestSort="true">
                            <Object Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContent]" Index="[PK_tblContent]" IndexKind="Clustered" />
                            <Object Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContent]" Index="[IDX_tblContent_fkParentID]" IndexKind="NonClustered" />
                            <Object Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContent]" Index="[IDX_tblContent_ArchiveContentGUID]" IndexKind="NonClustered" />
                            <SetPredicate>
                              <ScalarOperator ScalarString="[PhoenixCMS_RC].[dbo].[tblContent].[fkParentID] = [Expr1006],[PhoenixCMS_RC].[dbo].[tblContent].[ArchiveContentGUID] = [Expr1007]">
                                <ScalarExpressionList>
                                  <ScalarOperator>
                                    <MultipleAssign>
                                      <Assign>
                                        <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContent]" Column="fkParentID" />
                                        <ScalarOperator>
                                          <Identifier>
                                            <ColumnReference Column="Expr1006" />
                                          </Identifier>
                                        </ScalarOperator>
                                      </Assign>
                                      <Assign>
                                        <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContent]" Column="ArchiveContentGUID" />
                                        <ScalarOperator>
                                          <Identifier>
                                            <ColumnReference Column="Expr1007" />
                                          </Identifier>
                                        </ScalarOperator>
                                      </Assign>
                                    </MultipleAssign>
                                  </ScalarOperator>
                                </ScalarExpressionList>
                              </ScalarOperator>
                            </SetPredicate>
                            <RelOp AvgRowSize="39" EstimateCPU="0.000794277" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="7942.77" LogicalOp="Compute Scalar" NodeId="5" Parallel="false" PhysicalOp="Compute Scalar" EstimatedTotalSubtreeCost="1.58118">
                              <OutputList>
                                <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContent]" Column="pkID" />
                                <ColumnReference Column="Expr1006" />
                                <ColumnReference Column="Expr1007" />
                                <ColumnReference Column="Expr1020" />
                                <ColumnReference Column="Expr1021" />
                              </OutputList>
                              <RunTimeInformation>
                                <RunTimeCountersPerThread Thread="0" ActualRows="7770" ActualEndOfScans="1" ActualExecutions="1" />
                              </RunTimeInformation>
                              <ComputeScalar>
                                <DefinedValues>
                                  <DefinedValue>
                                    <ColumnReference Column="Expr1020" />
                                    <ScalarOperator ScalarString="[Expr1020]">
                                      <Identifier>
                                        <ColumnReference Column="Expr1020" />
                                      </Identifier>
                                    </ScalarOperator>
                                  </DefinedValue>
                                  <DefinedValue>
                                    <ColumnReference Column="Expr1021" />
                                    <ScalarOperator ScalarString="[Expr1021]">
                                      <Identifier>
                                        <ColumnReference Column="Expr1021" />
                                      </Identifier>
                                    </ScalarOperator>
                                  </DefinedValue>
                                </DefinedValues>
                                <RelOp AvgRowSize="39" EstimateCPU="0.000794277" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="7942.77" LogicalOp="Compute Scalar" NodeId="6" Parallel="false" PhysicalOp="Compute Scalar" EstimatedTotalSubtreeCost="1.58118">
                                  <OutputList>
                                    <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContent]" Column="pkID" />
                                    <ColumnReference Column="Expr1006" />
                                    <ColumnReference Column="Expr1007" />
                                    <ColumnReference Column="Expr1020" />
                                    <ColumnReference Column="Expr1021" />
                                  </OutputList>
                                  <ComputeScalar>
                                    <DefinedValues>
                                      <DefinedValue>
                                        <ColumnReference Column="Expr1020" />
                                        <ScalarOperator ScalarString="CASE WHEN [Expr1014] THEN (0) ELSE (1) END">
                                          <IF>
                                            <Condition>
                                              <ScalarOperator>
                                                <Identifier>
                                                  <ColumnReference Column="Expr1014" />
                                                </Identifier>
                                              </ScalarOperator>
                                            </Condition>
                                            <Then>
                                              <ScalarOperator>
                                                <Const ConstValue="(0)" />
                                              </ScalarOperator>
                                            </Then>
                                            <Else>
                                              <ScalarOperator>
                                                <Const ConstValue="(1)" />
                                              </ScalarOperator>
                                            </Else>
                                          </IF>
                                        </ScalarOperator>
                                      </DefinedValue>
                                      <DefinedValue>
                                        <ColumnReference Column="Expr1021" />
                                        <ScalarOperator ScalarString="CASE WHEN [Expr1015] THEN (0) ELSE (1) END">
                                          <IF>
                                            <Condition>
                                              <ScalarOperator>
                                                <Identifier>
                                                  <ColumnReference Column="Expr1015" />
                                                </Identifier>
                                              </ScalarOperator>
                                            </Condition>
                                            <Then>
                                              <ScalarOperator>
                                                <Const ConstValue="(0)" />
                                              </ScalarOperator>
                                            </Then>
                                            <Else>
                                              <ScalarOperator>
                                                <Const ConstValue="(1)" />
                                              </ScalarOperator>
                                            </Else>
                                          </IF>
                                        </ScalarOperator>
                                      </DefinedValue>
                                    </DefinedValues>
                                    <RelOp AvgRowSize="32" EstimateCPU="0.000794277" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="7942.77" LogicalOp="Compute Scalar" NodeId="7" Parallel="false" PhysicalOp="Compute Scalar" EstimatedTotalSubtreeCost="1.58038">
                                      <OutputList>
                                        <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContent]" Column="pkID" />
                                        <ColumnReference Column="Expr1006" />
                                        <ColumnReference Column="Expr1007" />
                                        <ColumnReference Column="Expr1014" />
                                        <ColumnReference Column="Expr1015" />
                                      </OutputList>
                                      <ComputeScalar>
                                        <DefinedValues>
                                          <DefinedValue>
                                            <ColumnReference Column="Expr1006" />
                                            <ScalarOperator ScalarString="NULL">
                                              <Const ConstValue="NULL" />
                                            </ScalarOperator>
                                          </DefinedValue>
                                          <DefinedValue>
                                            <ColumnReference Column="Expr1007" />
                                            <ScalarOperator ScalarString="NULL">
                                              <Const ConstValue="NULL" />
                                            </ScalarOperator>
                                          </DefinedValue>
                                        </DefinedValues>
                                        <RelOp AvgRowSize="12" EstimateCPU="0.000794277" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="7942.77" LogicalOp="Top" NodeId="8" Parallel="false" PhysicalOp="Top" EstimatedTotalSubtreeCost="1.57959">
                                          <OutputList>
                                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContent]" Column="pkID" />
                                            <ColumnReference Column="Expr1014" />
                                            <ColumnReference Column="Expr1015" />
                                          </OutputList>
                                          <RunTimeInformation>
                                            <RunTimeCountersPerThread Thread="0" ActualRows="7770" ActualEndOfScans="1" ActualExecutions="1" />
                                          </RunTimeInformation>
                                          <Top RowCount="true" IsPercent="false" WithTies="false">
                                            <TopExpression>
                                              <ScalarOperator ScalarString="(0)">
                                                <Const ConstValue="(0)" />
                                              </ScalarOperator>
                                            </TopExpression>
                                            <RelOp AvgRowSize="12" EstimateCPU="0.164263" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="7770" LogicalOp="Inner Join" NodeId="10" Parallel="false" PhysicalOp="Merge Join" EstimatedTotalSubtreeCost="1.57879">
                                              <OutputList>
                                                <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContent]" Column="pkID" />
                                                <ColumnReference Column="Expr1014" />
                                                <ColumnReference Column="Expr1015" />
                                              </OutputList>
                                              <RunTimeInformation>
                                                <RunTimeCountersPerThread Thread="0" ActualRows="7770" ActualEndOfScans="1" ActualExecutions="1" />
                                              </RunTimeInformation>
                                              <Merge ManyToMany="false">
                                                <InnerSideJoinColumns>
                                                  <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContent]" Column="pkID" />
                                                </InnerSideJoinColumns>
                                                <OuterSideJoinColumns>
                                                  <ColumnReference Database="[tempdb]" Schema="[dbo]" Table="[#pages]" Column="pkID" />
                                                </OuterSideJoinColumns>
                                                <Residual>
                                                  <ScalarOperator ScalarString="[PhoenixCMS_RC].[dbo].[tblContent].[pkID]=[tempdb].[dbo].[#pages].[pkID]">
                                                    <Compare CompareOp="EQ">
                                                      <ScalarOperator>
                                                        <Identifier>
                                                          <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContent]" Column="pkID" />
                                                        </Identifier>
                                                      </ScalarOperator>
                                                      <ScalarOperator>
                                                        <Identifier>
                                                          <ColumnReference Database="[tempdb]" Schema="[dbo]" Table="[#pages]" Column="pkID" />
                                                        </Identifier>
                                                      </ScalarOperator>
                                                    </Compare>
                                                  </ScalarOperator>
                                                </Residual>
                                                <RelOp AvgRowSize="11" EstimateCPU="0.008704" EstimateIO="0.023125" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="7770" LogicalOp="Clustered Index Scan" NodeId="11" Parallel="false" PhysicalOp="Clustered Index Scan" EstimatedTotalSubtreeCost="0.031829" TableCardinality="7770">
                                                  <OutputList>
                                                    <ColumnReference Database="[tempdb]" Schema="[dbo]" Table="[#pages]" Column="pkID" />
                                                  </OutputList>
                                                  <RunTimeInformation>
                                                    <RunTimeCountersPerThread Thread="0" ActualRows="7770" ActualEndOfScans="1" ActualExecutions="1" />
                                                  </RunTimeInformation>
                                                  <IndexScan Ordered="true" ScanDirection="FORWARD" ForcedIndex="false" ForceSeek="false" NoExpandHint="false">
                                                    <DefinedValues>
                                                      <DefinedValue>
                                                        <ColumnReference Database="[tempdb]" Schema="[dbo]" Table="[#pages]" Column="pkID" />
                                                      </DefinedValue>
                                                    </DefinedValues>
                                                    <Object Database="[tempdb]" Schema="[dbo]" Table="[#pages]" Index="[PK__#pages____40A359E36921665A]" IndexKind="Clustered" />
                                                  </IndexScan>
                                                </RelOp>
                                                <RelOp AvgRowSize="12" EstimateCPU="0.0067414" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="67414" LogicalOp="Compute Scalar" NodeId="12" Parallel="false" PhysicalOp="Compute Scalar" EstimatedTotalSubtreeCost="1.3827">
                                                  <OutputList>
                                                    <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContent]" Column="pkID" />
                                                    <ColumnReference Column="Expr1014" />
                                                    <ColumnReference Column="Expr1015" />
                                                  </OutputList>
                                                  <ComputeScalar>
                                                    <DefinedValues>
                                                      <DefinedValue>
                                                        <ColumnReference Column="Expr1014" />
                                                        <ScalarOperator ScalarString="CASE WHEN [PhoenixCMS_RC].[dbo].[tblContent].[fkParentID] IS NULL THEN (1) ELSE (0) END">
                                                          <IF>
                                                            <Condition>
                                                              <ScalarOperator>
                                                                <Compare CompareOp="BINARY IS">
                                                                  <ScalarOperator>
                                                                    <Identifier>
                                                                      <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContent]" Column="fkParentID" />
                                                                    </Identifier>
                                                                  </ScalarOperator>
                                                                  <ScalarOperator>
                                                                    <Const ConstValue="NULL" />
                                                                  </ScalarOperator>
                                                                </Compare>
                                                              </ScalarOperator>
                                                            </Condition>
                                                            <Then>
                                                              <ScalarOperator>
                                                                <Const ConstValue="(1)" />
                                                              </ScalarOperator>
                                                            </Then>
                                                            <Else>
                                                              <ScalarOperator>
                                                                <Const ConstValue="(0)" />
                                                              </ScalarOperator>
                                                            </Else>
                                                          </IF>
                                                        </ScalarOperator>
                                                      </DefinedValue>
                                                      <DefinedValue>
                                                        <ColumnReference Column="Expr1015" />
                                                        <ScalarOperator ScalarString="CASE WHEN [PhoenixCMS_RC].[dbo].[tblContent].[ArchiveContentGUID] IS NULL THEN (1) ELSE (0) END">
                                                          <IF>
                                                            <Condition>
                                                              <ScalarOperator>
                                                                <Compare CompareOp="BINARY IS">
                                                                  <ScalarOperator>
                                                                    <Identifier>
                                                                      <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContent]" Column="ArchiveContentGUID" />
                                                                    </Identifier>
                                                                  </ScalarOperator>
                                                                  <ScalarOperator>
                                                                    <Const ConstValue="NULL" />
                                                                  </ScalarOperator>
                                                                </Compare>
                                                              </ScalarOperator>
                                                            </Condition>
                                                            <Then>
                                                              <ScalarOperator>
                                                                <Const ConstValue="(1)" />
                                                              </ScalarOperator>
                                                            </Then>
                                                            <Else>
                                                              <ScalarOperator>
                                                                <Const ConstValue="(0)" />
                                                              </ScalarOperator>
                                                            </Else>
                                                          </IF>
                                                        </ScalarOperator>
                                                      </DefinedValue>
                                                    </DefinedValues>
                                                    <RelOp AvgRowSize="31" EstimateCPU="0.0743124" EstimateIO="1.30164" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="67414" LogicalOp="Clustered Index Scan" NodeId="13" Parallel="false" PhysicalOp="Clustered Index Scan" EstimatedTotalSubtreeCost="1.37596" TableCardinality="67414">
                                                      <OutputList>
                                                        <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContent]" Column="pkID" />
                                                        <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContent]" Column="fkParentID" />
                                                        <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContent]" Column="ArchiveContentGUID" />
                                                      </OutputList>
                                                      <RunTimeInformation>
                                                        <RunTimeCountersPerThread Thread="0" ActualRows="67199" ActualEndOfScans="0" ActualExecutions="1" />
                                                      </RunTimeInformation>
                                                      <IndexScan Ordered="true" ScanDirection="FORWARD" ForcedIndex="false" ForceSeek="false" NoExpandHint="false">
                                                        <DefinedValues>
                                                          <DefinedValue>
                                                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContent]" Column="pkID" />
                                                          </DefinedValue>
                                                          <DefinedValue>
                                                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContent]" Column="fkParentID" />
                                                          </DefinedValue>
                                                          <DefinedValue>
                                                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContent]" Column="ArchiveContentGUID" />
                                                          </DefinedValue>
                                                        </DefinedValues>
                                                        <Object Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContent]" Index="[PK_tblContent]" IndexKind="Clustered" />
                                                      </IndexScan>
                                                    </RelOp>
                                                  </ComputeScalar>
                                                </RelOp>
                                              </Merge>
                                            </RelOp>
                                          </Top>
                                        </RelOp>
                                      </ComputeScalar>
                                    </RelOp>
                                  </ComputeScalar>
                                </RelOp>
                              </ComputeScalar>
                            </RelOp>
                          </Update>
                        </RelOp>
                      </Split>
                    </RelOp>
                  </RowCountSpool>
                </RelOp>
                <RelOp AvgRowSize="9" EstimateCPU="0.000844694" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="15885.5" LogicalOp="Eager Spool" NodeId="37" Parallel="false" PhysicalOp="Row Count Spool" EstimatedTotalSubtreeCost="1.71021">
                  <OutputList />
                  <RunTimeInformation>
                    <RunTimeCountersPerThread Thread="0" ActualRebinds="1" ActualRewinds="0" ActualRows="15540" ActualEndOfScans="1" ActualExecutions="1" />
                  </RunTimeInformation>
                  <RowCountSpool PrimaryNodeId="2" />
                </RelOp>
              </Sequence>
            </RelOp>
          </QueryPlan>
        </StmtSimple>
      </Statements>
    </Batch>
    <Batch>
      <Statements>
        <StmtSimple StatementCompId="15" StatementEstRows="12374.5" StatementId="4" StatementOptmLevel="FULL" StatementSubTreeCost="12.2009" StatementText="UPDATE 
	    tblWorkPage 
	SET 
	    fkMasterVersionID=NULL,
	    PageLinkGUID=NULL,
	    ArchivePageGUID=NULL 
	WHERE 
	    fkPageID IN ( SELECT pkID FROM #pages )
-- VERSION DATA
	-- Delete page links, archiving and fetch data pointing to us from external pages
" StatementType="UPDATE" QueryHash="0xFF8B731D205B9C1A" QueryPlanHash="0x124D958EBA3EA3C4">
          <StatementSetOptions ANSI_NULLS="true" ANSI_PADDING="true" ANSI_WARNINGS="true" ARITHABORT="true" CONCAT_NULL_YIELDS_NULL="true" NUMERIC_ROUNDABORT="false" QUOTED_IDENTIFIER="true" />
          <QueryPlan DegreeOfParallelism="4" MemoryGrant="8800" CachedPlanSize="88" CompileTime="67" CompileCPU="67" CompileMemory="1096">
            <RelOp AvgRowSize="9" EstimateCPU="0.049498" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="24749" LogicalOp="Sequence" NodeId="1" Parallel="false" PhysicalOp="Sequence" EstimatedTotalSubtreeCost="12.2009">
              <OutputList />
              <RunTimeInformation>
                <RunTimeCountersPerThread Thread="0" ActualRows="27100" ActualEndOfScans="1" ActualExecutions="1" />
              </RunTimeInformation>
              <Sequence>
                <RelOp AvgRowSize="9" EstimateCPU="0.00128772" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="24749" LogicalOp="Eager Spool" NodeId="2" Parallel="false" PhysicalOp="Row Count Spool" EstimatedTotalSubtreeCost="6.0757">
                  <OutputList />
                  <RunTimeInformation>
                    <RunTimeCountersPerThread Thread="0" ActualRebinds="1" ActualRewinds="0" ActualRows="27100" ActualEndOfScans="1" ActualExecutions="1" />
                  </RunTimeInformation>
                  <RowCountSpool>
                    <RelOp AvgRowSize="9" EstimateCPU="0.0185618" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="24749" LogicalOp="Split" NodeId="3" Parallel="false" PhysicalOp="Split" EstimatedTotalSubtreeCost="12.1463">
                      <OutputList />
                      <RunTimeInformation>
                        <RunTimeCountersPerThread Thread="0" ActualRows="27100" ActualEndOfScans="1" ActualExecutions="1" />
                      </RunTimeInformation>
                      <Split>
                        <DefinedValues>
                          <DefinedValue>
                            <ColumnReference Column="Act1030" />
                          </DefinedValue>
                        </DefinedValues>
                        <ActionColumn>
                          <ColumnReference Column="Act1030" />
                        </ActionColumn>
                        <RelOp AvgRowSize="9" EstimateCPU="0.049498" EstimateIO="6.97853" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="12374.5" LogicalOp="Update" NodeId="4" Parallel="false" PhysicalOp="Clustered Index Update" EstimatedTotalSubtreeCost="12.1277">
                          <OutputList />
                          <RunTimeInformation>
                            <RunTimeCountersPerThread Thread="0" ActualRows="13550" ActualEndOfScans="1" ActualExecutions="1" />
                          </RunTimeInformation>
                          <Update DMLRequestSort="true">
                            <Object Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Index="[PK_tblWorkContent]" IndexKind="Clustered" />
                            <Object Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Index="[IDX_tblWorkContent_ArchiveContentGUID]" IndexKind="NonClustered" />
                            <Object Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Index="[IDX_tblWorkContent_ContentLinkGUID]" IndexKind="NonClustered" />
                            <Object Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Index="[IDX_tblWorkContent_fkMasterVersionID]" IndexKind="NonClustered" />
                            <SetPredicate>
                              <ScalarOperator ScalarString="[PhoenixCMS_RC].[dbo].[tblWorkContent].[fkMasterVersionID] = [Expr1006],[PhoenixCMS_RC].[dbo].[tblWorkContent].[ContentLinkGUID] = [Expr1007],[PhoenixCMS_RC].[dbo].[tblWorkContent].[ArchiveContentGUID] = [Expr1008]">
                                <ScalarExpressionList>
                                  <ScalarOperator>
                                    <MultipleAssign>
                                      <Assign>
                                        <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="fkMasterVersionID" />
                                        <ScalarOperator>
                                          <Identifier>
                                            <ColumnReference Column="Expr1006" />
                                          </Identifier>
                                        </ScalarOperator>
                                      </Assign>
                                      <Assign>
                                        <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="ContentLinkGUID" />
                                        <ScalarOperator>
                                          <Identifier>
                                            <ColumnReference Column="Expr1007" />
                                          </Identifier>
                                        </ScalarOperator>
                                      </Assign>
                                      <Assign>
                                        <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="ArchiveContentGUID" />
                                        <ScalarOperator>
                                          <Identifier>
                                            <ColumnReference Column="Expr1008" />
                                          </Identifier>
                                        </ScalarOperator>
                                      </Assign>
                                    </MultipleAssign>
                                  </ScalarOperator>
                                </ScalarExpressionList>
                              </ScalarOperator>
                            </SetPredicate>
                            <RelOp AvgRowSize="59" EstimateCPU="0.00123745" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="12374.5" LogicalOp="Compute Scalar" NodeId="5" Parallel="false" PhysicalOp="Compute Scalar" EstimatedTotalSubtreeCost="5.09967">
                              <OutputList>
                                <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="pkID" />
                                <ColumnReference Column="Expr1006" />
                                <ColumnReference Column="Expr1007" />
                                <ColumnReference Column="Expr1008" />
                                <ColumnReference Column="Expr1024" />
                                <ColumnReference Column="Expr1025" />
                                <ColumnReference Column="Expr1026" />
                              </OutputList>
                              <RunTimeInformation>
                                <RunTimeCountersPerThread Thread="0" ActualRows="13550" ActualEndOfScans="1" ActualExecutions="1" />
                              </RunTimeInformation>
                              <ComputeScalar>
                                <DefinedValues>
                                  <DefinedValue>
                                    <ColumnReference Column="Expr1024" />
                                    <ScalarOperator ScalarString="[Expr1024]">
                                      <Identifier>
                                        <ColumnReference Column="Expr1024" />
                                      </Identifier>
                                    </ScalarOperator>
                                  </DefinedValue>
                                  <DefinedValue>
                                    <ColumnReference Column="Expr1025" />
                                    <ScalarOperator ScalarString="[Expr1025]">
                                      <Identifier>
                                        <ColumnReference Column="Expr1025" />
                                      </Identifier>
                                    </ScalarOperator>
                                  </DefinedValue>
                                  <DefinedValue>
                                    <ColumnReference Column="Expr1026" />
                                    <ScalarOperator ScalarString="[Expr1026]">
                                      <Identifier>
                                        <ColumnReference Column="Expr1026" />
                                      </Identifier>
                                    </ScalarOperator>
                                  </DefinedValue>
                                </DefinedValues>
                                <RelOp AvgRowSize="59" EstimateCPU="0.00123745" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="12374.5" LogicalOp="Compute Scalar" NodeId="6" Parallel="false" PhysicalOp="Compute Scalar" EstimatedTotalSubtreeCost="5.09967">
                                  <OutputList>
                                    <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="pkID" />
                                    <ColumnReference Column="Expr1006" />
                                    <ColumnReference Column="Expr1007" />
                                    <ColumnReference Column="Expr1008" />
                                    <ColumnReference Column="Expr1024" />
                                    <ColumnReference Column="Expr1025" />
                                    <ColumnReference Column="Expr1026" />
                                  </OutputList>
                                  <ComputeScalar>
                                    <DefinedValues>
                                      <DefinedValue>
                                        <ColumnReference Column="Expr1024" />
                                        <ScalarOperator ScalarString="CASE WHEN [Expr1017] THEN (0) ELSE (1) END">
                                          <IF>
                                            <Condition>
                                              <ScalarOperator>
                                                <Identifier>
                                                  <ColumnReference Column="Expr1017" />
                                                </Identifier>
                                              </ScalarOperator>
                                            </Condition>
                                            <Then>
                                              <ScalarOperator>
                                                <Const ConstValue="(0)" />
                                              </ScalarOperator>
                                            </Then>
                                            <Else>
                                              <ScalarOperator>
                                                <Const ConstValue="(1)" />
                                              </ScalarOperator>
                                            </Else>
                                          </IF>
                                        </ScalarOperator>
                                      </DefinedValue>
                                      <DefinedValue>
                                        <ColumnReference Column="Expr1025" />
                                        <ScalarOperator ScalarString="CASE WHEN [Expr1016] THEN (0) ELSE (1) END">
                                          <IF>
                                            <Condition>
                                              <ScalarOperator>
                                                <Identifier>
                                                  <ColumnReference Column="Expr1016" />
                                                </Identifier>
                                              </ScalarOperator>
                                            </Condition>
                                            <Then>
                                              <ScalarOperator>
                                                <Const ConstValue="(0)" />
                                              </ScalarOperator>
                                            </Then>
                                            <Else>
                                              <ScalarOperator>
                                                <Const ConstValue="(1)" />
                                              </ScalarOperator>
                                            </Else>
                                          </IF>
                                        </ScalarOperator>
                                      </DefinedValue>
                                      <DefinedValue>
                                        <ColumnReference Column="Expr1026" />
                                        <ScalarOperator ScalarString="CASE WHEN [Expr1015] THEN (0) ELSE (1) END">
                                          <IF>
                                            <Condition>
                                              <ScalarOperator>
                                                <Identifier>
                                                  <ColumnReference Column="Expr1015" />
                                                </Identifier>
                                              </ScalarOperator>
                                            </Condition>
                                            <Then>
                                              <ScalarOperator>
                                                <Const ConstValue="(0)" />
                                              </ScalarOperator>
                                            </Then>
                                            <Else>
                                              <ScalarOperator>
                                                <Const ConstValue="(1)" />
                                              </ScalarOperator>
                                            </Else>
                                          </IF>
                                        </ScalarOperator>
                                      </DefinedValue>
                                    </DefinedValues>
                                    <RelOp AvgRowSize="48" EstimateCPU="0.00123745" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="12374.5" LogicalOp="Compute Scalar" NodeId="7" Parallel="false" PhysicalOp="Compute Scalar" EstimatedTotalSubtreeCost="5.09843">
                                      <OutputList>
                                        <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="pkID" />
                                        <ColumnReference Column="Expr1006" />
                                        <ColumnReference Column="Expr1007" />
                                        <ColumnReference Column="Expr1008" />
                                        <ColumnReference Column="Expr1015" />
                                        <ColumnReference Column="Expr1016" />
                                        <ColumnReference Column="Expr1017" />
                                      </OutputList>
                                      <ComputeScalar>
                                        <DefinedValues>
                                          <DefinedValue>
                                            <ColumnReference Column="Expr1006" />
                                            <ScalarOperator ScalarString="NULL">
                                              <Const ConstValue="NULL" />
                                            </ScalarOperator>
                                          </DefinedValue>
                                          <DefinedValue>
                                            <ColumnReference Column="Expr1007" />
                                            <ScalarOperator ScalarString="NULL">
                                              <Const ConstValue="NULL" />
                                            </ScalarOperator>
                                          </DefinedValue>
                                          <DefinedValue>
                                            <ColumnReference Column="Expr1008" />
                                            <ScalarOperator ScalarString="NULL">
                                              <Const ConstValue="NULL" />
                                            </ScalarOperator>
                                          </DefinedValue>
                                        </DefinedValues>
                                        <RelOp AvgRowSize="12" EstimateCPU="0.00123745" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="12374.5" LogicalOp="Top" NodeId="8" Parallel="false" PhysicalOp="Top" EstimatedTotalSubtreeCost="5.0972">
                                          <OutputList>
                                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="pkID" />
                                            <ColumnReference Column="Expr1015" />
                                            <ColumnReference Column="Expr1016" />
                                            <ColumnReference Column="Expr1017" />
                                          </OutputList>
                                          <RunTimeInformation>
                                            <RunTimeCountersPerThread Thread="0" ActualRows="13550" ActualEndOfScans="1" ActualExecutions="1" />
                                          </RunTimeInformation>
                                          <Top RowCount="true" IsPercent="false" WithTies="false">
                                            <TopExpression>
                                              <ScalarOperator ScalarString="(0)">
                                                <Const ConstValue="(0)" />
                                              </ScalarOperator>
                                            </TopExpression>
                                            <RelOp AvgRowSize="12" EstimateCPU="0.111355" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="12374.3" LogicalOp="Gather Streams" NodeId="10" Parallel="true" PhysicalOp="Parallelism" EstimatedTotalSubtreeCost="5.09596">
                                              <OutputList>
                                                <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="pkID" />
                                                <ColumnReference Column="Expr1015" />
                                                <ColumnReference Column="Expr1016" />
                                                <ColumnReference Column="Expr1017" />
                                              </OutputList>
                                              <RunTimeInformation>
                                                <RunTimeCountersPerThread Thread="0" ActualRows="13550" ActualEndOfScans="1" ActualExecutions="1" />
                                              </RunTimeInformation>
                                              <Parallelism>
                                                <OrderBy>
                                                  <OrderByColumn Ascending="true">
                                                    <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="pkID" />
                                                  </OrderByColumn>
                                                </OrderBy>
                                                <RelOp AvgRowSize="12" EstimateCPU="0.386136" EstimateIO="0.00563063" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="12374.3" LogicalOp="Sort" NodeId="11" Parallel="true" PhysicalOp="Sort" EstimatedTotalSubtreeCost="4.9846">
                                                  <OutputList>
                                                    <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="pkID" />
                                                    <ColumnReference Column="Expr1015" />
                                                    <ColumnReference Column="Expr1016" />
                                                    <ColumnReference Column="Expr1017" />
                                                  </OutputList>
                                                  <MemoryFractions Input="0.350109" Output="1" />
                                                  <RunTimeInformation>
                                                    <RunTimeCountersPerThread Thread="4" ActualRebinds="1" ActualRewinds="0" ActualRows="3371" ActualEndOfScans="1" ActualExecutions="1" />
                                                    <RunTimeCountersPerThread Thread="2" ActualRebinds="1" ActualRewinds="0" ActualRows="3366" ActualEndOfScans="1" ActualExecutions="1" />
                                                    <RunTimeCountersPerThread Thread="1" ActualRebinds="1" ActualRewinds="0" ActualRows="3390" ActualEndOfScans="1" ActualExecutions="1" />
                                                    <RunTimeCountersPerThread Thread="3" ActualRebinds="1" ActualRewinds="0" ActualRows="3423" ActualEndOfScans="1" ActualExecutions="1" />
                                                    <RunTimeCountersPerThread Thread="0" ActualRebinds="0" ActualRewinds="0" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0" />
                                                  </RunTimeInformation>
                                                  <Sort Distinct="false">
                                                    <OrderBy>
                                                      <OrderByColumn Ascending="true">
                                                        <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="pkID" />
                                                      </OrderByColumn>
                                                    </OrderBy>
                                                    <RelOp AvgRowSize="12" EstimateCPU="0.234113" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="12374.3" LogicalOp="Inner Join" NodeId="12" Parallel="true" PhysicalOp="Hash Match" EstimatedTotalSubtreeCost="4.59284">
                                                      <OutputList>
                                                        <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="pkID" />
                                                        <ColumnReference Column="Expr1015" />
                                                        <ColumnReference Column="Expr1016" />
                                                        <ColumnReference Column="Expr1017" />
                                                      </OutputList>
                                                      <MemoryFractions Input="1" Output="0.649891" />
                                                      <RunTimeInformation>
                                                        <RunTimeCountersPerThread Thread="4" ActualRows="3371" ActualEndOfScans="1" ActualExecutions="1" />
                                                        <RunTimeCountersPerThread Thread="2" ActualRows="3366" ActualEndOfScans="1" ActualExecutions="1" />
                                                        <RunTimeCountersPerThread Thread="1" ActualRows="3390" ActualEndOfScans="1" ActualExecutions="1" />
                                                        <RunTimeCountersPerThread Thread="3" ActualRows="3423" ActualEndOfScans="1" ActualExecutions="1" />
                                                        <RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0" />
                                                      </RunTimeInformation>
                                                      <Hash>
                                                        <DefinedValues />
                                                        <HashKeysBuild>
                                                          <ColumnReference Database="[tempdb]" Schema="[dbo]" Table="[#pages]" Column="pkID" />
                                                        </HashKeysBuild>
                                                        <HashKeysProbe>
                                                          <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="fkContentID" />
                                                        </HashKeysProbe>
                                                        <RelOp AvgRowSize="11" EstimateCPU="0.0378094" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="7770" LogicalOp="Bitmap Create" NodeId="13" Parallel="true" PhysicalOp="Bitmap" EstimatedTotalSubtreeCost="0.0652864">
                                                          <OutputList>
                                                            <ColumnReference Database="[tempdb]" Schema="[dbo]" Table="[#pages]" Column="pkID" />
                                                          </OutputList>
                                                          <RunTimeInformation>
                                                            <RunTimeCountersPerThread Thread="4" ActualRows="1929" ActualEndOfScans="1" ActualExecutions="1" />
                                                            <RunTimeCountersPerThread Thread="2" ActualRows="1950" ActualEndOfScans="1" ActualExecutions="1" />
                                                            <RunTimeCountersPerThread Thread="1" ActualRows="1941" ActualEndOfScans="1" ActualExecutions="1" />
                                                            <RunTimeCountersPerThread Thread="3" ActualRows="1950" ActualEndOfScans="1" ActualExecutions="1" />
                                                            <RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0" />
                                                          </RunTimeInformation>
                                                          <Bitmap>
                                                            <DefinedValues>
                                                              <DefinedValue>
                                                                <ColumnReference Column="Bitmap1031" />
                                                              </DefinedValue>
                                                            </DefinedValues>
                                                            <HashKeys>
                                                              <ColumnReference Database="[tempdb]" Schema="[dbo]" Table="[#pages]" Column="pkID" />
                                                            </HashKeys>
                                                            <RelOp AvgRowSize="11" EstimateCPU="0.0378094" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="7770" LogicalOp="Repartition Streams" NodeId="14" Parallel="true" PhysicalOp="Parallelism" EstimatedTotalSubtreeCost="0.0652864">
                                                              <OutputList>
                                                                <ColumnReference Database="[tempdb]" Schema="[dbo]" Table="[#pages]" Column="pkID" />
                                                              </OutputList>
                                                              <RunTimeInformation>
                                                                <RunTimeCountersPerThread Thread="4" ActualRows="1929" ActualEndOfScans="1" ActualExecutions="1" />
                                                                <RunTimeCountersPerThread Thread="2" ActualRows="1950" ActualEndOfScans="1" ActualExecutions="1" />
                                                                <RunTimeCountersPerThread Thread="1" ActualRows="1941" ActualEndOfScans="1" ActualExecutions="1" />
                                                                <RunTimeCountersPerThread Thread="3" ActualRows="1950" ActualEndOfScans="1" ActualExecutions="1" />
                                                                <RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0" />
                                                              </RunTimeInformation>
                                                              <Parallelism PartitioningType="Hash">
                                                                <PartitionColumns>
                                                                  <ColumnReference Database="[tempdb]" Schema="[dbo]" Table="[#pages]" Column="pkID" />
                                                                </PartitionColumns>
                                                                <RelOp AvgRowSize="11" EstimateCPU="0.004352" EstimateIO="0.023125" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="7770" LogicalOp="Clustered Index Scan" NodeId="15" Parallel="true" PhysicalOp="Clustered Index Scan" EstimatedTotalSubtreeCost="0.027477" TableCardinality="7770">
                                                                  <OutputList>
                                                                    <ColumnReference Database="[tempdb]" Schema="[dbo]" Table="[#pages]" Column="pkID" />
                                                                  </OutputList>
                                                                  <RunTimeInformation>
                                                                    <RunTimeCountersPerThread Thread="4" ActualRows="1674" ActualEndOfScans="1" ActualExecutions="1" />
                                                                    <RunTimeCountersPerThread Thread="1" ActualRows="1953" ActualEndOfScans="1" ActualExecutions="1" />
                                                                    <RunTimeCountersPerThread Thread="2" ActualRows="1910" ActualEndOfScans="1" ActualExecutions="1" />
                                                                    <RunTimeCountersPerThread Thread="3" ActualRows="2233" ActualEndOfScans="1" ActualExecutions="1" />
                                                                    <RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0" />
                                                                  </RunTimeInformation>
                                                                  <IndexScan Ordered="false" ForcedIndex="false" NoExpandHint="false">
                                                                    <DefinedValues>
                                                                      <DefinedValue>
                                                                        <ColumnReference Database="[tempdb]" Schema="[dbo]" Table="[#pages]" Column="pkID" />
                                                                      </DefinedValue>
                                                                    </DefinedValues>
                                                                    <Object Database="[tempdb]" Schema="[dbo]" Table="[#pages]" Index="[PK__#pages____40A359E36921665A]" IndexKind="Clustered" />
                                                                  </IndexScan>
                                                                </RelOp>
                                                              </Parallelism>
                                                            </RelOp>
                                                          </Bitmap>
                                                        </RelOp>
                                                        <RelOp AvgRowSize="16" EstimateCPU="0.0036941" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="73882" LogicalOp="Compute Scalar" NodeId="16" Parallel="true" PhysicalOp="Compute Scalar" EstimatedTotalSubtreeCost="4.29344">
                                                          <OutputList>
                                                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="pkID" />
                                                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="fkContentID" />
                                                            <ColumnReference Column="Expr1015" />
                                                            <ColumnReference Column="Expr1016" />
                                                            <ColumnReference Column="Expr1017" />
                                                          </OutputList>
                                                          <ComputeScalar>
                                                            <DefinedValues>
                                                              <DefinedValue>
                                                                <ColumnReference Column="Expr1015" />
                                                                <ScalarOperator ScalarString="CASE WHEN [PhoenixCMS_RC].[dbo].[tblWorkContent].[fkMasterVersionID] IS NULL THEN (1) ELSE (0) END">
                                                                  <IF>
                                                                    <Condition>
                                                                      <ScalarOperator>
                                                                        <Compare CompareOp="BINARY IS">
                                                                          <ScalarOperator>
                                                                            <Identifier>
                                                                              <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="fkMasterVersionID" />
                                                                            </Identifier>
                                                                          </ScalarOperator>
                                                                          <ScalarOperator>
                                                                            <Const ConstValue="NULL" />
                                                                          </ScalarOperator>
                                                                        </Compare>
                                                                      </ScalarOperator>
                                                                    </Condition>
                                                                    <Then>
                                                                      <ScalarOperator>
                                                                        <Const ConstValue="(1)" />
                                                                      </ScalarOperator>
                                                                    </Then>
                                                                    <Else>
                                                                      <ScalarOperator>
                                                                        <Const ConstValue="(0)" />
                                                                      </ScalarOperator>
                                                                    </Else>
                                                                  </IF>
                                                                </ScalarOperator>
                                                              </DefinedValue>
                                                              <DefinedValue>
                                                                <ColumnReference Column="Expr1016" />
                                                                <ScalarOperator ScalarString="CASE WHEN [PhoenixCMS_RC].[dbo].[tblWorkContent].[ContentLinkGUID] IS NULL THEN (1) ELSE (0) END">
                                                                  <IF>
                                                                    <Condition>
                                                                      <ScalarOperator>
                                                                        <Compare CompareOp="BINARY IS">
                                                                          <ScalarOperator>
                                                                            <Identifier>
                                                                              <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="ContentLinkGUID" />
                                                                            </Identifier>
                                                                          </ScalarOperator>
                                                                          <ScalarOperator>
                                                                            <Const ConstValue="NULL" />
                                                                          </ScalarOperator>
                                                                        </Compare>
                                                                      </ScalarOperator>
                                                                    </Condition>
                                                                    <Then>
                                                                      <ScalarOperator>
                                                                        <Const ConstValue="(1)" />
                                                                      </ScalarOperator>
                                                                    </Then>
                                                                    <Else>
                                                                      <ScalarOperator>
                                                                        <Const ConstValue="(0)" />
                                                                      </ScalarOperator>
                                                                    </Else>
                                                                  </IF>
                                                                </ScalarOperator>
                                                              </DefinedValue>
                                                              <DefinedValue>
                                                                <ColumnReference Column="Expr1017" />
                                                                <ScalarOperator ScalarString="CASE WHEN [PhoenixCMS_RC].[dbo].[tblWorkContent].[ArchiveContentGUID] IS NULL THEN (1) ELSE (0) END">
                                                                  <IF>
                                                                    <Condition>
                                                                      <ScalarOperator>
                                                                        <Compare CompareOp="BINARY IS">
                                                                          <ScalarOperator>
                                                                            <Identifier>
                                                                              <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="ArchiveContentGUID" />
                                                                            </Identifier>
                                                                          </ScalarOperator>
                                                                          <ScalarOperator>
                                                                            <Const ConstValue="NULL" />
                                                                          </ScalarOperator>
                                                                        </Compare>
                                                                      </ScalarOperator>
                                                                    </Condition>
                                                                    <Then>
                                                                      <ScalarOperator>
                                                                        <Const ConstValue="(1)" />
                                                                      </ScalarOperator>
                                                                    </Then>
                                                                    <Else>
                                                                      <ScalarOperator>
                                                                        <Const ConstValue="(0)" />
                                                                      </ScalarOperator>
                                                                    </Else>
                                                                  </IF>
                                                                </ScalarOperator>
                                                              </DefinedValue>
                                                            </DefinedValues>
                                                            <RelOp AvgRowSize="51" EstimateCPU="0.290347" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="73882" LogicalOp="Repartition Streams" NodeId="17" Parallel="true" PhysicalOp="Parallelism" EstimatedTotalSubtreeCost="4.28974">
                                                              <OutputList>
                                                                <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="pkID" />
                                                                <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="fkContentID" />
                                                                <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="fkMasterVersionID" />
                                                                <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="ContentLinkGUID" />
                                                                <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="ArchiveContentGUID" />
                                                              </OutputList>
                                                              <RunTimeInformation>
                                                                <RunTimeCountersPerThread Thread="4" ActualRows="3374" ActualEndOfScans="1" ActualExecutions="1" />
                                                                <RunTimeCountersPerThread Thread="2" ActualRows="3369" ActualEndOfScans="1" ActualExecutions="1" />
                                                                <RunTimeCountersPerThread Thread="1" ActualRows="3397" ActualEndOfScans="1" ActualExecutions="1" />
                                                                <RunTimeCountersPerThread Thread="3" ActualRows="3428" ActualEndOfScans="1" ActualExecutions="1" />
                                                                <RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0" />
                                                              </RunTimeInformation>
                                                              <Parallelism PartitioningType="Hash">
                                                                <PartitionColumns>
                                                                  <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="fkContentID" />
                                                                </PartitionColumns>
                                                                <RelOp AvgRowSize="51" EstimateCPU="0.0407136" EstimateIO="3.95868" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="73882" LogicalOp="Clustered Index Scan" NodeId="18" Parallel="true" PhysicalOp="Clustered Index Scan" EstimatedTotalSubtreeCost="3.99939" TableCardinality="73882">
                                                                  <OutputList>
                                                                    <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="pkID" />
                                                                    <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="fkContentID" />
                                                                    <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="fkMasterVersionID" />
                                                                    <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="ContentLinkGUID" />
                                                                    <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="ArchiveContentGUID" />
                                                                  </OutputList>
                                                                  <RunTimeInformation>
                                                                    <RunTimeCountersPerThread Thread="2" ActualRows="3475" ActualEndOfScans="1" ActualExecutions="1" />
                                                                    <RunTimeCountersPerThread Thread="4" ActualRows="3046" ActualEndOfScans="1" ActualExecutions="1" />
                                                                    <RunTimeCountersPerThread Thread="1" ActualRows="3265" ActualEndOfScans="1" ActualExecutions="1" />
                                                                    <RunTimeCountersPerThread Thread="3" ActualRows="3782" ActualEndOfScans="1" ActualExecutions="1" />
                                                                    <RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0" />
                                                                  </RunTimeInformation>
                                                                  <IndexScan Ordered="true" ForcedIndex="false" NoExpandHint="false">
                                                                    <DefinedValues>
                                                                      <DefinedValue>
                                                                        <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="pkID" />
                                                                      </DefinedValue>
                                                                      <DefinedValue>
                                                                        <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="fkContentID" />
                                                                      </DefinedValue>
                                                                      <DefinedValue>
                                                                        <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="fkMasterVersionID" />
                                                                      </DefinedValue>
                                                                      <DefinedValue>
                                                                        <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="ContentLinkGUID" />
                                                                      </DefinedValue>
                                                                      <DefinedValue>
                                                                        <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="ArchiveContentGUID" />
                                                                      </DefinedValue>
                                                                    </DefinedValues>
                                                                    <Object Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Index="[PK_tblWorkContent]" IndexKind="Clustered" />
                                                                    <Predicate>
                                                                      <ScalarOperator ScalarString="PROBE([Bitmap1031],[PhoenixCMS_RC].[dbo].[tblWorkContent].[fkContentID],N'[IN ROW]')">
                                                                        <Intrinsic FunctionName="PROBE">
                                                                          <ScalarOperator>
                                                                            <Identifier>
                                                                              <ColumnReference Column="Bitmap1031" />
                                                                            </Identifier>
                                                                          </ScalarOperator>
                                                                          <ScalarOperator>
                                                                            <Identifier>
                                                                              <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="fkContentID" />
                                                                            </Identifier>
                                                                          </ScalarOperator>
                                                                          <ScalarOperator>
                                                                            <Const ConstValue="N'[IN ROW]'" />
                                                                          </ScalarOperator>
                                                                        </Intrinsic>
                                                                      </ScalarOperator>
                                                                    </Predicate>
                                                                  </IndexScan>
                                                                </RelOp>
                                                              </Parallelism>
                                                            </RelOp>
                                                          </ComputeScalar>
                                                        </RelOp>
                                                      </Hash>
                                                    </RelOp>
                                                  </Sort>
                                                </RelOp>
                                              </Parallelism>
                                            </RelOp>
                                          </Top>
                                        </RelOp>
                                      </ComputeScalar>
                                    </RelOp>
                                  </ComputeScalar>
                                </RelOp>
                              </ComputeScalar>
                            </RelOp>
                          </Update>
                        </RelOp>
                      </Split>
                    </RelOp>
                  </RowCountSpool>
                </RelOp>
                <RelOp AvgRowSize="9" EstimateCPU="0.00128772" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="24749" LogicalOp="Eager Spool" NodeId="50" Parallel="false" PhysicalOp="Row Count Spool" EstimatedTotalSubtreeCost="6.0757">
                  <OutputList />
                  <RunTimeInformation>
                    <RunTimeCountersPerThread Thread="0" ActualRebinds="1" ActualRewinds="0" ActualRows="27100" ActualEndOfScans="1" ActualExecutions="1" />
                  </RunTimeInformation>
                  <RowCountSpool PrimaryNodeId="2" />
                </RelOp>
              </Sequence>
            </RelOp>
          </QueryPlan>
        </StmtSimple>
      </Statements>
    </Batch>
    <Batch>
      <Statements>
        <StmtSimple StatementCompId="16" StatementEstRows="3412.02" StatementId="5" StatementOptmLevel="FULL" StatementSubTreeCost="2.55584" StatementText="DELETE FROM 
	    tblWorkProperty 
	WHERE 
	    PageLink IN ( SELECT pkID FROM #pages )
" StatementType="DELETE" QueryHash="0x486A60087ADD7991" QueryPlanHash="0x0EAE8214F3FDBA26">
          <StatementSetOptions ANSI_NULLS="true" ANSI_PADDING="true" ANSI_WARNINGS="true" ARITHABORT="true" CONCAT_NULL_YIELDS_NULL="true" NUMERIC_ROUNDABORT="false" QUOTED_IDENTIFIER="true" />
          <QueryPlan DegreeOfParallelism="1" MemoryGrant="4000" CachedPlanSize="88" CompileTime="16" CompileCPU="16" CompileMemory="632">
            <RelOp AvgRowSize="9" EstimateCPU="0.0170601" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="3412.02" LogicalOp="Sequence" NodeId="0" Parallel="false" PhysicalOp="Sequence" EstimatedTotalSubtreeCost="2.55584">
              <OutputList />
              <RunTimeInformation>
                <RunTimeCountersPerThread Thread="0" ActualRows="33" ActualEndOfScans="1" ActualExecutions="1" />
              </RunTimeInformation>
              <Sequence>
                <RelOp AvgRowSize="9" EstimateCPU="0.00341202" EstimateIO="0.0459259" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="3412.02" LogicalOp="Delete" NodeId="1" Parallel="false" PhysicalOp="Index Delete" EstimatedTotalSubtreeCost="0.510899">
                  <OutputList />
                  <RunTimeInformation>
                    <RunTimeCountersPerThread Thread="0" ActualRows="33" ActualEndOfScans="1" ActualExecutions="1" />
                  </RunTimeInformation>
                  <Update WithOrderedPrefetch="true" DMLRequestSort="true">
                    <Object Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Index="[IDX_tblWorkContentProperty_ContentLink]" IndexKind="NonClustered" />
                    <RelOp AvgRowSize="15" EstimateCPU="0.06257" EstimateIO="0.0112613" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="3412.02" LogicalOp="Sort" NodeId="3" Parallel="false" PhysicalOp="Sort" EstimatedTotalSubtreeCost="0.461561">
                      <OutputList>
                        <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Column="pkID" />
                        <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Column="ContentLink" />
                      </OutputList>
                      <MemoryFractions Input="1" Output="1" />
                      <RunTimeInformation>
                        <RunTimeCountersPerThread Thread="0" ActualRebinds="1" ActualRewinds="0" ActualRows="33" ActualEndOfScans="1" ActualExecutions="1" />
                      </RunTimeInformation>
                      <Sort Distinct="false">
                        <OrderBy>
                          <OrderByColumn Ascending="true">
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Column="ContentLink" />
                          </OrderByColumn>
                          <OrderByColumn Ascending="true">
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Column="pkID" />
                          </OrderByColumn>
                        </OrderBy>
                        <RelOp AvgRowSize="481" EstimateCPU="0.000266097" EstimateIO="0.00262887" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="3412.02" LogicalOp="Eager Spool" NodeId="4" Parallel="false" PhysicalOp="Table Spool" EstimatedTotalSubtreeCost="0.38773">
                          <OutputList>
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Column="pkID" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Column="fkPropertyDefinitionID" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Column="fkWorkContentID" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Column="ScopeName" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Column="ContentType" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Column="ContentLink" />
                          </OutputList>
                          <RunTimeInformation>
                            <RunTimeCountersPerThread Thread="0" ActualRebinds="1" ActualRewinds="0" ActualRows="33" ActualEndOfScans="1" ActualExecutions="1" />
                          </RunTimeInformation>
                          <Spool>
                            <RelOp AvgRowSize="481" EstimateCPU="0.00341202" EstimateIO="0.583095" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="3412.02" LogicalOp="Delete" NodeId="5" Parallel="false" PhysicalOp="Clustered Index Delete" EstimatedTotalSubtreeCost="1.92134">
                              <OutputList>
                                <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Column="pkID" />
                                <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Column="fkPropertyDefinitionID" />
                                <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Column="fkWorkContentID" />
                                <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Column="ScopeName" />
                                <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Column="ContentType" />
                                <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Column="ContentLink" />
                              </OutputList>
                              <RunTimeInformation>
                                <RunTimeCountersPerThread Thread="0" ActualRows="33" ActualEndOfScans="1" ActualExecutions="1" />
                              </RunTimeInformation>
                              <Update WithUnorderedPrefetch="true" DMLRequestSort="false">
                                <Object Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Index="[PK_tblWorkProperty]" IndexKind="Clustered" />
                                <RelOp AvgRowSize="11" EstimateCPU="0.000341202" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="3412.02" LogicalOp="Top" NodeId="7" Parallel="false" PhysicalOp="Top" EstimatedTotalSubtreeCost="1.33483">
                                  <OutputList>
                                    <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Column="pkID" />
                                  </OutputList>
                                  <RunTimeInformation>
                                    <RunTimeCountersPerThread Thread="0" ActualRows="33" ActualEndOfScans="1" ActualExecutions="1" />
                                  </RunTimeInformation>
                                  <Top RowCount="true" IsPercent="false" WithTies="false">
                                    <TopExpression>
                                      <ScalarOperator ScalarString="(0)">
                                        <Const ConstValue="(0)" />
                                      </ScalarOperator>
                                    </TopExpression>
                                    <RelOp AvgRowSize="11" EstimateCPU="0.0324786" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="3133.97" LogicalOp="Inner Join" NodeId="9" Parallel="false" PhysicalOp="Nested Loops" EstimatedTotalSubtreeCost="1.33449">
                                      <OutputList>
                                        <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Column="pkID" />
                                      </OutputList>
                                      <RunTimeInformation>
                                        <RunTimeCountersPerThread Thread="0" ActualRows="33" ActualEndOfScans="1" ActualExecutions="1" />
                                      </RunTimeInformation>
                                      <NestedLoops Optimized="false" WithUnorderedPrefetch="true">
                                        <OuterReferences>
                                          <ColumnReference Database="[tempdb]" Schema="[dbo]" Table="[#pages]" Column="pkID" />
                                          <ColumnReference Column="Expr1009" />
                                        </OuterReferences>
                                        <RelOp AvgRowSize="11" EstimateCPU="0.008704" EstimateIO="0.023125" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="7770" LogicalOp="Clustered Index Scan" NodeId="11" Parallel="false" PhysicalOp="Clustered Index Scan" EstimatedTotalSubtreeCost="0.031829" TableCardinality="7770">
                                          <OutputList>
                                            <ColumnReference Database="[tempdb]" Schema="[dbo]" Table="[#pages]" Column="pkID" />
                                          </OutputList>
                                          <RunTimeInformation>
                                            <RunTimeCountersPerThread Thread="0" ActualRows="7770" ActualEndOfScans="1" ActualExecutions="1" />
                                          </RunTimeInformation>
                                          <IndexScan Ordered="false" ForcedIndex="false" NoExpandHint="false">
                                            <DefinedValues>
                                              <DefinedValue>
                                                <ColumnReference Database="[tempdb]" Schema="[dbo]" Table="[#pages]" Column="pkID" />
                                              </DefinedValue>
                                            </DefinedValues>
                                            <Object Database="[tempdb]" Schema="[dbo]" Table="[#pages]" Index="[PK__#pages____40A359E36921665A]" IndexKind="Clustered" />
                                          </IndexScan>
                                        </RelOp>
                                        <RelOp AvgRowSize="11" EstimateCPU="0.0001581" EstimateIO="0.003125" EstimateRebinds="7769" EstimateRewinds="0" EstimateRows="1" LogicalOp="Index Seek" NodeId="12" Parallel="false" PhysicalOp="Index Seek" EstimatedTotalSubtreeCost="1.27018" TableCardinality="1610670">
                                          <OutputList>
                                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Column="pkID" />
                                          </OutputList>
                                          <RunTimeInformation>
                                            <RunTimeCountersPerThread Thread="0" ActualRows="33" ActualEndOfScans="7770" ActualExecutions="7770" />
                                          </RunTimeInformation>
                                          <IndexScan Ordered="true" ScanDirection="FORWARD" ForcedIndex="false" ForceSeek="false" NoExpandHint="false">
                                            <DefinedValues>
                                              <DefinedValue>
                                                <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Column="pkID" />
                                              </DefinedValue>
                                            </DefinedValues>
                                            <Object Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Index="[IDX_tblWorkContentProperty_ContentLink]" IndexKind="NonClustered" />
                                            <SeekPredicates>
                                              <SeekPredicateNew>
                                                <SeekKeys>
                                                  <Prefix ScanType="EQ">
                                                    <RangeColumns>
                                                      <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Column="ContentLink" />
                                                    </RangeColumns>
                                                    <RangeExpressions>
                                                      <ScalarOperator ScalarString="[tempdb].[dbo].[#pages].[pkID]">
                                                        <Identifier>
                                                          <ColumnReference Database="[tempdb]" Schema="[dbo]" Table="[#pages]" Column="pkID" />
                                                        </Identifier>
                                                      </ScalarOperator>
                                                    </RangeExpressions>
                                                  </Prefix>
                                                </SeekKeys>
                                              </SeekPredicateNew>
                                            </SeekPredicates>
                                          </IndexScan>
                                        </RelOp>
                                      </NestedLoops>
                                    </RelOp>
                                  </Top>
                                </RelOp>
                              </Update>
                            </RelOp>
                          </Spool>
                        </RelOp>
                      </Sort>
                    </RelOp>
                  </Update>
                </RelOp>
                <RelOp AvgRowSize="9" EstimateCPU="0.00341202" EstimateIO="0.0357061" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="3412.02" LogicalOp="Delete" NodeId="15" Parallel="false" PhysicalOp="Index Delete" EstimatedTotalSubtreeCost="0.50068">
                  <OutputList />
                  <RunTimeInformation>
                    <RunTimeCountersPerThread Thread="0" ActualRows="33" ActualEndOfScans="1" ActualExecutions="1" />
                  </RunTimeInformation>
                  <Update WithOrderedPrefetch="true" DMLRequestSort="true">
                    <Object Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Index="[IDX_tblWorkContentProperty_ScopeName]" IndexKind="NonClustered" />
                    <RelOp AvgRowSize="465" EstimateCPU="0.0625704" EstimateIO="0.0112613" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="3412.02" LogicalOp="Sort" NodeId="17" Parallel="false" PhysicalOp="Sort" EstimatedTotalSubtreeCost="0.461561">
                      <OutputList>
                        <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Column="pkID" />
                        <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Column="ScopeName" />
                      </OutputList>
                      <MemoryFractions Input="1" Output="1" />
                      <RunTimeInformation>
                        <RunTimeCountersPerThread Thread="0" ActualRebinds="1" ActualRewinds="0" ActualRows="33" ActualEndOfScans="1" ActualExecutions="1" />
                      </RunTimeInformation>
                      <Sort Distinct="false">
                        <OrderBy>
                          <OrderByColumn Ascending="true">
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Column="ScopeName" />
                          </OrderByColumn>
                          <OrderByColumn Ascending="true">
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Column="pkID" />
                          </OrderByColumn>
                        </OrderBy>
                        <RelOp AvgRowSize="481" EstimateCPU="0.000266097" EstimateIO="0.00262887" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="3412.02" LogicalOp="Eager Spool" NodeId="18" Parallel="false" PhysicalOp="Table Spool" EstimatedTotalSubtreeCost="0.38773">
                          <OutputList>
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Column="pkID" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Column="fkPropertyDefinitionID" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Column="fkWorkContentID" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Column="ScopeName" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Column="ContentType" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Column="ContentLink" />
                          </OutputList>
                          <RunTimeInformation>
                            <RunTimeCountersPerThread Thread="0" ActualRebinds="1" ActualRewinds="0" ActualRows="33" ActualEndOfScans="1" ActualExecutions="1" />
                          </RunTimeInformation>
                          <Spool PrimaryNodeId="4" />
                        </RelOp>
                      </Sort>
                    </RelOp>
                  </Update>
                </RelOp>
                <RelOp AvgRowSize="9" EstimateCPU="0.00341202" EstimateIO="0.0477866" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="3412.02" LogicalOp="Delete" NodeId="19" Parallel="false" PhysicalOp="Index Delete" EstimatedTotalSubtreeCost="0.51276">
                  <OutputList />
                  <RunTimeInformation>
                    <RunTimeCountersPerThread Thread="0" ActualRows="33" ActualEndOfScans="1" ActualExecutions="1" />
                  </RunTimeInformation>
                  <Update WithOrderedPrefetch="true" DMLRequestSort="true">
                    <Object Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Index="[IDX_tblWorkContentProperty_ContentTypeID]" IndexKind="NonClustered" />
                    <RelOp AvgRowSize="15" EstimateCPU="0.06257" EstimateIO="0.0112613" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="3412.02" LogicalOp="Sort" NodeId="21" Parallel="false" PhysicalOp="Sort" EstimatedTotalSubtreeCost="0.461561">
                      <OutputList>
                        <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Column="pkID" />
                        <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Column="ContentType" />
                      </OutputList>
                      <MemoryFractions Input="1" Output="1" />
                      <RunTimeInformation>
                        <RunTimeCountersPerThread Thread="0" ActualRebinds="1" ActualRewinds="0" ActualRows="33" ActualEndOfScans="1" ActualExecutions="1" />
                      </RunTimeInformation>
                      <Sort Distinct="false">
                        <OrderBy>
                          <OrderByColumn Ascending="true">
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Column="ContentType" />
                          </OrderByColumn>
                          <OrderByColumn Ascending="true">
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Column="pkID" />
                          </OrderByColumn>
                        </OrderBy>
                        <RelOp AvgRowSize="481" EstimateCPU="0.000266097" EstimateIO="0.00262887" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="3412.02" LogicalOp="Eager Spool" NodeId="22" Parallel="false" PhysicalOp="Table Spool" EstimatedTotalSubtreeCost="0.38773">
                          <OutputList>
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Column="pkID" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Column="fkPropertyDefinitionID" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Column="fkWorkContentID" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Column="ScopeName" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Column="ContentType" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Column="ContentLink" />
                          </OutputList>
                          <RunTimeInformation>
                            <RunTimeCountersPerThread Thread="0" ActualRebinds="1" ActualRewinds="0" ActualRows="33" ActualEndOfScans="1" ActualExecutions="1" />
                          </RunTimeInformation>
                          <Spool PrimaryNodeId="4" />
                        </RelOp>
                      </Sort>
                    </RelOp>
                  </Update>
                </RelOp>
                <RelOp AvgRowSize="9" EstimateCPU="0.00341202" EstimateIO="0.0458686" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="3412.02" LogicalOp="Delete" NodeId="23" Parallel="false" PhysicalOp="Index Delete" EstimatedTotalSubtreeCost="0.510842">
                  <OutputList />
                  <RunTimeInformation>
                    <RunTimeCountersPerThread Thread="0" ActualRows="33" ActualEndOfScans="1" ActualExecutions="1" />
                  </RunTimeInformation>
                  <Update WithOrderedPrefetch="true" DMLRequestSort="true">
                    <Object Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Index="[IDX_tblWorkContentProperty_fkPropertyDefinitionID]" IndexKind="NonClustered" />
                    <RelOp AvgRowSize="15" EstimateCPU="0.06257" EstimateIO="0.0112613" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="3412.02" LogicalOp="Sort" NodeId="25" Parallel="false" PhysicalOp="Sort" EstimatedTotalSubtreeCost="0.461561">
                      <OutputList>
                        <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Column="pkID" />
                        <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Column="fkPropertyDefinitionID" />
                      </OutputList>
                      <MemoryFractions Input="1" Output="1" />
                      <RunTimeInformation>
                        <RunTimeCountersPerThread Thread="0" ActualRebinds="1" ActualRewinds="0" ActualRows="33" ActualEndOfScans="1" ActualExecutions="1" />
                      </RunTimeInformation>
                      <Sort Distinct="false">
                        <OrderBy>
                          <OrderByColumn Ascending="true">
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Column="fkPropertyDefinitionID" />
                          </OrderByColumn>
                          <OrderByColumn Ascending="true">
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Column="pkID" />
                          </OrderByColumn>
                        </OrderBy>
                        <RelOp AvgRowSize="481" EstimateCPU="0.000266097" EstimateIO="0.00262887" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="3412.02" LogicalOp="Eager Spool" NodeId="26" Parallel="false" PhysicalOp="Table Spool" EstimatedTotalSubtreeCost="0.38773">
                          <OutputList>
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Column="pkID" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Column="fkPropertyDefinitionID" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Column="fkWorkContentID" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Column="ScopeName" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Column="ContentType" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Column="ContentLink" />
                          </OutputList>
                          <RunTimeInformation>
                            <RunTimeCountersPerThread Thread="0" ActualRebinds="1" ActualRewinds="0" ActualRows="33" ActualEndOfScans="1" ActualExecutions="1" />
                          </RunTimeInformation>
                          <Spool PrimaryNodeId="4" />
                        </RelOp>
                      </Sort>
                    </RelOp>
                  </Update>
                </RelOp>
                <RelOp AvgRowSize="9" EstimateCPU="0.00341202" EstimateIO="0.038626" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="3412.02" LogicalOp="Delete" NodeId="27" Parallel="false" PhysicalOp="Index Delete" EstimatedTotalSubtreeCost="0.503599">
                  <OutputList />
                  <RunTimeInformation>
                    <RunTimeCountersPerThread Thread="0" ActualRows="33" ActualEndOfScans="1" ActualExecutions="1" />
                  </RunTimeInformation>
                  <Update WithOrderedPrefetch="true" DMLRequestSort="true">
                    <Object Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Index="[IX_tblWorkContentProperty_fkWorkContentID]" IndexKind="NonClustered" />
                    <RelOp AvgRowSize="15" EstimateCPU="0.06257" EstimateIO="0.0112613" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="3412.02" LogicalOp="Sort" NodeId="29" Parallel="false" PhysicalOp="Sort" EstimatedTotalSubtreeCost="0.461561">
                      <OutputList>
                        <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Column="pkID" />
                        <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Column="fkWorkContentID" />
                      </OutputList>
                      <MemoryFractions Input="1" Output="1" />
                      <RunTimeInformation>
                        <RunTimeCountersPerThread Thread="0" ActualRebinds="1" ActualRewinds="0" ActualRows="33" ActualEndOfScans="1" ActualExecutions="1" />
                      </RunTimeInformation>
                      <Sort Distinct="false">
                        <OrderBy>
                          <OrderByColumn Ascending="true">
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Column="fkWorkContentID" />
                          </OrderByColumn>
                          <OrderByColumn Ascending="true">
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Column="pkID" />
                          </OrderByColumn>
                        </OrderBy>
                        <RelOp AvgRowSize="481" EstimateCPU="0.000266097" EstimateIO="0.00262887" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="3412.02" LogicalOp="Eager Spool" NodeId="30" Parallel="false" PhysicalOp="Table Spool" EstimatedTotalSubtreeCost="0.38773">
                          <OutputList>
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Column="pkID" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Column="fkPropertyDefinitionID" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Column="fkWorkContentID" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Column="ScopeName" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Column="ContentType" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Column="ContentLink" />
                          </OutputList>
                          <RunTimeInformation>
                            <RunTimeCountersPerThread Thread="0" ActualRebinds="1" ActualRewinds="0" ActualRows="33" ActualEndOfScans="1" ActualExecutions="1" />
                          </RunTimeInformation>
                          <Spool PrimaryNodeId="4" />
                        </RelOp>
                      </Sort>
                    </RelOp>
                  </Update>
                </RelOp>
              </Sequence>
            </RelOp>
          </QueryPlan>
        </StmtSimple>
      </Statements>
    </Batch>
    <Batch>
      <Statements>
        <StmtSimple StatementCompId="17" StatementEstRows="1" StatementId="6" StatementOptmLevel="FULL" StatementOptmEarlyAbortReason="GoodEnoughPlanFound" StatementSubTreeCost="0.892678" StatementText="UPDATE 
	    tblWorkPage 
	SET 
	    ArchivePageGUID = NULL 
	WHERE 
	    ArchivePageGUID IN ( SELECT PageGUID FROM #pages )
" StatementType="UPDATE" QueryHash="0xCCA1432383526ECC" QueryPlanHash="0xF4D64A208F19D5CB">
          <StatementSetOptions ANSI_NULLS="true" ANSI_PADDING="true" ANSI_WARNINGS="true" ARITHABORT="true" CONCAT_NULL_YIELDS_NULL="true" NUMERIC_ROUNDABORT="false" QUOTED_IDENTIFIER="true" />
          <QueryPlan DegreeOfParallelism="1" MemoryGrant="2032" CachedPlanSize="48" CompileTime="214" CompileCPU="165" CompileMemory="552">
            <RelOp AvgRowSize="9" EstimateCPU="2E-06" EstimateIO="0.02" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="1" LogicalOp="Update" NodeId="1" Parallel="false" PhysicalOp="Clustered Index Update" EstimatedTotalSubtreeCost="0.892678">
              <OutputList />
              <RunTimeInformation>
                <RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1" />
              </RunTimeInformation>
              <Update DMLRequestSort="false">
                <Object Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Index="[PK_tblWorkContent]" IndexKind="Clustered" />
                <Object Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Index="[IDX_tblWorkContent_ArchiveContentGUID]" IndexKind="NonClustered" />
                <SetPredicate>
                  <ScalarOperator ScalarString="[PhoenixCMS_RC].[dbo].[tblWorkContent].[ArchiveContentGUID] = [Expr1006]">
                    <ScalarExpressionList>
                      <ScalarOperator>
                        <MultipleAssign>
                          <Assign>
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="ArchiveContentGUID" />
                            <ScalarOperator>
                              <Identifier>
                                <ColumnReference Column="Expr1006" />
                              </Identifier>
                            </ScalarOperator>
                          </Assign>
                        </MultipleAssign>
                      </ScalarOperator>
                    </ScalarExpressionList>
                  </ScalarOperator>
                </SetPredicate>
                <RelOp AvgRowSize="31" EstimateCPU="1E-07" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="1" LogicalOp="Compute Scalar" NodeId="2" Parallel="false" PhysicalOp="Compute Scalar" EstimatedTotalSubtreeCost="0.872676">
                  <OutputList>
                    <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="pkID" />
                    <ColumnReference Column="Expr1006" />
                    <ColumnReference Column="Expr1013" />
                  </OutputList>
                  <RunTimeInformation>
                    <RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1" />
                  </RunTimeInformation>
                  <ComputeScalar>
                    <DefinedValues>
                      <DefinedValue>
                        <ColumnReference Column="Expr1013" />
                        <ScalarOperator ScalarString="[Expr1013]">
                          <Identifier>
                            <ColumnReference Column="Expr1013" />
                          </Identifier>
                        </ScalarOperator>
                      </DefinedValue>
                    </DefinedValues>
                    <RelOp AvgRowSize="31" EstimateCPU="1E-07" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="1" LogicalOp="Compute Scalar" NodeId="3" Parallel="false" PhysicalOp="Compute Scalar" EstimatedTotalSubtreeCost="0.872676">
                      <OutputList>
                        <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="pkID" />
                        <ColumnReference Column="Expr1006" />
                        <ColumnReference Column="Expr1013" />
                      </OutputList>
                      <ComputeScalar>
                        <DefinedValues>
                          <DefinedValue>
                            <ColumnReference Column="Expr1013" />
                            <ScalarOperator ScalarString="CASE WHEN [Expr1010] THEN (0) ELSE (1) END">
                              <IF>
                                <Condition>
                                  <ScalarOperator>
                                    <Identifier>
                                      <ColumnReference Column="Expr1010" />
                                    </Identifier>
                                  </ScalarOperator>
                                </Condition>
                                <Then>
                                  <ScalarOperator>
                                    <Const ConstValue="(0)" />
                                  </ScalarOperator>
                                </Then>
                                <Else>
                                  <ScalarOperator>
                                    <Const ConstValue="(1)" />
                                  </ScalarOperator>
                                </Else>
                              </IF>
                            </ScalarOperator>
                          </DefinedValue>
                        </DefinedValues>
                        <RelOp AvgRowSize="28" EstimateCPU="1E-07" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="1" LogicalOp="Compute Scalar" NodeId="4" Parallel="false" PhysicalOp="Compute Scalar" EstimatedTotalSubtreeCost="0.872676">
                          <OutputList>
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="pkID" />
                            <ColumnReference Column="Expr1006" />
                            <ColumnReference Column="Expr1010" />
                          </OutputList>
                          <ComputeScalar>
                            <DefinedValues>
                              <DefinedValue>
                                <ColumnReference Column="Expr1006" />
                                <ScalarOperator ScalarString="NULL">
                                  <Const ConstValue="NULL" />
                                </ScalarOperator>
                              </DefinedValue>
                            </DefinedValues>
                            <RelOp AvgRowSize="12" EstimateCPU="1E-07" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="1" LogicalOp="Top" NodeId="5" Parallel="false" PhysicalOp="Top" EstimatedTotalSubtreeCost="0.872676">
                              <OutputList>
                                <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="pkID" />
                                <ColumnReference Column="Expr1010" />
                              </OutputList>
                              <RunTimeInformation>
                                <RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1" />
                              </RunTimeInformation>
                              <Top RowCount="true" IsPercent="false" WithTies="false">
                                <TopExpression>
                                  <ScalarOperator ScalarString="(0)">
                                    <Const ConstValue="(0)" />
                                  </ScalarOperator>
                                </TopExpression>
                                <RelOp AvgRowSize="12" EstimateCPU="0.000100012" EstimateIO="0.0112613" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="1" LogicalOp="Distinct Sort" NodeId="7" Parallel="false" PhysicalOp="Sort" EstimatedTotalSubtreeCost="0.872676">
                                  <OutputList>
                                    <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="pkID" />
                                    <ColumnReference Column="Expr1010" />
                                  </OutputList>
                                  <MemoryFractions Input="0.031746" Output="1" />
                                  <RunTimeInformation>
                                    <RunTimeCountersPerThread Thread="0" ActualRebinds="1" ActualRewinds="0" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1" />
                                  </RunTimeInformation>
                                  <Sort Distinct="true">
                                    <OrderBy>
                                      <OrderByColumn Ascending="true">
                                        <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="pkID" />
                                      </OrderByColumn>
                                    </OrderBy>
                                    <RelOp AvgRowSize="12" EstimateCPU="0.177114" EstimateIO="0.000313" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="1" LogicalOp="Inner Join" NodeId="8" Parallel="false" PhysicalOp="Merge Join" EstimatedTotalSubtreeCost="0.861314">
                                      <OutputList>
                                        <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="pkID" />
                                        <ColumnReference Column="Expr1010" />
                                      </OutputList>
                                      <RunTimeInformation>
                                        <RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1" />
                                      </RunTimeInformation>
                                      <Merge ManyToMany="true">
                                        <InnerSideJoinColumns>
                                          <ColumnReference Database="[tempdb]" Schema="[dbo]" Table="[#pages]" Column="PageGUID" />
                                        </InnerSideJoinColumns>
                                        <OuterSideJoinColumns>
                                          <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="ArchiveContentGUID" />
                                        </OuterSideJoinColumns>
                                        <Residual>
                                          <ScalarOperator ScalarString="[PhoenixCMS_RC].[dbo].[tblWorkContent].[ArchiveContentGUID]=[tempdb].[dbo].[#pages].[PageGUID]">
                                            <Compare CompareOp="EQ">
                                              <ScalarOperator>
                                                <Identifier>
                                                  <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="ArchiveContentGUID" />
                                                </Identifier>
                                              </ScalarOperator>
                                              <ScalarOperator>
                                                <Identifier>
                                                  <ColumnReference Database="[tempdb]" Schema="[dbo]" Table="[#pages]" Column="PageGUID" />
                                                </Identifier>
                                              </ScalarOperator>
                                            </Compare>
                                          </ScalarOperator>
                                        </Residual>
                                        <RelOp AvgRowSize="28" EstimateCPU="0.0073882" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="73882" LogicalOp="Compute Scalar" NodeId="9" Parallel="false" PhysicalOp="Compute Scalar" EstimatedTotalSubtreeCost="0.319348">
                                          <OutputList>
                                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="pkID" />
                                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="ArchiveContentGUID" />
                                            <ColumnReference Column="Expr1010" />
                                          </OutputList>
                                          <ComputeScalar>
                                            <DefinedValues>
                                              <DefinedValue>
                                                <ColumnReference Column="Expr1010" />
                                                <ScalarOperator ScalarString="CASE WHEN [PhoenixCMS_RC].[dbo].[tblWorkContent].[ArchiveContentGUID] IS NULL THEN (1) ELSE (0) END">
                                                  <IF>
                                                    <Condition>
                                                      <ScalarOperator>
                                                        <Compare CompareOp="BINARY IS">
                                                          <ScalarOperator>
                                                            <Identifier>
                                                              <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="ArchiveContentGUID" />
                                                            </Identifier>
                                                          </ScalarOperator>
                                                          <ScalarOperator>
                                                            <Const ConstValue="NULL" />
                                                          </ScalarOperator>
                                                        </Compare>
                                                      </ScalarOperator>
                                                    </Condition>
                                                    <Then>
                                                      <ScalarOperator>
                                                        <Const ConstValue="(1)" />
                                                      </ScalarOperator>
                                                    </Then>
                                                    <Else>
                                                      <ScalarOperator>
                                                        <Const ConstValue="(0)" />
                                                      </ScalarOperator>
                                                    </Else>
                                                  </IF>
                                                </ScalarOperator>
                                              </DefinedValue>
                                            </DefinedValues>
                                            <RelOp AvgRowSize="27" EstimateCPU="0.0814272" EstimateIO="0.230532" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="73882" LogicalOp="Index Scan" NodeId="10" Parallel="false" PhysicalOp="Index Scan" EstimatedTotalSubtreeCost="0.31196" TableCardinality="73882">
                                              <OutputList>
                                                <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="pkID" />
                                                <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="ArchiveContentGUID" />
                                              </OutputList>
                                              <RunTimeInformation>
                                                <RunTimeCountersPerThread Thread="0" ActualRows="73882" ActualEndOfScans="1" ActualExecutions="1" />
                                              </RunTimeInformation>
                                              <IndexScan Ordered="true" ScanDirection="FORWARD" ForcedIndex="false" ForceSeek="false" NoExpandHint="false">
                                                <DefinedValues>
                                                  <DefinedValue>
                                                    <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="pkID" />
                                                  </DefinedValue>
                                                  <DefinedValue>
                                                    <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="ArchiveContentGUID" />
                                                  </DefinedValue>
                                                </DefinedValues>
                                                <Object Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Index="[IDX_tblWorkContent_ArchiveContentGUID]" IndexKind="NonClustered" />
                                              </IndexScan>
                                            </RelOp>
                                          </ComputeScalar>
                                        </RelOp>
                                        <RelOp AvgRowSize="23" EstimateCPU="0.321446" EstimateIO="0.0112613" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="7770" LogicalOp="Sort" NodeId="14" Parallel="false" PhysicalOp="Sort" EstimatedTotalSubtreeCost="0.364536">
                                          <OutputList>
                                            <ColumnReference Database="[tempdb]" Schema="[dbo]" Table="[#pages]" Column="PageGUID" />
                                          </OutputList>
                                          <MemoryFractions Input="0.968254" Output="0.968254" />
                                          <RunTimeInformation>
                                            <RunTimeCountersPerThread Thread="0" ActualRebinds="1" ActualRewinds="0" ActualRows="1" ActualEndOfScans="0" ActualExecutions="1" />
                                          </RunTimeInformation>
                                          <Sort Distinct="false">
                                            <OrderBy>
                                              <OrderByColumn Ascending="true">
                                                <ColumnReference Database="[tempdb]" Schema="[dbo]" Table="[#pages]" Column="PageGUID" />
                                              </OrderByColumn>
                                            </OrderBy>
                                            <RelOp AvgRowSize="23" EstimateCPU="0.008704" EstimateIO="0.023125" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="7770" LogicalOp="Clustered Index Scan" NodeId="15" Parallel="false" PhysicalOp="Clustered Index Scan" EstimatedTotalSubtreeCost="0.031829" TableCardinality="7770">
                                              <OutputList>
                                                <ColumnReference Database="[tempdb]" Schema="[dbo]" Table="[#pages]" Column="PageGUID" />
                                              </OutputList>
                                              <RunTimeInformation>
                                                <RunTimeCountersPerThread Thread="0" ActualRows="7770" ActualEndOfScans="1" ActualExecutions="1" />
                                              </RunTimeInformation>
                                              <IndexScan Ordered="false" ForcedIndex="false" NoExpandHint="false">
                                                <DefinedValues>
                                                  <DefinedValue>
                                                    <ColumnReference Database="[tempdb]" Schema="[dbo]" Table="[#pages]" Column="PageGUID" />
                                                  </DefinedValue>
                                                </DefinedValues>
                                                <Object Database="[tempdb]" Schema="[dbo]" Table="[#pages]" Index="[PK__#pages____40A359E36921665A]" IndexKind="Clustered" />
                                              </IndexScan>
                                            </RelOp>
                                          </Sort>
                                        </RelOp>
                                      </Merge>
                                    </RelOp>
                                  </Sort>
                                </RelOp>
                              </Top>
                            </RelOp>
                          </ComputeScalar>
                        </RelOp>
                      </ComputeScalar>
                    </RelOp>
                  </ComputeScalar>
                </RelOp>
              </Update>
            </RelOp>
          </QueryPlan>
        </StmtSimple>
      </Statements>
    </Batch>
    <Batch>
      <Statements>
        <StmtSimple StatementCompId="18" StatementEstRows="1" StatementId="7" StatementOptmLevel="FULL" StatementSubTreeCost="2.29647" StatementText="UPDATE 
	    tblWorkPage 
	SET 
	    PageLinkGUID = NULL, 
	    LinkType=0,
	    LinkURL=
		(
			SELECT TOP 1 
			      '~/link/' + CONVERT(NVARCHAR(32),REPLACE((select top 1 PageGUID FROM tblPage where tblPage.pkID = tblWorkPage.fkPageID),'-','')) + '.aspx'
			FROM 
			    tblPageType
			WHERE 
			    tblPageType.pkID=(SELECT fkPageTypeID FROM tblPage WHERE tblPage.pkID=tblWorkPage.fkPageID)
		)
	 WHERE 
	    PageLinkGUID IN ( SELECT PageGUID FROM #pages )
	-- Remove workproperties,workcategories and finally the work versions themselves
" StatementType="UPDATE" QueryHash="0x4AD1EA1CED12DD5D" QueryPlanHash="0x0C72EA1D47225C89">
          <StatementSetOptions ANSI_NULLS="true" ANSI_PADDING="true" ANSI_WARNINGS="true" ARITHABORT="true" CONCAT_NULL_YIELDS_NULL="true" NUMERIC_ROUNDABORT="false" QUOTED_IDENTIFIER="true" />
          <QueryPlan DegreeOfParallelism="1" MemoryGrant="1024" CachedPlanSize="72" CompileTime="849" CompileCPU="177" CompileMemory="1176">
            <RelOp AvgRowSize="9" EstimateCPU="2E-06" EstimateIO="0.02" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="1" LogicalOp="Update" NodeId="1" Parallel="false" PhysicalOp="Clustered Index Update" EstimatedTotalSubtreeCost="2.29647">
              <OutputList />
              <RunTimeInformation>
                <RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1" />
              </RunTimeInformation>
              <Update DMLRequestSort="false">
                <Object Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Index="[PK_tblWorkContent]" IndexKind="Clustered" />
                <Object Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Index="[IDX_tblWorkContent_ContentLinkGUID]" IndexKind="NonClustered" />
                <SetPredicate>
                  <ScalarOperator ScalarString="[PhoenixCMS_RC].[dbo].[tblWorkContent].[ContentLinkGUID] = [Expr1006],[PhoenixCMS_RC].[dbo].[tblWorkContent].[LinkType] = [Expr1007],[PhoenixCMS_RC].[dbo].[tblWorkContent].[LinkURL] = [Expr1020]">
                    <ScalarExpressionList>
                      <ScalarOperator>
                        <MultipleAssign>
                          <Assign>
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="ContentLinkGUID" />
                            <ScalarOperator>
                              <Identifier>
                                <ColumnReference Column="Expr1006" />
                              </Identifier>
                            </ScalarOperator>
                          </Assign>
                          <Assign>
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="LinkType" />
                            <ScalarOperator>
                              <Identifier>
                                <ColumnReference Column="Expr1007" />
                              </Identifier>
                            </ScalarOperator>
                          </Assign>
                          <Assign>
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="LinkURL" />
                            <ScalarOperator>
                              <Identifier>
                                <ColumnReference Column="Expr1020" />
                              </Identifier>
                            </ScalarOperator>
                          </Assign>
                        </MultipleAssign>
                      </ScalarOperator>
                    </ScalarExpressionList>
                  </ScalarOperator>
                </SetPredicate>
                <RelOp AvgRowSize="294" EstimateCPU="1E-07" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="1" LogicalOp="Compute Scalar" NodeId="2" Parallel="false" PhysicalOp="Compute Scalar" EstimatedTotalSubtreeCost="2.27647">
                  <OutputList>
                    <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="pkID" />
                    <ColumnReference Column="Expr1006" />
                    <ColumnReference Column="Expr1007" />
                    <ColumnReference Column="Expr1020" />
                    <ColumnReference Column="Expr1036" />
                  </OutputList>
                  <RunTimeInformation>
                    <RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1" />
                  </RunTimeInformation>
                  <ComputeScalar>
                    <DefinedValues>
                      <DefinedValue>
                        <ColumnReference Column="Expr1036" />
                        <ScalarOperator ScalarString="[Expr1036]">
                          <Identifier>
                            <ColumnReference Column="Expr1036" />
                          </Identifier>
                        </ScalarOperator>
                      </DefinedValue>
                    </DefinedValues>
                    <RelOp AvgRowSize="294" EstimateCPU="1E-07" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="1" LogicalOp="Compute Scalar" NodeId="3" Parallel="false" PhysicalOp="Compute Scalar" EstimatedTotalSubtreeCost="2.27647">
                      <OutputList>
                        <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="pkID" />
                        <ColumnReference Column="Expr1006" />
                        <ColumnReference Column="Expr1007" />
                        <ColumnReference Column="Expr1020" />
                        <ColumnReference Column="Expr1036" />
                      </OutputList>
                      <ComputeScalar>
                        <DefinedValues>
                          <DefinedValue>
                            <ColumnReference Column="Expr1036" />
                            <ScalarOperator ScalarString="CASE WHEN [Expr1024] THEN (0) ELSE (1) END">
                              <IF>
                                <Condition>
                                  <ScalarOperator>
                                    <Identifier>
                                      <ColumnReference Column="Expr1024" />
                                    </Identifier>
                                  </ScalarOperator>
                                </Condition>
                                <Then>
                                  <ScalarOperator>
                                    <Const ConstValue="(0)" />
                                  </ScalarOperator>
                                </Then>
                                <Else>
                                  <ScalarOperator>
                                    <Const ConstValue="(1)" />
                                  </ScalarOperator>
                                </Else>
                              </IF>
                            </ScalarOperator>
                          </DefinedValue>
                        </DefinedValues>
                        <RelOp AvgRowSize="291" EstimateCPU="1E-07" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="1" LogicalOp="Compute Scalar" NodeId="4" Parallel="false" PhysicalOp="Compute Scalar" EstimatedTotalSubtreeCost="2.27647">
                          <OutputList>
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="pkID" />
                            <ColumnReference Column="Expr1006" />
                            <ColumnReference Column="Expr1007" />
                            <ColumnReference Column="Expr1020" />
                            <ColumnReference Column="Expr1024" />
                          </OutputList>
                          <ComputeScalar>
                            <DefinedValues>
                              <DefinedValue>
                                <ColumnReference Column="Expr1006" />
                                <ScalarOperator ScalarString="NULL">
                                  <Const ConstValue="NULL" />
                                </ScalarOperator>
                              </DefinedValue>
                              <DefinedValue>
                                <ColumnReference Column="Expr1007" />
                                <ScalarOperator ScalarString="(0)">
                                  <Const ConstValue="(0)" />
                                </ScalarOperator>
                              </DefinedValue>
                              <DefinedValue>
                                <ColumnReference Column="Expr1020" />
                                <ScalarOperator ScalarString="CONVERT_IMPLICIT(nvarchar(255),[Expr1019],0)">
                                  <Convert DataType="nvarchar" Length="510" Style="0" Implicit="true">
                                    <ScalarOperator>
                                      <Identifier>
                                        <ColumnReference Column="Expr1019" />
                                      </Identifier>
                                    </ScalarOperator>
                                  </Convert>
                                </ScalarOperator>
                              </DefinedValue>
                            </DefinedValues>
                            <RelOp AvgRowSize="60" EstimateCPU="4.18E-06" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="1" LogicalOp="Left Outer Join" NodeId="5" Parallel="false" PhysicalOp="Nested Loops" EstimatedTotalSubtreeCost="2.27647">
                              <OutputList>
                                <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="pkID" />
                                <ColumnReference Column="Expr1019" />
                                <ColumnReference Column="Expr1024" />
                              </OutputList>
                              <RunTimeInformation>
                                <RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1" />
                              </RunTimeInformation>
                              <NestedLoops Optimized="false">
                                <OuterReferences>
                                  <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="fkContentID" />
                                </OuterReferences>
                                <RelOp AvgRowSize="16" EstimateCPU="1E-07" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="1" LogicalOp="Top" NodeId="6" Parallel="false" PhysicalOp="Top" EstimatedTotalSubtreeCost="2.26989">
                                  <OutputList>
                                    <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="pkID" />
                                    <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="fkContentID" />
                                    <ColumnReference Column="Expr1024" />
                                  </OutputList>
                                  <RunTimeInformation>
                                    <RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1" />
                                  </RunTimeInformation>
                                  <Top RowCount="true" IsPercent="false" WithTies="false">
                                    <TopExpression>
                                      <ScalarOperator ScalarString="(0)">
                                        <Const ConstValue="(0)" />
                                      </ScalarOperator>
                                    </TopExpression>
                                    <RelOp AvgRowSize="16" EstimateCPU="0.000100016" EstimateIO="0.0112613" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="1" LogicalOp="Distinct Sort" NodeId="8" Parallel="false" PhysicalOp="Sort" EstimatedTotalSubtreeCost="2.26989">
                                      <OutputList>
                                        <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="pkID" />
                                        <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="fkContentID" />
                                        <ColumnReference Column="Expr1024" />
                                      </OutputList>
                                      <MemoryFractions Input="1" Output="1" />
                                      <RunTimeInformation>
                                        <RunTimeCountersPerThread Thread="0" ActualRebinds="1" ActualRewinds="0" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1" />
                                      </RunTimeInformation>
                                      <Sort Distinct="true">
                                        <OrderBy>
                                          <OrderByColumn Ascending="true">
                                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="pkID" />
                                          </OrderByColumn>
                                        </OrderBy>
                                        <RelOp AvgRowSize="16" EstimateCPU="1E-07" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="1" LogicalOp="Compute Scalar" NodeId="9" Parallel="false" PhysicalOp="Compute Scalar" EstimatedTotalSubtreeCost="2.25853">
                                          <OutputList>
                                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="pkID" />
                                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="fkContentID" />
                                            <ColumnReference Column="Expr1024" />
                                          </OutputList>
                                          <ComputeScalar>
                                            <DefinedValues>
                                              <DefinedValue>
                                                <ColumnReference Column="Expr1024" />
                                                <ScalarOperator ScalarString="CASE WHEN [PhoenixCMS_RC].[dbo].[tblWorkContent].[ContentLinkGUID] IS NULL THEN (1) ELSE (0) END">
                                                  <IF>
                                                    <Condition>
                                                      <ScalarOperator>
                                                        <Compare CompareOp="BINARY IS">
                                                          <ScalarOperator>
                                                            <Identifier>
                                                              <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="ContentLinkGUID" />
                                                            </Identifier>
                                                          </ScalarOperator>
                                                          <ScalarOperator>
                                                            <Const ConstValue="NULL" />
                                                          </ScalarOperator>
                                                        </Compare>
                                                      </ScalarOperator>
                                                    </Condition>
                                                    <Then>
                                                      <ScalarOperator>
                                                        <Const ConstValue="(1)" />
                                                      </ScalarOperator>
                                                    </Then>
                                                    <Else>
                                                      <ScalarOperator>
                                                        <Const ConstValue="(0)" />
                                                      </ScalarOperator>
                                                    </Else>
                                                  </IF>
                                                </ScalarOperator>
                                              </DefinedValue>
                                            </DefinedValues>
                                            <RelOp AvgRowSize="31" EstimateCPU="4.18E-06" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="1" LogicalOp="Inner Join" NodeId="10" Parallel="false" PhysicalOp="Nested Loops" EstimatedTotalSubtreeCost="2.25853">
                                              <OutputList>
                                                <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="pkID" />
                                                <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="fkContentID" />
                                                <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="ContentLinkGUID" />
                                              </OutputList>
                                              <RunTimeInformation>
                                                <RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1" />
                                              </RunTimeInformation>
                                              <NestedLoops Optimized="false">
                                                <OuterReferences>
                                                  <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="pkID" />
                                                </OuterReferences>
                                                <RelOp AvgRowSize="27" EstimateCPU="0.0324786" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="1" LogicalOp="Inner Join" NodeId="11" Parallel="false" PhysicalOp="Nested Loops" EstimatedTotalSubtreeCost="2.25524">
                                                  <OutputList>
                                                    <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="pkID" />
                                                    <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="ContentLinkGUID" />
                                                  </OutputList>
                                                  <RunTimeInformation>
                                                    <RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1" />
                                                  </RunTimeInformation>
                                                  <NestedLoops Optimized="false" WithUnorderedPrefetch="true">
                                                    <OuterReferences>
                                                      <ColumnReference Database="[tempdb]" Schema="[dbo]" Table="[#pages]" Column="PageGUID" />
                                                      <ColumnReference Column="Expr1042" />
                                                    </OuterReferences>
                                                    <RelOp AvgRowSize="23" EstimateCPU="0.008704" EstimateIO="0.023125" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="7770" LogicalOp="Clustered Index Scan" NodeId="13" Parallel="false" PhysicalOp="Clustered Index Scan" EstimatedTotalSubtreeCost="0.031829" TableCardinality="7770">
                                                      <OutputList>
                                                        <ColumnReference Database="[tempdb]" Schema="[dbo]" Table="[#pages]" Column="PageGUID" />
                                                      </OutputList>
                                                      <RunTimeInformation>
                                                        <RunTimeCountersPerThread Thread="0" ActualRows="7770" ActualEndOfScans="1" ActualExecutions="1" />
                                                      </RunTimeInformation>
                                                      <IndexScan Ordered="false" ForcedIndex="false" NoExpandHint="false">
                                                        <DefinedValues>
                                                          <DefinedValue>
                                                            <ColumnReference Database="[tempdb]" Schema="[dbo]" Table="[#pages]" Column="PageGUID" />
                                                          </DefinedValue>
                                                        </DefinedValues>
                                                        <Object Database="[tempdb]" Schema="[dbo]" Table="[#pages]" Index="[PK__#pages____40A359E36921665A]" IndexKind="Clustered" />
                                                      </IndexScan>
                                                    </RelOp>
                                                    <RelOp AvgRowSize="27" EstimateCPU="0.0001581" EstimateIO="0.003125" EstimateRebinds="7769" EstimateRewinds="0" EstimateRows="1" LogicalOp="Index Seek" NodeId="14" Parallel="false" PhysicalOp="Index Seek" EstimatedTotalSubtreeCost="2.19094" TableCardinality="73882">
                                                      <OutputList>
                                                        <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="pkID" />
                                                        <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="ContentLinkGUID" />
                                                      </OutputList>
                                                      <RunTimeInformation>
                                                        <RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="7770" ActualExecutions="7770" />
                                                      </RunTimeInformation>
                                                      <IndexScan Ordered="true" ScanDirection="FORWARD" ForcedIndex="false" ForceSeek="false" NoExpandHint="false">
                                                        <DefinedValues>
                                                          <DefinedValue>
                                                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="pkID" />
                                                          </DefinedValue>
                                                          <DefinedValue>
                                                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="ContentLinkGUID" />
                                                          </DefinedValue>
                                                        </DefinedValues>
                                                        <Object Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Index="[IDX_tblWorkContent_ContentLinkGUID]" IndexKind="NonClustered" />
                                                        <SeekPredicates>
                                                          <SeekPredicateNew>
                                                            <SeekKeys>
                                                              <Prefix ScanType="EQ">
                                                                <RangeColumns>
                                                                  <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="ContentLinkGUID" />
                                                                </RangeColumns>
                                                                <RangeExpressions>
                                                                  <ScalarOperator ScalarString="[tempdb].[dbo].[#pages].[PageGUID]">
                                                                    <Identifier>
                                                                      <ColumnReference Database="[tempdb]" Schema="[dbo]" Table="[#pages]" Column="PageGUID" />
                                                                    </Identifier>
                                                                  </ScalarOperator>
                                                                </RangeExpressions>
                                                              </Prefix>
                                                            </SeekKeys>
                                                          </SeekPredicateNew>
                                                        </SeekPredicates>
                                                      </IndexScan>
                                                    </RelOp>
                                                  </NestedLoops>
                                                </RelOp>
                                                <RelOp AvgRowSize="11" EstimateCPU="0.0001581" EstimateIO="0.003125" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="1" LogicalOp="Clustered Index Seek" NodeId="16" Parallel="false" PhysicalOp="Clustered Index Seek" EstimatedTotalSubtreeCost="0.0032831" TableCardinality="73882">
                                                  <OutputList>
                                                    <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="fkContentID" />
                                                  </OutputList>
                                                  <RunTimeInformation>
                                                    <RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0" />
                                                  </RunTimeInformation>
                                                  <IndexScan Lookup="true" Ordered="true" ScanDirection="FORWARD" ForcedIndex="false" ForceSeek="false" NoExpandHint="false">
                                                    <DefinedValues>
                                                      <DefinedValue>
                                                        <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="fkContentID" />
                                                      </DefinedValue>
                                                    </DefinedValues>
                                                    <Object Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Index="[PK_tblWorkContent]" TableReferenceId="-1" IndexKind="Clustered" />
                                                    <SeekPredicates>
                                                      <SeekPredicateNew>
                                                        <SeekKeys>
                                                          <Prefix ScanType="EQ">
                                                            <RangeColumns>
                                                              <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="pkID" />
                                                            </RangeColumns>
                                                            <RangeExpressions>
                                                              <ScalarOperator ScalarString="[PhoenixCMS_RC].[dbo].[tblWorkContent].[pkID]">
                                                                <Identifier>
                                                                  <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="pkID" />
                                                                </Identifier>
                                                              </ScalarOperator>
                                                            </RangeExpressions>
                                                          </Prefix>
                                                        </SeekKeys>
                                                      </SeekPredicateNew>
                                                    </SeekPredicates>
                                                  </IndexScan>
                                                </RelOp>
                                              </NestedLoops>
                                            </RelOp>
                                          </ComputeScalar>
                                        </RelOp>
                                      </Sort>
                                    </RelOp>
                                  </Top>
                                </RelOp>
                                <RelOp AvgRowSize="55" EstimateCPU="1E-07" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="1" LogicalOp="Top" NodeId="25" Parallel="false" PhysicalOp="Top" EstimatedTotalSubtreeCost="0.00657068">
                                  <OutputList>
                                    <ColumnReference Column="Expr1019" />
                                  </OutputList>
                                  <RunTimeInformation>
                                    <RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0" />
                                  </RunTimeInformation>
                                  <Top RowCount="false" IsPercent="false" WithTies="false">
                                    <TopExpression>
                                      <ScalarOperator ScalarString="(1)">
                                        <Const ConstValue="(1)" />
                                      </ScalarOperator>
                                    </TopExpression>
                                    <RelOp AvgRowSize="55" EstimateCPU="1E-07" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="1" LogicalOp="Compute Scalar" NodeId="26" Parallel="false" PhysicalOp="Compute Scalar" EstimatedTotalSubtreeCost="0.00657058">
                                      <OutputList>
                                        <ColumnReference Column="Expr1019" />
                                      </OutputList>
                                      <ComputeScalar>
                                        <DefinedValues>
                                          <DefinedValue>
                                            <ColumnReference Column="Expr1019" />
                                            <ScalarOperator ScalarString="(N'~/link/'+CONVERT(nvarchar(32),replace(CONVERT_IMPLICIT(varchar(40),[PhoenixCMS_RC].[dbo].[tblContent].[ContentGUID],0),'-',''),0))+N'.aspx'">
                                              <Arithmetic Operation="ADD">
                                                <ScalarOperator>
                                                  <Arithmetic Operation="ADD">
                                                    <ScalarOperator>
                                                      <Const ConstValue="N'~/link/'" />
                                                    </ScalarOperator>
                                                    <ScalarOperator>
                                                      <Convert DataType="nvarchar" Length="64" Style="0" Implicit="false">
                                                        <ScalarOperator>
                                                          <Intrinsic FunctionName="replace">
                                                            <ScalarOperator>
                                                              <Convert DataType="varchar" Length="40" Style="0" Implicit="true">
                                                                <ScalarOperator>
                                                                  <Identifier>
                                                                    <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContent]" Column="ContentGUID" />
                                                                  </Identifier>
                                                                </ScalarOperator>
                                                              </Convert>
                                                            </ScalarOperator>
                                                            <ScalarOperator>
                                                              <Const ConstValue="'-'" />
                                                            </ScalarOperator>
                                                            <ScalarOperator>
                                                              <Const ConstValue="''" />
                                                            </ScalarOperator>
                                                          </Intrinsic>
                                                        </ScalarOperator>
                                                      </Convert>
                                                    </ScalarOperator>
                                                  </Arithmetic>
                                                </ScalarOperator>
                                                <ScalarOperator>
                                                  <Const ConstValue="N'.aspx'" />
                                                </ScalarOperator>
                                              </Arithmetic>
                                            </ScalarOperator>
                                          </DefinedValue>
                                        </DefinedValues>
                                        <RelOp AvgRowSize="23" EstimateCPU="4.18E-06" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="1" LogicalOp="Left Outer Join" NodeId="27" Parallel="false" PhysicalOp="Nested Loops" EstimatedTotalSubtreeCost="0.00657048">
                                          <OutputList>
                                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContent]" Column="ContentGUID" />
                                          </OutputList>
                                          <RunTimeInformation>
                                            <RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0" />
                                          </RunTimeInformation>
                                          <NestedLoops Optimized="false">
                                            <RelOp AvgRowSize="9" EstimateCPU="0.0001581" EstimateIO="0.003125" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="1" LogicalOp="Clustered Index Seek" NodeId="28" Parallel="false" PhysicalOp="Clustered Index Seek" EstimatedTotalSubtreeCost="0.0032831" TableCardinality="67414">
                                              <OutputList />
                                              <RunTimeInformation>
                                                <RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0" />
                                              </RunTimeInformation>
                                              <IndexScan Ordered="true" ScanDirection="FORWARD" ForcedIndex="false" ForceSeek="false" NoExpandHint="false">
                                                <DefinedValues />
                                                <Object Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContent]" Index="[PK_tblContent]" TableReferenceId="1" IndexKind="Clustered" />
                                                <SeekPredicates>
                                                  <SeekPredicateNew>
                                                    <SeekKeys>
                                                      <Prefix ScanType="EQ">
                                                        <RangeColumns>
                                                          <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContent]" Column="pkID" />
                                                        </RangeColumns>
                                                        <RangeExpressions>
                                                          <ScalarOperator ScalarString="[PhoenixCMS_RC].[dbo].[tblWorkContent].[fkContentID]">
                                                            <Identifier>
                                                              <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="fkContentID" />
                                                            </Identifier>
                                                          </ScalarOperator>
                                                        </RangeExpressions>
                                                      </Prefix>
                                                    </SeekKeys>
                                                  </SeekPredicateNew>
                                                </SeekPredicates>
                                              </IndexScan>
                                            </RelOp>
                                            <RelOp AvgRowSize="23" EstimateCPU="1E-07" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="1" LogicalOp="Top" NodeId="29" Parallel="false" PhysicalOp="Top" EstimatedTotalSubtreeCost="0.0032832">
                                              <OutputList>
                                                <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContent]" Column="ContentGUID" />
                                              </OutputList>
                                              <RunTimeInformation>
                                                <RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0" />
                                              </RunTimeInformation>
                                              <Top RowCount="false" IsPercent="false" WithTies="false">
                                                <TopExpression>
                                                  <ScalarOperator ScalarString="(1)">
                                                    <Const ConstValue="(1)" />
                                                  </ScalarOperator>
                                                </TopExpression>
                                                <RelOp AvgRowSize="23" EstimateCPU="0.0001581" EstimateIO="0.003125" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="1" LogicalOp="Clustered Index Seek" NodeId="30" Parallel="false" PhysicalOp="Clustered Index Seek" EstimatedTotalSubtreeCost="0.0032831" TableCardinality="67414">
                                                  <OutputList>
                                                    <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContent]" Column="ContentGUID" />
                                                  </OutputList>
                                                  <RunTimeInformation>
                                                    <RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0" />
                                                  </RunTimeInformation>
                                                  <IndexScan Ordered="true" ScanDirection="FORWARD" ForcedIndex="false" ForceSeek="false" NoExpandHint="false">
                                                    <DefinedValues>
                                                      <DefinedValue>
                                                        <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContent]" Column="ContentGUID" />
                                                      </DefinedValue>
                                                    </DefinedValues>
                                                    <Object Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContent]" Index="[PK_tblContent]" TableReferenceId="2" IndexKind="Clustered" />
                                                    <SeekPredicates>
                                                      <SeekPredicateNew>
                                                        <SeekKeys>
                                                          <Prefix ScanType="EQ">
                                                            <RangeColumns>
                                                              <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContent]" Column="pkID" />
                                                            </RangeColumns>
                                                            <RangeExpressions>
                                                              <ScalarOperator ScalarString="[PhoenixCMS_RC].[dbo].[tblWorkContent].[fkContentID]">
                                                                <Identifier>
                                                                  <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="fkContentID" />
                                                                </Identifier>
                                                              </ScalarOperator>
                                                            </RangeExpressions>
                                                          </Prefix>
                                                        </SeekKeys>
                                                      </SeekPredicateNew>
                                                    </SeekPredicates>
                                                  </IndexScan>
                                                </RelOp>
                                              </Top>
                                            </RelOp>
                                          </NestedLoops>
                                        </RelOp>
                                      </ComputeScalar>
                                    </RelOp>
                                  </Top>
                                </RelOp>
                              </NestedLoops>
                            </RelOp>
                          </ComputeScalar>
                        </RelOp>
                      </ComputeScalar>
                    </RelOp>
                  </ComputeScalar>
                </RelOp>
              </Update>
            </RelOp>
          </QueryPlan>
        </StmtSimple>
      </Statements>
    </Batch>
    <Batch>
      <Statements>
        <StmtSimple StatementCompId="19" StatementEstRows="881557" StatementId="8" StatementOptmLevel="FULL" StatementSubTreeCost="1198.45" StatementText="DELETE FROM 
	    tblWorkProperty 
	WHERE 
	    fkWorkPageID IN ( SELECT pkID FROM tblWorkPage WHERE fkPageID IN ( SELECT pkID FROM #pages ) )
" StatementType="DELETE" QueryHash="0x72C6A0DB1FBFFF35" QueryPlanHash="0xCEBA8180FA2D1197">
          <StatementSetOptions ANSI_NULLS="true" ANSI_PADDING="true" ANSI_WARNINGS="true" ARITHABORT="true" CONCAT_NULL_YIELDS_NULL="true" NUMERIC_ROUNDABORT="false" QUOTED_IDENTIFIER="true" />
          <QueryPlan DegreeOfParallelism="4" MemoryGrant="567008" CachedPlanSize="136" CompileTime="85" CompileCPU="82" CompileMemory="1264">
            <RelOp AvgRowSize="9" EstimateCPU="4.40778" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="881557" LogicalOp="Sequence" NodeId="0" Parallel="false" PhysicalOp="Sequence" EstimatedTotalSubtreeCost="1198.45">
              <OutputList />
              <RunTimeInformation>
                <RunTimeCountersPerThread Thread="0" ActualRows="325076" ActualEndOfScans="1" ActualExecutions="1" />
              </RunTimeInformation>
              <Sequence>
                <RelOp AvgRowSize="9" EstimateCPU="0.881557" EstimateIO="11.0311" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="881557" LogicalOp="Delete" NodeId="1" Parallel="false" PhysicalOp="Index Delete" EstimatedTotalSubtreeCost="127.406">
                  <OutputList />
                  <RunTimeInformation>
                    <RunTimeCountersPerThread Thread="0" ActualRows="325076" ActualEndOfScans="1" ActualExecutions="1" />
                  </RunTimeInformation>
                  <Update WithOrderedPrefetch="true" DMLRequestSort="true">
                    <Object Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Index="[IDX_tblWorkContentProperty_ContentLink]" IndexKind="NonClustered" />
                    <RelOp AvgRowSize="15" EstimateCPU="79.9142" EstimateIO="0.0112613" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="881557" LogicalOp="Sort" NodeId="3" Parallel="false" PhysicalOp="Sort" EstimatedTotalSubtreeCost="115.494">
                      <OutputList>
                        <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Column="pkID" />
                        <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Column="ContentLink" />
                      </OutputList>
                      <MemoryFractions Input="1" Output="1" />
                      <RunTimeInformation>
                        <RunTimeCountersPerThread Thread="0" ActualRebinds="1" ActualRewinds="0" ActualRows="325076" ActualEndOfScans="1" ActualExecutions="1" />
                      </RunTimeInformation>
                      <Sort Distinct="false">
                        <OrderBy>
                          <OrderByColumn Ascending="true">
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Column="ContentLink" />
                          </OrderByColumn>
                          <OrderByColumn Ascending="true">
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Column="pkID" />
                          </OrderByColumn>
                        </OrderBy>
                        <RelOp AvgRowSize="481" EstimateCPU="0.0637197" EstimateIO="0.00263441" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="881557" LogicalOp="Eager Spool" NodeId="4" Parallel="false" PhysicalOp="Table Spool" EstimatedTotalSubtreeCost="35.5683">
                          <OutputList>
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Column="pkID" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Column="fkPropertyDefinitionID" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Column="fkWorkContentID" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Column="ScopeName" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Column="ContentType" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Column="ContentLink" />
                          </OutputList>
                          <RunTimeInformation>
                            <RunTimeCountersPerThread Thread="0" ActualRebinds="1" ActualRewinds="0" ActualRows="325076" ActualEndOfScans="1" ActualExecutions="1" />
                          </RunTimeInformation>
                          <Spool>
                            <RelOp AvgRowSize="481" EstimateCPU="0.881557" EstimateIO="149.818" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="881557" LogicalOp="Delete" NodeId="5" Parallel="false" PhysicalOp="Clustered Index Delete" EstimatedTotalSubtreeCost="176.876">
                              <OutputList>
                                <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Column="pkID" />
                                <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Column="fkPropertyDefinitionID" />
                                <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Column="fkWorkContentID" />
                                <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Column="ScopeName" />
                                <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Column="ContentType" />
                                <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Column="ContentLink" />
                              </OutputList>
                              <RunTimeInformation>
                                <RunTimeCountersPerThread Thread="0" ActualRows="325076" ActualEndOfScans="1" ActualExecutions="1" />
                              </RunTimeInformation>
                              <Update WithOrderedPrefetch="true" DMLRequestSort="true">
                                <Object Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Index="[PK_tblWorkProperty]" IndexKind="Clustered" />
                                <RelOp AvgRowSize="11" EstimateCPU="0.0881557" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="881557" LogicalOp="Top" NodeId="7" Parallel="false" PhysicalOp="Top" EstimatedTotalSubtreeCost="26.1758">
                                  <OutputList>
                                    <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Column="pkID" />
                                  </OutputList>
                                  <RunTimeInformation>
                                    <RunTimeCountersPerThread Thread="0" ActualRows="325076" ActualEndOfScans="1" ActualExecutions="1" />
                                  </RunTimeInformation>
                                  <Top RowCount="true" IsPercent="false" WithTies="false">
                                    <TopExpression>
                                      <ScalarOperator ScalarString="(0)">
                                        <Const ConstValue="(0)" />
                                      </ScalarOperator>
                                    </TopExpression>
                                    <RelOp AvgRowSize="11" EstimateCPU="2.01268" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="334220" LogicalOp="Gather Streams" NodeId="10" Parallel="true" PhysicalOp="Parallelism" EstimatedTotalSubtreeCost="26.0877">
                                      <OutputList>
                                        <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Column="pkID" />
                                      </OutputList>
                                      <RunTimeInformation>
                                        <RunTimeCountersPerThread Thread="0" ActualRows="325076" ActualEndOfScans="1" ActualExecutions="1" />
                                      </RunTimeInformation>
                                      <Parallelism>
                                        <OrderBy>
                                          <OrderByColumn Ascending="true">
                                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Column="pkID" />
                                          </OrderByColumn>
                                        </OrderBy>
                                        <RelOp AvgRowSize="11" EstimateCPU="14.0755" EstimateIO="0.00563063" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="334220" LogicalOp="Sort" NodeId="11" Parallel="true" PhysicalOp="Sort" EstimatedTotalSubtreeCost="24.075">
                                          <OutputList>
                                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Column="pkID" />
                                          </OutputList>
                                          <MemoryFractions Input="0.664122" Output="1" />
                                          <RunTimeInformation>
                                            <RunTimeCountersPerThread Thread="4" ActualRebinds="1" ActualRewinds="0" ActualRows="82256" ActualEndOfScans="1" ActualExecutions="1" />
                                            <RunTimeCountersPerThread Thread="3" ActualRebinds="1" ActualRewinds="0" ActualRows="81377" ActualEndOfScans="1" ActualExecutions="1" />
                                            <RunTimeCountersPerThread Thread="1" ActualRebinds="1" ActualRewinds="0" ActualRows="80843" ActualEndOfScans="1" ActualExecutions="1" />
                                            <RunTimeCountersPerThread Thread="2" ActualRebinds="1" ActualRewinds="0" ActualRows="80600" ActualEndOfScans="1" ActualExecutions="1" />
                                            <RunTimeCountersPerThread Thread="0" ActualRebinds="0" ActualRewinds="0" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0" />
                                          </RunTimeInformation>
                                          <Sort Distinct="false">
                                            <OrderBy>
                                              <OrderByColumn Ascending="true">
                                                <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Column="pkID" />
                                              </OrderByColumn>
                                            </OrderBy>
                                            <RelOp AvgRowSize="11" EstimateCPU="4.01849" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="334220" LogicalOp="Inner Join" NodeId="12" Parallel="true" PhysicalOp="Hash Match" EstimatedTotalSubtreeCost="9.9939">
                                              <OutputList>
                                                <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Column="pkID" />
                                              </OutputList>
                                              <MemoryFractions Input="0.817337" Output="0.335878" />
                                              <RunTimeInformation>
                                                <RunTimeCountersPerThread Thread="4" ActualRows="82256" ActualEndOfScans="1" ActualExecutions="1" />
                                                <RunTimeCountersPerThread Thread="1" ActualRows="80843" ActualEndOfScans="1" ActualExecutions="1" />
                                                <RunTimeCountersPerThread Thread="3" ActualRows="81377" ActualEndOfScans="1" ActualExecutions="1" />
                                                <RunTimeCountersPerThread Thread="2" ActualRows="80600" ActualEndOfScans="1" ActualExecutions="1" />
                                                <RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0" />
                                              </RunTimeInformation>
                                              <Hash>
                                                <DefinedValues />
                                                <HashKeysBuild>
                                                  <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="pkID" />
                                                </HashKeysBuild>
                                                <HashKeysProbe>
                                                  <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Column="fkWorkContentID" />
                                                </HashKeysProbe>
                                                <RelOp AvgRowSize="11" EstimateCPU="0.043326" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="12374.3" LogicalOp="Bitmap Create" NodeId="13" Parallel="true" PhysicalOp="Bitmap" EstimatedTotalSubtreeCost="0.686439">
                                                  <OutputList>
                                                    <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="pkID" />
                                                  </OutputList>
                                                  <RunTimeInformation>
                                                    <RunTimeCountersPerThread Thread="4" ActualRows="3414" ActualEndOfScans="1" ActualExecutions="1" />
                                                    <RunTimeCountersPerThread Thread="3" ActualRows="3395" ActualEndOfScans="1" ActualExecutions="1" />
                                                    <RunTimeCountersPerThread Thread="1" ActualRows="3366" ActualEndOfScans="1" ActualExecutions="1" />
                                                    <RunTimeCountersPerThread Thread="2" ActualRows="3375" ActualEndOfScans="1" ActualExecutions="1" />
                                                    <RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0" />
                                                  </RunTimeInformation>
                                                  <Bitmap>
                                                    <DefinedValues>
                                                      <DefinedValue>
                                                        <ColumnReference Column="Bitmap1013" />
                                                      </DefinedValue>
                                                    </DefinedValues>
                                                    <HashKeys>
                                                      <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="pkID" />
                                                    </HashKeys>
                                                    <RelOp AvgRowSize="11" EstimateCPU="0.043326" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="12374.3" LogicalOp="Repartition Streams" NodeId="14" Parallel="true" PhysicalOp="Parallelism" EstimatedTotalSubtreeCost="0.686439">
                                                      <OutputList>
                                                        <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="pkID" />
                                                      </OutputList>
                                                      <RunTimeInformation>
                                                        <RunTimeCountersPerThread Thread="4" ActualRows="3414" ActualEndOfScans="1" ActualExecutions="1" />
                                                        <RunTimeCountersPerThread Thread="1" ActualRows="3366" ActualEndOfScans="1" ActualExecutions="1" />
                                                        <RunTimeCountersPerThread Thread="3" ActualRows="3395" ActualEndOfScans="1" ActualExecutions="1" />
                                                        <RunTimeCountersPerThread Thread="2" ActualRows="3375" ActualEndOfScans="1" ActualExecutions="1" />
                                                        <RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0" />
                                                      </RunTimeInformation>
                                                      <Parallelism PartitioningType="Hash">
                                                        <PartitionColumns>
                                                          <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="pkID" />
                                                        </PartitionColumns>
                                                        <RelOp AvgRowSize="11" EstimateCPU="0.234113" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="12374.3" LogicalOp="Inner Join" NodeId="15" Parallel="true" PhysicalOp="Hash Match" EstimatedTotalSubtreeCost="0.643113">
                                                          <OutputList>
                                                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="pkID" />
                                                          </OutputList>
                                                          <MemoryFractions Input="1" Output="0.182663" />
                                                          <RunTimeInformation>
                                                            <RunTimeCountersPerThread Thread="1" ActualRows="3390" ActualEndOfScans="1" ActualExecutions="1" />
                                                            <RunTimeCountersPerThread Thread="4" ActualRows="3371" ActualEndOfScans="1" ActualExecutions="1" />
                                                            <RunTimeCountersPerThread Thread="3" ActualRows="3423" ActualEndOfScans="1" ActualExecutions="1" />
                                                            <RunTimeCountersPerThread Thread="2" ActualRows="3366" ActualEndOfScans="1" ActualExecutions="1" />
                                                            <RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0" />
                                                          </RunTimeInformation>
                                                          <Hash>
                                                            <DefinedValues />
                                                            <HashKeysBuild>
                                                              <ColumnReference Database="[tempdb]" Schema="[dbo]" Table="[#pages]" Column="pkID" />
                                                            </HashKeysBuild>
                                                            <HashKeysProbe>
                                                              <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="fkContentID" />
                                                            </HashKeysProbe>
                                                            <RelOp AvgRowSize="11" EstimateCPU="0.0378094" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="7770" LogicalOp="Bitmap Create" NodeId="16" Parallel="true" PhysicalOp="Bitmap" EstimatedTotalSubtreeCost="0.0652864">
                                                              <OutputList>
                                                                <ColumnReference Database="[tempdb]" Schema="[dbo]" Table="[#pages]" Column="pkID" />
                                                              </OutputList>
                                                              <RunTimeInformation>
                                                                <RunTimeCountersPerThread Thread="4" ActualRows="1929" ActualEndOfScans="1" ActualExecutions="1" />
                                                                <RunTimeCountersPerThread Thread="1" ActualRows="1941" ActualEndOfScans="1" ActualExecutions="1" />
                                                                <RunTimeCountersPerThread Thread="3" ActualRows="1950" ActualEndOfScans="1" ActualExecutions="1" />
                                                                <RunTimeCountersPerThread Thread="2" ActualRows="1950" ActualEndOfScans="1" ActualExecutions="1" />
                                                                <RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0" />
                                                              </RunTimeInformation>
                                                              <Bitmap>
                                                                <DefinedValues>
                                                                  <DefinedValue>
                                                                    <ColumnReference Column="Bitmap1012" />
                                                                  </DefinedValue>
                                                                </DefinedValues>
                                                                <HashKeys>
                                                                  <ColumnReference Database="[tempdb]" Schema="[dbo]" Table="[#pages]" Column="pkID" />
                                                                </HashKeys>
                                                                <RelOp AvgRowSize="11" EstimateCPU="0.0378094" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="7770" LogicalOp="Repartition Streams" NodeId="17" Parallel="true" PhysicalOp="Parallelism" EstimatedTotalSubtreeCost="0.0652864">
                                                                  <OutputList>
                                                                    <ColumnReference Database="[tempdb]" Schema="[dbo]" Table="[#pages]" Column="pkID" />
                                                                  </OutputList>
                                                                  <RunTimeInformation>
                                                                    <RunTimeCountersPerThread Thread="1" ActualRows="1941" ActualEndOfScans="1" ActualExecutions="1" />
                                                                    <RunTimeCountersPerThread Thread="4" ActualRows="1929" ActualEndOfScans="1" ActualExecutions="1" />
                                                                    <RunTimeCountersPerThread Thread="3" ActualRows="1950" ActualEndOfScans="1" ActualExecutions="1" />
                                                                    <RunTimeCountersPerThread Thread="2" ActualRows="1950" ActualEndOfScans="1" ActualExecutions="1" />
                                                                    <RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0" />
                                                                  </RunTimeInformation>
                                                                  <Parallelism PartitioningType="Hash">
                                                                    <PartitionColumns>
                                                                      <ColumnReference Database="[tempdb]" Schema="[dbo]" Table="[#pages]" Column="pkID" />
                                                                    </PartitionColumns>
                                                                    <RelOp AvgRowSize="11" EstimateCPU="0.004352" EstimateIO="0.023125" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="7770" LogicalOp="Clustered Index Scan" NodeId="18" Parallel="true" PhysicalOp="Clustered Index Scan" EstimatedTotalSubtreeCost="0.027477" TableCardinality="7770">
                                                                      <OutputList>
                                                                        <ColumnReference Database="[tempdb]" Schema="[dbo]" Table="[#pages]" Column="pkID" />
                                                                      </OutputList>
                                                                      <RunTimeInformation>
                                                                        <RunTimeCountersPerThread Thread="2" ActualRows="1910" ActualEndOfScans="1" ActualExecutions="1" />
                                                                        <RunTimeCountersPerThread Thread="1" ActualRows="1953" ActualEndOfScans="1" ActualExecutions="1" />
                                                                        <RunTimeCountersPerThread Thread="3" ActualRows="1953" ActualEndOfScans="1" ActualExecutions="1" />
                                                                        <RunTimeCountersPerThread Thread="4" ActualRows="1954" ActualEndOfScans="1" ActualExecutions="1" />
                                                                        <RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0" />
                                                                      </RunTimeInformation>
                                                                      <IndexScan Ordered="false" ForcedIndex="false" NoExpandHint="false">
                                                                        <DefinedValues>
                                                                          <DefinedValue>
                                                                            <ColumnReference Database="[tempdb]" Schema="[dbo]" Table="[#pages]" Column="pkID" />
                                                                          </DefinedValue>
                                                                        </DefinedValues>
                                                                        <Object Database="[tempdb]" Schema="[dbo]" Table="[#pages]" Index="[PK__#pages____40A359E36921665A]" IndexKind="Clustered" />
                                                                      </IndexScan>
                                                                    </RelOp>
                                                                  </Parallelism>
                                                                </RelOp>
                                                              </Bitmap>
                                                            </RelOp>
                                                            <RelOp AvgRowSize="15" EstimateCPU="0.145058" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="73882" LogicalOp="Repartition Streams" NodeId="19" Parallel="true" PhysicalOp="Parallelism" EstimatedTotalSubtreeCost="0.343712">
                                                              <OutputList>
                                                                <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="pkID" />
                                                                <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="fkContentID" />
                                                              </OutputList>
                                                              <RunTimeInformation>
                                                                <RunTimeCountersPerThread Thread="4" ActualRows="5221" ActualEndOfScans="1" ActualExecutions="1" />
                                                                <RunTimeCountersPerThread Thread="1" ActualRows="5272" ActualEndOfScans="1" ActualExecutions="1" />
                                                                <RunTimeCountersPerThread Thread="3" ActualRows="5278" ActualEndOfScans="1" ActualExecutions="1" />
                                                                <RunTimeCountersPerThread Thread="2" ActualRows="5223" ActualEndOfScans="1" ActualExecutions="1" />
                                                                <RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0" />
                                                              </RunTimeInformation>
                                                              <Parallelism PartitioningType="Hash">
                                                                <PartitionColumns>
                                                                  <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="fkContentID" />
                                                                </PartitionColumns>
                                                                <RelOp AvgRowSize="15" EstimateCPU="0.0407136" EstimateIO="0.15794" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="73882" LogicalOp="Index Scan" NodeId="20" Parallel="true" PhysicalOp="Index Scan" EstimatedTotalSubtreeCost="0.198653" TableCardinality="73882">
                                                                  <OutputList>
                                                                    <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="pkID" />
                                                                    <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="fkContentID" />
                                                                  </OutputList>
                                                                  <RunTimeInformation>
                                                                    <RunTimeCountersPerThread Thread="1" ActualRows="2355" ActualEndOfScans="1" ActualExecutions="1" />
                                                                    <RunTimeCountersPerThread Thread="4" ActualRows="4383" ActualEndOfScans="1" ActualExecutions="1" />
                                                                    <RunTimeCountersPerThread Thread="3" ActualRows="2625" ActualEndOfScans="1" ActualExecutions="1" />
                                                                    <RunTimeCountersPerThread Thread="2" ActualRows="11631" ActualEndOfScans="1" ActualExecutions="1" />
                                                                    <RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0" />
                                                                  </RunTimeInformation>
                                                                  <IndexScan Ordered="false" ForcedIndex="false" ForceSeek="false" NoExpandHint="false">
                                                                    <DefinedValues>
                                                                      <DefinedValue>
                                                                        <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="pkID" />
                                                                      </DefinedValue>
                                                                      <DefinedValue>
                                                                        <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="fkContentID" />
                                                                      </DefinedValue>
                                                                    </DefinedValues>
                                                                    <Object Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Index="[IDX_tblWorkContent_fkContentID]" IndexKind="NonClustered" />
                                                                    <Predicate>
                                                                      <ScalarOperator ScalarString="PROBE([Bitmap1012],[PhoenixCMS_RC].[dbo].[tblWorkContent].[fkContentID],N'[IN ROW]')">
                                                                        <Intrinsic FunctionName="PROBE">
                                                                          <ScalarOperator>
                                                                            <Identifier>
                                                                              <ColumnReference Column="Bitmap1012" />
                                                                            </Identifier>
                                                                          </ScalarOperator>
                                                                          <ScalarOperator>
                                                                            <Identifier>
                                                                              <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="fkContentID" />
                                                                            </Identifier>
                                                                          </ScalarOperator>
                                                                          <ScalarOperator>
                                                                            <Const ConstValue="N'[IN ROW]'" />
                                                                          </ScalarOperator>
                                                                        </Intrinsic>
                                                                      </ScalarOperator>
                                                                    </Predicate>
                                                                  </IndexScan>
                                                                </RelOp>
                                                              </Parallelism>
                                                            </RelOp>
                                                          </Hash>
                                                        </RelOp>
                                                      </Parallelism>
                                                    </RelOp>
                                                  </Bitmap>
                                                </RelOp>
                                                <RelOp AvgRowSize="15" EstimateCPU="2.56953" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="1610670" LogicalOp="Repartition Streams" NodeId="22" Parallel="true" PhysicalOp="Parallelism" EstimatedTotalSubtreeCost="5.28897">
                                                  <OutputList>
                                                    <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Column="pkID" />
                                                    <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Column="fkWorkContentID" />
                                                  </OutputList>
                                                  <RunTimeInformation>
                                                    <RunTimeCountersPerThread Thread="4" ActualRows="405100" ActualEndOfScans="1" ActualExecutions="1" />
                                                    <RunTimeCountersPerThread Thread="3" ActualRows="402587" ActualEndOfScans="1" ActualExecutions="1" />
                                                    <RunTimeCountersPerThread Thread="1" ActualRows="400147" ActualEndOfScans="1" ActualExecutions="1" />
                                                    <RunTimeCountersPerThread Thread="2" ActualRows="400633" ActualEndOfScans="1" ActualExecutions="1" />
                                                    <RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0" />
                                                  </RunTimeInformation>
                                                  <Parallelism PartitioningType="Hash">
                                                    <PartitionColumns>
                                                      <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Column="fkWorkContentID" />
                                                    </PartitionColumns>
                                                    <RelOp AvgRowSize="15" EstimateCPU="0.885946" EstimateIO="1.8335" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="1610670" LogicalOp="Index Scan" NodeId="23" Parallel="true" PhysicalOp="Index Scan" EstimatedTotalSubtreeCost="2.71944" TableCardinality="1610670">
                                                      <OutputList>
                                                        <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Column="pkID" />
                                                        <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Column="fkWorkContentID" />
                                                      </OutputList>
                                                      <RunTimeInformation>
                                                        <RunTimeCountersPerThread Thread="3" ActualRows="521111" ActualEndOfScans="1" ActualExecutions="1" />
                                                        <RunTimeCountersPerThread Thread="1" ActualRows="423803" ActualEndOfScans="1" ActualExecutions="1" />
                                                        <RunTimeCountersPerThread Thread="4" ActualRows="323586" ActualEndOfScans="1" ActualExecutions="1" />
                                                        <RunTimeCountersPerThread Thread="2" ActualRows="339967" ActualEndOfScans="1" ActualExecutions="1" />
                                                        <RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0" />
                                                      </RunTimeInformation>
                                                      <IndexScan Ordered="true" ScanDirection="FORWARD" ForcedIndex="false" ForceSeek="false" NoExpandHint="false">
                                                        <DefinedValues>
                                                          <DefinedValue>
                                                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Column="pkID" />
                                                          </DefinedValue>
                                                          <DefinedValue>
                                                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Column="fkWorkContentID" />
                                                          </DefinedValue>
                                                        </DefinedValues>
                                                        <Object Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Index="[IX_tblWorkContentProperty_fkWorkContentID]" IndexKind="NonClustered" />
                                                        <Predicate>
                                                          <ScalarOperator ScalarString="PROBE([Bitmap1013],[PhoenixCMS_RC].[dbo].[tblWorkContentProperty].[fkWorkContentID],N'[IN ROW]')">
                                                            <Intrinsic FunctionName="PROBE">
                                                              <ScalarOperator>
                                                                <Identifier>
                                                                  <ColumnReference Column="Bitmap1013" />
                                                                </Identifier>
                                                              </ScalarOperator>
                                                              <ScalarOperator>
                                                                <Identifier>
                                                                  <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Column="fkWorkContentID" />
                                                                </Identifier>
                                                              </ScalarOperator>
                                                              <ScalarOperator>
                                                                <Const ConstValue="N'[IN ROW]'" />
                                                              </ScalarOperator>
                                                            </Intrinsic>
                                                          </ScalarOperator>
                                                        </Predicate>
                                                      </IndexScan>
                                                    </RelOp>
                                                  </Parallelism>
                                                </RelOp>
                                              </Hash>
                                            </RelOp>
                                          </Sort>
                                        </RelOp>
                                      </Parallelism>
                                    </RelOp>
                                  </Top>
                                </RelOp>
                              </Update>
                            </RelOp>
                          </Spool>
                        </RelOp>
                      </Sort>
                    </RelOp>
                  </Update>
                </RelOp>
                <RelOp AvgRowSize="9" EstimateCPU="0.881557" EstimateIO="8.39061" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="881557" LogicalOp="Delete" NodeId="28" Parallel="false" PhysicalOp="Index Delete" EstimatedTotalSubtreeCost="685.836">
                  <OutputList />
                  <RunTimeInformation>
                    <RunTimeCountersPerThread Thread="0" ActualRows="325076" ActualEndOfScans="1" ActualExecutions="1" />
                  </RunTimeInformation>
                  <Update WithOrderedPrefetch="true" DMLRequestSort="true">
                    <Object Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Index="[IDX_tblWorkContentProperty_ScopeName]" IndexKind="NonClustered" />
                    <RelOp AvgRowSize="465" EstimateCPU="20.5221" EstimateIO="620.473" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="881557" LogicalOp="Sort" NodeId="30" Parallel="false" PhysicalOp="Sort" EstimatedTotalSubtreeCost="676.563">
                      <OutputList>
                        <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Column="pkID" />
                        <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Column="ScopeName" />
                      </OutputList>
                      <MemoryFractions Input="1" Output="1" />
                      <RunTimeInformation>
                        <RunTimeCountersPerThread Thread="0" ActualRebinds="1" ActualRewinds="0" ActualRows="325076" ActualEndOfScans="1" ActualExecutions="1" />
                      </RunTimeInformation>
                      <Sort Distinct="false">
                        <OrderBy>
                          <OrderByColumn Ascending="true">
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Column="ScopeName" />
                          </OrderByColumn>
                          <OrderByColumn Ascending="true">
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Column="pkID" />
                          </OrderByColumn>
                        </OrderBy>
                        <RelOp AvgRowSize="481" EstimateCPU="0.0637197" EstimateIO="0.00263441" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="881557" LogicalOp="Eager Spool" NodeId="31" Parallel="false" PhysicalOp="Table Spool" EstimatedTotalSubtreeCost="35.5683">
                          <OutputList>
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Column="pkID" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Column="fkPropertyDefinitionID" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Column="fkWorkContentID" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Column="ScopeName" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Column="ContentType" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Column="ContentLink" />
                          </OutputList>
                          <RunTimeInformation>
                            <RunTimeCountersPerThread Thread="0" ActualRebinds="1" ActualRewinds="0" ActualRows="325076" ActualEndOfScans="1" ActualExecutions="1" />
                          </RunTimeInformation>
                          <Spool PrimaryNodeId="4" />
                        </RelOp>
                      </Sort>
                    </RelOp>
                  </Update>
                </RelOp>
                <RelOp AvgRowSize="9" EstimateCPU="0.881557" EstimateIO="11.5118" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="881557" LogicalOp="Delete" NodeId="32" Parallel="false" PhysicalOp="Index Delete" EstimatedTotalSubtreeCost="127.887">
                  <OutputList />
                  <RunTimeInformation>
                    <RunTimeCountersPerThread Thread="0" ActualRows="325076" ActualEndOfScans="1" ActualExecutions="1" />
                  </RunTimeInformation>
                  <Update WithOrderedPrefetch="true" DMLRequestSort="true">
                    <Object Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Index="[IDX_tblWorkContentProperty_ContentTypeID]" IndexKind="NonClustered" />
                    <RelOp AvgRowSize="15" EstimateCPU="79.9142" EstimateIO="0.0112613" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="881557" LogicalOp="Sort" NodeId="34" Parallel="false" PhysicalOp="Sort" EstimatedTotalSubtreeCost="115.494">
                      <OutputList>
                        <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Column="pkID" />
                        <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Column="ContentType" />
                      </OutputList>
                      <MemoryFractions Input="1" Output="1" />
                      <RunTimeInformation>
                        <RunTimeCountersPerThread Thread="0" ActualRebinds="1" ActualRewinds="0" ActualRows="325076" ActualEndOfScans="1" ActualExecutions="1" />
                      </RunTimeInformation>
                      <Sort Distinct="false">
                        <OrderBy>
                          <OrderByColumn Ascending="true">
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Column="ContentType" />
                          </OrderByColumn>
                          <OrderByColumn Ascending="true">
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Column="pkID" />
                          </OrderByColumn>
                        </OrderBy>
                        <RelOp AvgRowSize="481" EstimateCPU="0.0637197" EstimateIO="0.00263441" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="881557" LogicalOp="Eager Spool" NodeId="35" Parallel="false" PhysicalOp="Table Spool" EstimatedTotalSubtreeCost="35.5683">
                          <OutputList>
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Column="pkID" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Column="fkPropertyDefinitionID" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Column="fkWorkContentID" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Column="ScopeName" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Column="ContentType" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Column="ContentLink" />
                          </OutputList>
                          <RunTimeInformation>
                            <RunTimeCountersPerThread Thread="0" ActualRebinds="1" ActualRewinds="0" ActualRows="325076" ActualEndOfScans="1" ActualExecutions="1" />
                          </RunTimeInformation>
                          <Spool PrimaryNodeId="4" />
                        </RelOp>
                      </Sort>
                    </RelOp>
                  </Update>
                </RelOp>
                <RelOp AvgRowSize="9" EstimateCPU="0.881557" EstimateIO="11.0163" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="881557" LogicalOp="Delete" NodeId="36" Parallel="false" PhysicalOp="Index Delete" EstimatedTotalSubtreeCost="127.392">
                  <OutputList />
                  <RunTimeInformation>
                    <RunTimeCountersPerThread Thread="0" ActualRows="325076" ActualEndOfScans="1" ActualExecutions="1" />
                  </RunTimeInformation>
                  <Update WithOrderedPrefetch="true" DMLRequestSort="true">
                    <Object Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Index="[IDX_tblWorkContentProperty_fkPropertyDefinitionID]" IndexKind="NonClustered" />
                    <RelOp AvgRowSize="15" EstimateCPU="79.9142" EstimateIO="0.0112613" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="881557" LogicalOp="Sort" NodeId="38" Parallel="false" PhysicalOp="Sort" EstimatedTotalSubtreeCost="115.494">
                      <OutputList>
                        <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Column="pkID" />
                        <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Column="fkPropertyDefinitionID" />
                      </OutputList>
                      <MemoryFractions Input="1" Output="1" />
                      <RunTimeInformation>
                        <RunTimeCountersPerThread Thread="0" ActualRebinds="1" ActualRewinds="0" ActualRows="325076" ActualEndOfScans="1" ActualExecutions="1" />
                      </RunTimeInformation>
                      <Sort Distinct="false">
                        <OrderBy>
                          <OrderByColumn Ascending="true">
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Column="fkPropertyDefinitionID" />
                          </OrderByColumn>
                          <OrderByColumn Ascending="true">
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Column="pkID" />
                          </OrderByColumn>
                        </OrderBy>
                        <RelOp AvgRowSize="481" EstimateCPU="0.0637197" EstimateIO="0.00263441" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="881557" LogicalOp="Eager Spool" NodeId="39" Parallel="false" PhysicalOp="Table Spool" EstimatedTotalSubtreeCost="35.5683">
                          <OutputList>
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Column="pkID" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Column="fkPropertyDefinitionID" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Column="fkWorkContentID" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Column="ScopeName" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Column="ContentType" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Column="ContentLink" />
                          </OutputList>
                          <RunTimeInformation>
                            <RunTimeCountersPerThread Thread="0" ActualRebinds="1" ActualRewinds="0" ActualRows="325076" ActualEndOfScans="1" ActualExecutions="1" />
                          </RunTimeInformation>
                          <Spool PrimaryNodeId="4" />
                        </RelOp>
                      </Sort>
                    </RelOp>
                  </Update>
                </RelOp>
                <RelOp AvgRowSize="9" EstimateCPU="0.881557" EstimateIO="9.14503" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="881557" LogicalOp="Delete" NodeId="40" Parallel="false" PhysicalOp="Index Delete" EstimatedTotalSubtreeCost="125.52">
                  <OutputList />
                  <RunTimeInformation>
                    <RunTimeCountersPerThread Thread="0" ActualRows="325076" ActualEndOfScans="1" ActualExecutions="1" />
                  </RunTimeInformation>
                  <Update WithOrderedPrefetch="true" DMLRequestSort="true">
                    <Object Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Index="[IX_tblWorkContentProperty_fkWorkContentID]" IndexKind="NonClustered" />
                    <RelOp AvgRowSize="15" EstimateCPU="79.9142" EstimateIO="0.0112613" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="881557" LogicalOp="Sort" NodeId="42" Parallel="false" PhysicalOp="Sort" EstimatedTotalSubtreeCost="115.494">
                      <OutputList>
                        <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Column="pkID" />
                        <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Column="fkWorkContentID" />
                      </OutputList>
                      <MemoryFractions Input="1" Output="1" />
                      <RunTimeInformation>
                        <RunTimeCountersPerThread Thread="0" ActualRebinds="1" ActualRewinds="0" ActualRows="325076" ActualEndOfScans="1" ActualExecutions="1" />
                      </RunTimeInformation>
                      <Sort Distinct="false">
                        <OrderBy>
                          <OrderByColumn Ascending="true">
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Column="fkWorkContentID" />
                          </OrderByColumn>
                          <OrderByColumn Ascending="true">
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Column="pkID" />
                          </OrderByColumn>
                        </OrderBy>
                        <RelOp AvgRowSize="481" EstimateCPU="0.0637197" EstimateIO="0.00263441" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="881557" LogicalOp="Eager Spool" NodeId="43" Parallel="false" PhysicalOp="Table Spool" EstimatedTotalSubtreeCost="35.5683">
                          <OutputList>
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Column="pkID" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Column="fkPropertyDefinitionID" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Column="fkWorkContentID" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Column="ScopeName" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Column="ContentType" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Column="ContentLink" />
                          </OutputList>
                          <RunTimeInformation>
                            <RunTimeCountersPerThread Thread="0" ActualRebinds="1" ActualRewinds="0" ActualRows="325076" ActualEndOfScans="1" ActualExecutions="1" />
                          </RunTimeInformation>
                          <Spool PrimaryNodeId="4" />
                        </RelOp>
                      </Sort>
                    </RelOp>
                  </Update>
                </RelOp>
              </Sequence>
            </RelOp>
          </QueryPlan>
        </StmtSimple>
      </Statements>
    </Batch>
    <Batch>
      <Statements>
        <StmtSimple StatementCompId="20" StatementEstRows="1" StatementId="9" StatementOptmLevel="FULL" StatementOptmEarlyAbortReason="GoodEnoughPlanFound" StatementSubTreeCost="0.0298598" StatementText="DELETE FROM 
	    tblWorkCategory 
	WHERE 
	    fkWorkPageID IN ( SELECT pkID FROM tblWorkPage WHERE fkPageID IN ( SELECT pkID FROM #pages ) )
" StatementType="DELETE" QueryHash="0x7154781C0ECFFF99" QueryPlanHash="0xA3BB992C3D15A79F">
          <StatementSetOptions ANSI_NULLS="true" ANSI_PADDING="true" ANSI_WARNINGS="true" ARITHABORT="true" CONCAT_NULL_YIELDS_NULL="true" NUMERIC_ROUNDABORT="false" QUOTED_IDENTIFIER="true" />
          <QueryPlan DegreeOfParallelism="1" CachedPlanSize="32" CompileTime="66" CompileCPU="29" CompileMemory="824">
            <RelOp AvgRowSize="9" EstimateCPU="2E-06" EstimateIO="0.02" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="1" LogicalOp="Delete" NodeId="0" Parallel="false" PhysicalOp="Clustered Index Delete" EstimatedTotalSubtreeCost="0.0298598">
              <OutputList />
              <RunTimeInformation>
                <RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1" />
              </RunTimeInformation>
              <Update DMLRequestSort="false">
                <Object Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentCategory]" Index="[PK_tblWorkContentCategory]" IndexKind="Clustered" />
                <Object Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentCategory]" Index="[IDX_tblWorkContentCategory_fkWorkContentID]" IndexKind="NonClustered" />
                <RelOp AvgRowSize="11" EstimateCPU="1E-07" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="1" LogicalOp="Top" NodeId="1" Parallel="false" PhysicalOp="Top" EstimatedTotalSubtreeCost="0.00985776">
                  <OutputList>
                    <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentCategory]" Column="pkID" />
                  </OutputList>
                  <RunTimeInformation>
                    <RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1" />
                  </RunTimeInformation>
                  <Top RowCount="true" IsPercent="false" WithTies="false">
                    <TopExpression>
                      <ScalarOperator ScalarString="(0)">
                        <Const ConstValue="(0)" />
                      </ScalarOperator>
                    </TopExpression>
                    <RelOp AvgRowSize="11" EstimateCPU="4.18E-06" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="1" LogicalOp="Inner Join" NodeId="4" Parallel="false" PhysicalOp="Nested Loops" EstimatedTotalSubtreeCost="0.00985766">
                      <OutputList>
                        <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentCategory]" Column="pkID" />
                      </OutputList>
                      <RunTimeInformation>
                        <RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1" />
                      </RunTimeInformation>
                      <NestedLoops Optimized="false">
                        <OuterReferences>
                          <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="fkContentID" />
                        </OuterReferences>
                        <RelOp AvgRowSize="15" EstimateCPU="4.18E-06" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="1" LogicalOp="Inner Join" NodeId="5" Parallel="false" PhysicalOp="Nested Loops" EstimatedTotalSubtreeCost="0.00657038">
                          <OutputList>
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentCategory]" Column="pkID" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="fkContentID" />
                          </OutputList>
                          <RunTimeInformation>
                            <RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1" />
                          </RunTimeInformation>
                          <NestedLoops Optimized="false">
                            <OuterReferences>
                              <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentCategory]" Column="fkWorkContentID" />
                            </OuterReferences>
                            <RelOp AvgRowSize="15" EstimateCPU="0.0001581" EstimateIO="0.003125" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="1" LogicalOp="Index Scan" NodeId="6" Parallel="false" PhysicalOp="Index Scan" EstimatedTotalSubtreeCost="0.0032831" TableCardinality="0">
                              <OutputList>
                                <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentCategory]" Column="pkID" />
                                <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentCategory]" Column="fkWorkContentID" />
                              </OutputList>
                              <RunTimeInformation>
                                <RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1" />
                              </RunTimeInformation>
                              <IndexScan Ordered="true" ScanDirection="FORWARD" ForcedIndex="false" ForceSeek="false" NoExpandHint="false">
                                <DefinedValues>
                                  <DefinedValue>
                                    <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentCategory]" Column="pkID" />
                                  </DefinedValue>
                                  <DefinedValue>
                                    <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentCategory]" Column="fkWorkContentID" />
                                  </DefinedValue>
                                </DefinedValues>
                                <Object Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentCategory]" Index="[IDX_tblWorkContentCategory_fkWorkContentID]" IndexKind="NonClustered" />
                              </IndexScan>
                            </RelOp>
                            <RelOp AvgRowSize="11" EstimateCPU="0.0001581" EstimateIO="0.003125" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="1" LogicalOp="Clustered Index Seek" NodeId="7" Parallel="false" PhysicalOp="Clustered Index Seek" EstimatedTotalSubtreeCost="0.0032831" TableCardinality="73882">
                              <OutputList>
                                <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="fkContentID" />
                              </OutputList>
                              <RunTimeInformation>
                                <RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0" />
                              </RunTimeInformation>
                              <IndexScan Ordered="true" ScanDirection="FORWARD" ForcedIndex="false" ForceSeek="false" NoExpandHint="false">
                                <DefinedValues>
                                  <DefinedValue>
                                    <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="fkContentID" />
                                  </DefinedValue>
                                </DefinedValues>
                                <Object Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Index="[PK_tblWorkContent]" IndexKind="Clustered" />
                                <SeekPredicates>
                                  <SeekPredicateNew>
                                    <SeekKeys>
                                      <Prefix ScanType="EQ">
                                        <RangeColumns>
                                          <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="pkID" />
                                        </RangeColumns>
                                        <RangeExpressions>
                                          <ScalarOperator ScalarString="[PhoenixCMS_RC].[dbo].[tblWorkContentCategory].[fkWorkContentID]">
                                            <Identifier>
                                              <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentCategory]" Column="fkWorkContentID" />
                                            </Identifier>
                                          </ScalarOperator>
                                        </RangeExpressions>
                                      </Prefix>
                                    </SeekKeys>
                                  </SeekPredicateNew>
                                </SeekPredicates>
                              </IndexScan>
                            </RelOp>
                          </NestedLoops>
                        </RelOp>
                        <RelOp AvgRowSize="9" EstimateCPU="0.0001581" EstimateIO="0.003125" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="1" LogicalOp="Clustered Index Seek" NodeId="8" Parallel="false" PhysicalOp="Clustered Index Seek" EstimatedTotalSubtreeCost="0.0032831" TableCardinality="7770">
                          <OutputList />
                          <RunTimeInformation>
                            <RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0" />
                          </RunTimeInformation>
                          <IndexScan Ordered="true" ScanDirection="FORWARD" ForcedIndex="false" ForceSeek="false" NoExpandHint="false">
                            <DefinedValues />
                            <Object Database="[tempdb]" Schema="[dbo]" Table="[#pages]" Index="[PK__#pages____40A359E36921665A]" IndexKind="Clustered" />
                            <SeekPredicates>
                              <SeekPredicateNew>
                                <SeekKeys>
                                  <Prefix ScanType="EQ">
                                    <RangeColumns>
                                      <ColumnReference Database="[tempdb]" Schema="[dbo]" Table="[#pages]" Column="pkID" />
                                    </RangeColumns>
                                    <RangeExpressions>
                                      <ScalarOperator ScalarString="[PhoenixCMS_RC].[dbo].[tblWorkContent].[fkContentID]">
                                        <Identifier>
                                          <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="fkContentID" />
                                        </Identifier>
                                      </ScalarOperator>
                                    </RangeExpressions>
                                  </Prefix>
                                </SeekKeys>
                              </SeekPredicateNew>
                            </SeekPredicates>
                          </IndexScan>
                        </RelOp>
                      </NestedLoops>
                    </RelOp>
                  </Top>
                </RelOp>
              </Update>
            </RelOp>
          </QueryPlan>
        </StmtSimple>
      </Statements>
    </Batch>
    <Batch>
      <Statements>
        <StmtSimple StatementCompId="21" StatementEstRows="9021.01" StatementId="10" StatementOptmLevel="FULL" StatementSubTreeCost="12.4317" StatementText="DELETE FROM 
	    tblWorkPage 
	WHERE 
	    fkPageID IN ( SELECT pkID FROM #pages )
-- PUBLISHED PAGE DATA
" StatementType="DELETE" QueryHash="0x41B12CBD8B51A8AB" QueryPlanHash="0x05FF843ACFE45A0B">
          <StatementSetOptions ANSI_NULLS="true" ANSI_PADDING="true" ANSI_WARNINGS="true" ARITHABORT="true" CONCAT_NULL_YIELDS_NULL="true" NUMERIC_ROUNDABORT="false" QUOTED_IDENTIFIER="true" />
          <QueryPlan DegreeOfParallelism="4" MemoryGrant="8736" CachedPlanSize="96" CompileTime="2160" CompileCPU="285" CompileMemory="760">
            <RelOp AvgRowSize="9" EstimateCPU="0.0190444" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="9021.01" LogicalOp="Sequence" NodeId="1" Parallel="false" PhysicalOp="Sequence" EstimatedTotalSubtreeCost="12.4317">
              <OutputList />
              <RunTimeInformation>
                <RunTimeCountersPerThread Thread="0" ActualRows="13550" ActualEndOfScans="1" ActualExecutions="1" />
              </RunTimeInformation>
              <Sequence>
                <RelOp AvgRowSize="11" EstimateCPU="0.000551221" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="10023.4" LogicalOp="Eager Spool" NodeId="2" Parallel="false" PhysicalOp="Table Spool" EstimatedTotalSubtreeCost="5.68355">
                  <OutputList>
                    <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="pkID" />
                  </OutputList>
                  <RunTimeInformation>
                    <RunTimeCountersPerThread Thread="0" ActualRebinds="1" ActualRewinds="0" ActualRows="13550" ActualEndOfScans="1" ActualExecutions="1" />
                  </RunTimeInformation>
                  <Spool>
                    <RelOp AvgRowSize="11" EstimateCPU="0.00882055" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="10023.4" LogicalOp="Assert" NodeId="3" Parallel="false" PhysicalOp="Assert" EstimatedTotalSubtreeCost="11.3649">
                      <OutputList>
                        <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="pkID" />
                      </OutputList>
                      <RunTimeInformation>
                        <RunTimeCountersPerThread Thread="0" ActualRows="13550" ActualEndOfScans="1" ActualExecutions="1" />
                      </RunTimeInformation>
                      <Assert StartupExpression="false">
                        <RelOp AvgRowSize="12" EstimateCPU="0.0465529" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="10023.4" LogicalOp="Left Semi Join" NodeId="4" Parallel="false" PhysicalOp="Nested Loops" EstimatedTotalSubtreeCost="11.3561">
                          <OutputList>
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="pkID" />
                            <ColumnReference Column="Expr1018" />
                            <ColumnReference Column="Expr1019" />
                          </OutputList>
                          <RunTimeInformation>
                            <RunTimeCountersPerThread Thread="0" ActualRows="13550" ActualEndOfScans="1" ActualExecutions="1" />
                          </RunTimeInformation>
                          <NestedLoops Optimized="false" WithUnorderedPrefetch="true">
                            <DefinedValues>
                              <DefinedValue>
                                <ColumnReference Column="Expr1019" />
                              </DefinedValue>
                            </DefinedValues>
                            <OuterReferences>
                              <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="pkID" />
                              <ColumnReference Column="Expr1023" />
                            </OuterReferences>
                            <ProbeColumn>
                              <ColumnReference Column="Expr1019" />
                            </ProbeColumn>
                            <RelOp AvgRowSize="12" EstimateCPU="0.017855" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="11137.1" LogicalOp="Left Semi Join" NodeId="6" Parallel="false" PhysicalOp="Merge Join" EstimatedTotalSubtreeCost="8.96291">
                              <OutputList>
                                <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="pkID" />
                                <ColumnReference Column="Expr1018" />
                              </OutputList>
                              <RunTimeInformation>
                                <RunTimeCountersPerThread Thread="0" ActualRows="13550" ActualEndOfScans="1" ActualExecutions="1" />
                              </RunTimeInformation>
                              <Merge ManyToMany="false">
                                <InnerSideJoinColumns>
                                  <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentCategory]" Column="fkWorkContentID" />
                                </InnerSideJoinColumns>
                                <OuterSideJoinColumns>
                                  <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="pkID" />
                                </OuterSideJoinColumns>
                                <Residual>
                                  <ScalarOperator ScalarString="[PhoenixCMS_RC].[dbo].[tblWorkContentCategory].[fkWorkContentID]=[PhoenixCMS_RC].[dbo].[tblWorkContent].[pkID]">
                                    <Compare CompareOp="EQ">
                                      <ScalarOperator>
                                        <Identifier>
                                          <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentCategory]" Column="fkWorkContentID" />
                                        </Identifier>
                                      </ScalarOperator>
                                      <ScalarOperator>
                                        <Identifier>
                                          <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="pkID" />
                                        </Identifier>
                                      </ScalarOperator>
                                    </Compare>
                                  </ScalarOperator>
                                </Residual>
                                <RelOp AvgRowSize="11" EstimateCPU="0.0866215" EstimateIO="7.71706" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="12374.5" LogicalOp="Delete" NodeId="7" Parallel="false" PhysicalOp="Clustered Index Delete" EstimatedTotalSubtreeCost="8.94177">
                                  <OutputList>
                                    <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="pkID" />
                                  </OutputList>
                                  <RunTimeInformation>
                                    <RunTimeCountersPerThread Thread="0" ActualRows="13550" ActualEndOfScans="1" ActualExecutions="1" />
                                  </RunTimeInformation>
                                  <Update WithOrderedPrefetch="true" DMLRequestSort="true">
                                    <Object Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Index="[PK_tblWorkContent]" IndexKind="Clustered" />
                                    <Object Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Index="[IDX_tblWorkContent_fkContentID]" IndexKind="NonClustered" />
                                    <Object Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Index="[IDX_tblWorkContent_ChangedByName]" IndexKind="NonClustered" />
                                    <Object Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Index="[IDX_tblWorkContent_StatusFields]" IndexKind="NonClustered" />
                                    <Object Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Index="[IDX_tblWorkContent_ArchiveContentGUID]" IndexKind="NonClustered" />
                                    <Object Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Index="[IDX_tblWorkContent_ContentLinkGUID]" IndexKind="NonClustered" />
                                    <Object Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Index="[IDX_tblWorkContent_fkMasterVersionID]" IndexKind="NonClustered" />
                                    <RelOp AvgRowSize="11" EstimateCPU="0.00123745" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="12374.5" LogicalOp="Top" NodeId="9" Parallel="false" PhysicalOp="Top" EstimatedTotalSubtreeCost="1.13808">
                                      <OutputList>
                                        <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="pkID" />
                                      </OutputList>
                                      <RunTimeInformation>
                                        <RunTimeCountersPerThread Thread="0" ActualRows="13550" ActualEndOfScans="1" ActualExecutions="1" />
                                      </RunTimeInformation>
                                      <Top RowCount="true" IsPercent="false" WithTies="false">
                                        <TopExpression>
                                          <ScalarOperator ScalarString="(0)">
                                            <Const ConstValue="(0)" />
                                          </ScalarOperator>
                                        </TopExpression>
                                        <RelOp AvgRowSize="11" EstimateCPU="0.101963" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="12374.3" LogicalOp="Gather Streams" NodeId="11" Parallel="true" PhysicalOp="Parallelism" EstimatedTotalSubtreeCost="1.13684">
                                          <OutputList>
                                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="pkID" />
                                          </OutputList>
                                          <RunTimeInformation>
                                            <RunTimeCountersPerThread Thread="0" ActualRows="13550" ActualEndOfScans="1" ActualExecutions="1" />
                                          </RunTimeInformation>
                                          <Parallelism>
                                            <OrderBy>
                                              <OrderByColumn Ascending="true">
                                                <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="pkID" />
                                              </OrderByColumn>
                                            </OrderBy>
                                            <RelOp AvgRowSize="11" EstimateCPU="0.386136" EstimateIO="0.00563063" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="12374.3" LogicalOp="Sort" NodeId="12" Parallel="true" PhysicalOp="Sort" EstimatedTotalSubtreeCost="1.03488">
                                              <OutputList>
                                                <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="pkID" />
                                              </OutputList>
                                              <MemoryFractions Input="0.345898" Output="1" />
                                              <RunTimeInformation>
                                                <RunTimeCountersPerThread Thread="2" ActualRebinds="1" ActualRewinds="0" ActualRows="3366" ActualEndOfScans="1" ActualExecutions="1" />
                                                <RunTimeCountersPerThread Thread="4" ActualRebinds="1" ActualRewinds="0" ActualRows="3371" ActualEndOfScans="1" ActualExecutions="1" />
                                                <RunTimeCountersPerThread Thread="3" ActualRebinds="1" ActualRewinds="0" ActualRows="3423" ActualEndOfScans="1" ActualExecutions="1" />
                                                <RunTimeCountersPerThread Thread="1" ActualRebinds="1" ActualRewinds="0" ActualRows="3390" ActualEndOfScans="1" ActualExecutions="1" />
                                                <RunTimeCountersPerThread Thread="0" ActualRebinds="0" ActualRewinds="0" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0" />
                                              </RunTimeInformation>
                                              <Sort Distinct="false">
                                                <OrderBy>
                                                  <OrderByColumn Ascending="true">
                                                    <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="pkID" />
                                                  </OrderByColumn>
                                                </OrderBy>
                                                <RelOp AvgRowSize="11" EstimateCPU="0.234113" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="12374.3" LogicalOp="Inner Join" NodeId="13" Parallel="true" PhysicalOp="Hash Match" EstimatedTotalSubtreeCost="0.643113">
                                                  <OutputList>
                                                    <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="pkID" />
                                                  </OutputList>
                                                  <MemoryFractions Input="1" Output="0.654102" />
                                                  <RunTimeInformation>
                                                    <RunTimeCountersPerThread Thread="2" ActualRows="3366" ActualEndOfScans="1" ActualExecutions="1" />
                                                    <RunTimeCountersPerThread Thread="4" ActualRows="3371" ActualEndOfScans="1" ActualExecutions="1" />
                                                    <RunTimeCountersPerThread Thread="3" ActualRows="3423" ActualEndOfScans="1" ActualExecutions="1" />
                                                    <RunTimeCountersPerThread Thread="1" ActualRows="3390" ActualEndOfScans="1" ActualExecutions="1" />
                                                    <RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0" />
                                                  </RunTimeInformation>
                                                  <Hash>
                                                    <DefinedValues />
                                                    <HashKeysBuild>
                                                      <ColumnReference Database="[tempdb]" Schema="[dbo]" Table="[#pages]" Column="pkID" />
                                                    </HashKeysBuild>
                                                    <HashKeysProbe>
                                                      <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="fkContentID" />
                                                    </HashKeysProbe>
                                                    <RelOp AvgRowSize="11" EstimateCPU="0.0378094" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="7770" LogicalOp="Bitmap Create" NodeId="14" Parallel="true" PhysicalOp="Bitmap" EstimatedTotalSubtreeCost="0.0652864">
                                                      <OutputList>
                                                        <ColumnReference Database="[tempdb]" Schema="[dbo]" Table="[#pages]" Column="pkID" />
                                                      </OutputList>
                                                      <RunTimeInformation>
                                                        <RunTimeCountersPerThread Thread="2" ActualRows="1950" ActualEndOfScans="1" ActualExecutions="1" />
                                                        <RunTimeCountersPerThread Thread="4" ActualRows="1929" ActualEndOfScans="1" ActualExecutions="1" />
                                                        <RunTimeCountersPerThread Thread="3" ActualRows="1950" ActualEndOfScans="1" ActualExecutions="1" />
                                                        <RunTimeCountersPerThread Thread="1" ActualRows="1941" ActualEndOfScans="1" ActualExecutions="1" />
                                                        <RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0" />
                                                      </RunTimeInformation>
                                                      <Bitmap>
                                                        <DefinedValues>
                                                          <DefinedValue>
                                                            <ColumnReference Column="Bitmap1021" />
                                                          </DefinedValue>
                                                        </DefinedValues>
                                                        <HashKeys>
                                                          <ColumnReference Database="[tempdb]" Schema="[dbo]" Table="[#pages]" Column="pkID" />
                                                        </HashKeys>
                                                        <RelOp AvgRowSize="11" EstimateCPU="0.0378094" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="7770" LogicalOp="Repartition Streams" NodeId="15" Parallel="true" PhysicalOp="Parallelism" EstimatedTotalSubtreeCost="0.0652864">
                                                          <OutputList>
                                                            <ColumnReference Database="[tempdb]" Schema="[dbo]" Table="[#pages]" Column="pkID" />
                                                          </OutputList>
                                                          <RunTimeInformation>
                                                            <RunTimeCountersPerThread Thread="2" ActualRows="1950" ActualEndOfScans="1" ActualExecutions="1" />
                                                            <RunTimeCountersPerThread Thread="4" ActualRows="1929" ActualEndOfScans="1" ActualExecutions="1" />
                                                            <RunTimeCountersPerThread Thread="3" ActualRows="1950" ActualEndOfScans="1" ActualExecutions="1" />
                                                            <RunTimeCountersPerThread Thread="1" ActualRows="1941" ActualEndOfScans="1" ActualExecutions="1" />
                                                            <RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0" />
                                                          </RunTimeInformation>
                                                          <Parallelism PartitioningType="Hash">
                                                            <PartitionColumns>
                                                              <ColumnReference Database="[tempdb]" Schema="[dbo]" Table="[#pages]" Column="pkID" />
                                                            </PartitionColumns>
                                                            <RelOp AvgRowSize="11" EstimateCPU="0.004352" EstimateIO="0.023125" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="7770" LogicalOp="Clustered Index Scan" NodeId="16" Parallel="true" PhysicalOp="Clustered Index Scan" EstimatedTotalSubtreeCost="0.027477" TableCardinality="7770">
                                                              <OutputList>
                                                                <ColumnReference Database="[tempdb]" Schema="[dbo]" Table="[#pages]" Column="pkID" />
                                                              </OutputList>
                                                              <RunTimeInformation>
                                                                <RunTimeCountersPerThread Thread="2" ActualRows="3026" ActualEndOfScans="1" ActualExecutions="1" />
                                                                <RunTimeCountersPerThread Thread="4" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1" />
                                                                <RunTimeCountersPerThread Thread="3" ActualRows="2232" ActualEndOfScans="1" ActualExecutions="1" />
                                                                <RunTimeCountersPerThread Thread="1" ActualRows="2512" ActualEndOfScans="1" ActualExecutions="1" />
                                                                <RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0" />
                                                              </RunTimeInformation>
                                                              <IndexScan Ordered="false" ForcedIndex="false" NoExpandHint="false">
                                                                <DefinedValues>
                                                                  <DefinedValue>
                                                                    <ColumnReference Database="[tempdb]" Schema="[dbo]" Table="[#pages]" Column="pkID" />
                                                                  </DefinedValue>
                                                                </DefinedValues>
                                                                <Object Database="[tempdb]" Schema="[dbo]" Table="[#pages]" Index="[PK__#pages____40A359E36921665A]" IndexKind="Clustered" />
                                                              </IndexScan>
                                                            </RelOp>
                                                          </Parallelism>
                                                        </RelOp>
                                                      </Bitmap>
                                                    </RelOp>
                                                    <RelOp AvgRowSize="15" EstimateCPU="0.145058" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="73882" LogicalOp="Repartition Streams" NodeId="17" Parallel="true" PhysicalOp="Parallelism" EstimatedTotalSubtreeCost="0.343712">
                                                      <OutputList>
                                                        <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="pkID" />
                                                        <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="fkContentID" />
                                                      </OutputList>
                                                      <RunTimeInformation>
                                                        <RunTimeCountersPerThread Thread="2" ActualRows="3368" ActualEndOfScans="1" ActualExecutions="1" />
                                                        <RunTimeCountersPerThread Thread="4" ActualRows="3373" ActualEndOfScans="1" ActualExecutions="1" />
                                                        <RunTimeCountersPerThread Thread="3" ActualRows="3428" ActualEndOfScans="1" ActualExecutions="1" />
                                                        <RunTimeCountersPerThread Thread="1" ActualRows="3397" ActualEndOfScans="1" ActualExecutions="1" />
                                                        <RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0" />
                                                      </RunTimeInformation>
                                                      <Parallelism PartitioningType="Hash">
                                                        <PartitionColumns>
                                                          <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="fkContentID" />
                                                        </PartitionColumns>
                                                        <RelOp AvgRowSize="15" EstimateCPU="0.0407136" EstimateIO="0.15794" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="73882" LogicalOp="Index Scan" NodeId="18" Parallel="true" PhysicalOp="Index Scan" EstimatedTotalSubtreeCost="0.198653" TableCardinality="73882">
                                                          <OutputList>
                                                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="pkID" />
                                                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="fkContentID" />
                                                          </OutputList>
                                                          <RunTimeInformation>
                                                            <RunTimeCountersPerThread Thread="4" ActualRows="3159" ActualEndOfScans="1" ActualExecutions="1" />
                                                            <RunTimeCountersPerThread Thread="2" ActualRows="3433" ActualEndOfScans="1" ActualExecutions="1" />
                                                            <RunTimeCountersPerThread Thread="1" ActualRows="4020" ActualEndOfScans="1" ActualExecutions="1" />
                                                            <RunTimeCountersPerThread Thread="3" ActualRows="2954" ActualEndOfScans="1" ActualExecutions="1" />
                                                            <RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0" />
                                                          </RunTimeInformation>
                                                          <IndexScan Ordered="true" ScanDirection="FORWARD" ForcedIndex="false" ForceSeek="false" NoExpandHint="false">
                                                            <DefinedValues>
                                                              <DefinedValue>
                                                                <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="pkID" />
                                                              </DefinedValue>
                                                              <DefinedValue>
                                                                <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="fkContentID" />
                                                              </DefinedValue>
                                                            </DefinedValues>
                                                            <Object Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Index="[IDX_tblWorkContent_fkContentID]" IndexKind="NonClustered" />
                                                            <Predicate>
                                                              <ScalarOperator ScalarString="PROBE([Bitmap1021],[PhoenixCMS_RC].[dbo].[tblWorkContent].[fkContentID],N'[IN ROW]')">
                                                                <Intrinsic FunctionName="PROBE">
                                                                  <ScalarOperator>
                                                                    <Identifier>
                                                                      <ColumnReference Column="Bitmap1021" />
                                                                    </Identifier>
                                                                  </ScalarOperator>
                                                                  <ScalarOperator>
                                                                    <Identifier>
                                                                      <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="fkContentID" />
                                                                    </Identifier>
                                                                  </ScalarOperator>
                                                                  <ScalarOperator>
                                                                    <Const ConstValue="N'[IN ROW]'" />
                                                                  </ScalarOperator>
                                                                </Intrinsic>
                                                              </ScalarOperator>
                                                            </Predicate>
                                                          </IndexScan>
                                                        </RelOp>
                                                      </Parallelism>
                                                    </RelOp>
                                                  </Hash>
                                                </RelOp>
                                              </Sort>
                                            </RelOp>
                                          </Parallelism>
                                        </RelOp>
                                      </Top>
                                    </RelOp>
                                  </Update>
                                </RelOp>
                                <RelOp AvgRowSize="11" EstimateCPU="0.0001581" EstimateIO="0.003125" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="1" LogicalOp="Index Scan" NodeId="22" Parallel="false" PhysicalOp="Index Scan" EstimatedTotalSubtreeCost="0.0032831" TableCardinality="0">
                                  <OutputList>
                                    <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentCategory]" Column="fkWorkContentID" />
                                  </OutputList>
                                  <RunTimeInformation>
                                    <RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1" />
                                  </RunTimeInformation>
                                  <IndexScan Ordered="true" ScanDirection="FORWARD" ForcedIndex="true" ForceSeek="false" NoExpandHint="false">
                                    <DefinedValues>
                                      <DefinedValue>
                                        <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentCategory]" Column="fkWorkContentID" />
                                      </DefinedValue>
                                    </DefinedValues>
                                    <Object Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentCategory]" Index="[IDX_tblWorkContentCategory_fkWorkContentID]" IndexKind="NonClustered" />
                                  </IndexScan>
                                </RelOp>
                              </Merge>
                            </RelOp>
                            <RelOp AvgRowSize="9" EstimateCPU="0.000182306" EstimateIO="0.003125" EstimateRebinds="11135.8" EstimateRewinds="0.210669" EstimateRows="2.30057" LogicalOp="Index Seek" NodeId="24" Parallel="false" PhysicalOp="Index Seek" EstimatedTotalSubtreeCost="2.34662" TableCardinality="1285560">
                              <OutputList />
                              <RunTimeInformation>
                                <RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="13550" ActualExecutions="13550" />
                              </RunTimeInformation>
                              <IndexScan Ordered="true" ScanDirection="FORWARD" ForcedIndex="true" ForceSeek="false" NoExpandHint="false">
                                <DefinedValues />
                                <Object Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Index="[IX_tblWorkContentProperty_fkWorkContentID]" IndexKind="NonClustered" />
                                <SeekPredicates>
                                  <SeekPredicateNew>
                                    <SeekKeys>
                                      <Prefix ScanType="EQ">
                                        <RangeColumns>
                                          <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Column="fkWorkContentID" />
                                        </RangeColumns>
                                        <RangeExpressions>
                                          <ScalarOperator ScalarString="[PhoenixCMS_RC].[dbo].[tblWorkContent].[pkID]">
                                            <Identifier>
                                              <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="pkID" />
                                            </Identifier>
                                          </ScalarOperator>
                                        </RangeExpressions>
                                      </Prefix>
                                    </SeekKeys>
                                  </SeekPredicateNew>
                                </SeekPredicates>
                              </IndexScan>
                            </RelOp>
                          </NestedLoops>
                        </RelOp>
                        <Predicate>
                          <ScalarOperator ScalarString="CASE WHEN NOT [Expr1018] IS NULL THEN (0) ELSE CASE WHEN NOT [Expr1019] IS NULL THEN (1) ELSE NULL END END">
                            <IF>
                              <Condition>
                                <ScalarOperator>
                                  <Logical Operation="NOT">
                                    <ScalarOperator>
                                      <Logical Operation="IS NULL">
                                        <ScalarOperator>
                                          <Identifier>
                                            <ColumnReference Column="Expr1018" />
                                          </Identifier>
                                        </ScalarOperator>
                                      </Logical>
                                    </ScalarOperator>
                                  </Logical>
                                </ScalarOperator>
                              </Condition>
                              <Then>
                                <ScalarOperator>
                                  <Const ConstValue="(0)" />
                                </ScalarOperator>
                              </Then>
                              <Else>
                                <ScalarOperator>
                                  <IF>
                                    <Condition>
                                      <ScalarOperator>
                                        <Logical Operation="NOT">
                                          <ScalarOperator>
                                            <Logical Operation="IS NULL">
                                              <ScalarOperator>
                                                <Identifier>
                                                  <ColumnReference Column="Expr1019" />
                                                </Identifier>
                                              </ScalarOperator>
                                            </Logical>
                                          </ScalarOperator>
                                        </Logical>
                                      </ScalarOperator>
                                    </Condition>
                                    <Then>
                                      <ScalarOperator>
                                        <Const ConstValue="(1)" />
                                      </ScalarOperator>
                                    </Then>
                                    <Else>
                                      <ScalarOperator>
                                        <Const ConstValue="NULL" />
                                      </ScalarOperator>
                                    </Else>
                                  </IF>
                                </ScalarOperator>
                              </Else>
                            </IF>
                          </ScalarOperator>
                        </Predicate>
                      </Assert>
                    </RelOp>
                  </Spool>
                </RelOp>
                <RelOp AvgRowSize="9" EstimateCPU="0.00523219" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="9021.01" LogicalOp="Assert" NodeId="26" Parallel="false" PhysicalOp="Assert" EstimatedTotalSubtreeCost="6.72911">
                  <OutputList />
                  <RunTimeInformation>
                    <RunTimeCountersPerThread Thread="0" ActualRows="13550" ActualEndOfScans="1" ActualExecutions="1" />
                  </RunTimeInformation>
                  <Assert StartupExpression="false">
                    <RelOp AvgRowSize="9" EstimateCPU="0.191724" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="9021.01" LogicalOp="Left Semi Join" NodeId="27" Parallel="false" PhysicalOp="Merge Join" EstimatedTotalSubtreeCost="6.72387">
                      <OutputList>
                        <ColumnReference Column="Expr1020" />
                      </OutputList>
                      <RunTimeInformation>
                        <RunTimeCountersPerThread Thread="0" ActualRows="13550" ActualEndOfScans="1" ActualExecutions="1" />
                      </RunTimeInformation>
                      <Merge ManyToMany="false">
                        <InnerSideJoinColumns>
                          <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="fkMasterVersionID" />
                        </InnerSideJoinColumns>
                        <OuterSideJoinColumns>
                          <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="pkID" />
                        </OuterSideJoinColumns>
                        <Residual>
                          <ScalarOperator ScalarString="[PhoenixCMS_RC].[dbo].[tblWorkContent].[fkMasterVersionID]=[PhoenixCMS_RC].[dbo].[tblWorkContent].[pkID]">
                            <Compare CompareOp="EQ">
                              <ScalarOperator>
                                <Identifier>
                                  <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="fkMasterVersionID" />
                                </Identifier>
                              </ScalarOperator>
                              <ScalarOperator>
                                <Identifier>
                                  <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="pkID" />
                                </Identifier>
                              </ScalarOperator>
                            </Compare>
                          </ScalarOperator>
                        </Residual>
                        <RelOp AvgRowSize="11" EstimateCPU="0.606852" EstimateIO="0.0112613" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="10023.4" LogicalOp="Sort" NodeId="28" Parallel="false" PhysicalOp="Sort" EstimatedTotalSubtreeCost="6.30167">
                          <OutputList>
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="pkID" />
                          </OutputList>
                          <MemoryFractions Input="1" Output="1" />
                          <RunTimeInformation>
                            <RunTimeCountersPerThread Thread="0" ActualRebinds="1" ActualRewinds="0" ActualRows="13550" ActualEndOfScans="1" ActualExecutions="1" />
                          </RunTimeInformation>
                          <Sort Distinct="false">
                            <OrderBy>
                              <OrderByColumn Ascending="true">
                                <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="pkID" />
                              </OrderByColumn>
                            </OrderBy>
                            <RelOp AvgRowSize="11" EstimateCPU="0.000551221" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="10023.4" LogicalOp="Eager Spool" NodeId="29" Parallel="false" PhysicalOp="Table Spool" EstimatedTotalSubtreeCost="5.68355">
                              <OutputList>
                                <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="pkID" />
                              </OutputList>
                              <RunTimeInformation>
                                <RunTimeCountersPerThread Thread="0" ActualRebinds="1" ActualRewinds="0" ActualRows="13550" ActualEndOfScans="1" ActualExecutions="1" />
                              </RunTimeInformation>
                              <Spool PrimaryNodeId="2" />
                            </RelOp>
                          </Sort>
                        </RelOp>
                        <RelOp AvgRowSize="11" EstimateCPU="0.0814272" EstimateIO="0.149051" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="73882" LogicalOp="Index Scan" NodeId="30" Parallel="false" PhysicalOp="Index Scan" EstimatedTotalSubtreeCost="0.230478" TableCardinality="73882">
                          <OutputList>
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="fkMasterVersionID" />
                          </OutputList>
                          <RunTimeInformation>
                            <RunTimeCountersPerThread Thread="0" ActualRows="60326" ActualEndOfScans="0" ActualExecutions="1" />
                          </RunTimeInformation>
                          <IndexScan Ordered="true" ScanDirection="FORWARD" ForcedIndex="true" ForceSeek="false" NoExpandHint="false">
                            <DefinedValues>
                              <DefinedValue>
                                <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="fkMasterVersionID" />
                              </DefinedValue>
                            </DefinedValues>
                            <Object Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Index="[IDX_tblWorkContent_fkMasterVersionID]" IndexKind="NonClustered" />
                          </IndexScan>
                        </RelOp>
                      </Merge>
                    </RelOp>
                    <Predicate>
                      <ScalarOperator ScalarString="CASE WHEN NOT [Expr1020] IS NULL THEN (0) ELSE NULL END">
                        <IF>
                          <Condition>
                            <ScalarOperator>
                              <Logical Operation="NOT">
                                <ScalarOperator>
                                  <Logical Operation="IS NULL">
                                    <ScalarOperator>
                                      <Identifier>
                                        <ColumnReference Column="Expr1020" />
                                      </Identifier>
                                    </ScalarOperator>
                                  </Logical>
                                </ScalarOperator>
                              </Logical>
                            </ScalarOperator>
                          </Condition>
                          <Then>
                            <ScalarOperator>
                              <Const ConstValue="(0)" />
                            </ScalarOperator>
                          </Then>
                          <Else>
                            <ScalarOperator>
                              <Const ConstValue="NULL" />
                            </ScalarOperator>
                          </Else>
                        </IF>
                      </ScalarOperator>
                    </Predicate>
                  </Assert>
                </RelOp>
              </Sequence>
            </RelOp>
          </QueryPlan>
        </StmtSimple>
      </Statements>
    </Batch>
    <Batch>
      <Statements>
        <StmtSimple StatementCompId="23" StatementEstRows="3698.88" StatementId="11" StatementOptmLevel="FULL" StatementSubTreeCost="3.41819" StatementText="DELETE FROM 
		    tblProperty 
		WHERE 
		    PageLink IN (SELECT pkID FROM #pages)
" StatementType="DELETE" QueryHash="0x3A06E944194F255D" QueryPlanHash="0x9034275F4B535685">
          <StatementSetOptions ANSI_NULLS="true" ANSI_PADDING="true" ANSI_WARNINGS="true" ARITHABORT="true" CONCAT_NULL_YIELDS_NULL="true" NUMERIC_ROUNDABORT="false" QUOTED_IDENTIFIER="true" />
          <QueryPlan DegreeOfParallelism="1" MemoryGrant="4560" CachedPlanSize="104" CompileTime="43" CompileCPU="18" CompileMemory="656">
            <RelOp AvgRowSize="9" EstimateCPU="0.0221933" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="3698.88" LogicalOp="Sequence" NodeId="0" Parallel="false" PhysicalOp="Sequence" EstimatedTotalSubtreeCost="3.41819">
              <OutputList />
              <RunTimeInformation>
                <RunTimeCountersPerThread Thread="0" ActualRows="13" ActualEndOfScans="1" ActualExecutions="1" />
              </RunTimeInformation>
              <Sequence>
                <RelOp AvgRowSize="9" EstimateCPU="0.00369888" EstimateIO="0.077351" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="3698.88" LogicalOp="Delete" NodeId="1" Parallel="false" PhysicalOp="Index Delete" EstimatedTotalSubtreeCost="0.557041">
                  <OutputList />
                  <RunTimeInformation>
                    <RunTimeCountersPerThread Thread="0" ActualRows="13" ActualEndOfScans="1" ActualExecutions="1" />
                  </RunTimeInformation>
                  <Update WithOrderedPrefetch="true" DMLRequestSort="true">
                    <Object Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Index="[IDX_tblContentProperty_fkPropertyDefinitionID]" IndexKind="NonClustered" />
                    <RelOp AvgRowSize="15" EstimateCPU="0.068494" EstimateIO="0.0112613" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="3698.88" LogicalOp="Sort" NodeId="3" Parallel="false" PhysicalOp="Sort" EstimatedTotalSubtreeCost="0.475991">
                      <OutputList>
                        <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="pkID" />
                        <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="fkPropertyDefinitionID" />
                      </OutputList>
                      <MemoryFractions Input="1" Output="1" />
                      <RunTimeInformation>
                        <RunTimeCountersPerThread Thread="0" ActualRebinds="1" ActualRewinds="0" ActualRows="13" ActualEndOfScans="1" ActualExecutions="1" />
                      </RunTimeInformation>
                      <Sort Distinct="false">
                        <OrderBy>
                          <OrderByColumn Ascending="true">
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="fkPropertyDefinitionID" />
                          </OrderByColumn>
                          <OrderByColumn Ascending="true">
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="pkID" />
                          </OrderByColumn>
                        </OrderBy>
                        <RelOp AvgRowSize="518" EstimateCPU="0.000239018" EstimateIO="0.00219103" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="3698.88" LogicalOp="Eager Spool" NodeId="4" Parallel="false" PhysicalOp="Table Spool" EstimatedTotalSubtreeCost="0.396236">
                          <OutputList>
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="pkID" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="fkPropertyDefinitionID" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="fkContentID" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="fkLanguageBranchID" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="ScopeName" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="guid" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="ContentType" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="ContentLink" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="LinkGuid" />
                          </OutputList>
                          <RunTimeInformation>
                            <RunTimeCountersPerThread Thread="0" ActualRebinds="1" ActualRewinds="0" ActualRows="13" ActualEndOfScans="1" ActualExecutions="1" />
                          </RunTimeInformation>
                          <Spool>
                            <RelOp AvgRowSize="518" EstimateCPU="0.00369888" EstimateIO="0.941479" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="3698.88" LogicalOp="Delete" NodeId="5" Parallel="false" PhysicalOp="Clustered Index Delete" EstimatedTotalSubtreeCost="2.35903">
                              <OutputList>
                                <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="pkID" />
                                <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="fkPropertyDefinitionID" />
                                <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="fkContentID" />
                                <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="fkLanguageBranchID" />
                                <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="ScopeName" />
                                <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="guid" />
                                <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="ContentType" />
                                <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="ContentLink" />
                                <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="LinkGuid" />
                              </OutputList>
                              <RunTimeInformation>
                                <RunTimeCountersPerThread Thread="0" ActualRows="13" ActualEndOfScans="1" ActualExecutions="1" />
                              </RunTimeInformation>
                              <Update WithUnorderedPrefetch="true" DMLRequestSort="false">
                                <Object Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Index="[PK_tblContentProperty]" IndexKind="Clustered" />
                                <RelOp AvgRowSize="11" EstimateCPU="0.000369888" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="3698.88" LogicalOp="Top" NodeId="7" Parallel="false" PhysicalOp="Top" EstimatedTotalSubtreeCost="1.41385">
                                  <OutputList>
                                    <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="pkID" />
                                  </OutputList>
                                  <RunTimeInformation>
                                    <RunTimeCountersPerThread Thread="0" ActualRows="13" ActualEndOfScans="1" ActualExecutions="1" />
                                  </RunTimeInformation>
                                  <Top RowCount="true" IsPercent="false" WithTies="false">
                                    <TopExpression>
                                      <ScalarOperator ScalarString="(0)">
                                        <Const ConstValue="(0)" />
                                      </ScalarOperator>
                                    </TopExpression>
                                    <RelOp AvgRowSize="11" EstimateCPU="0.0324786" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="3215.64" LogicalOp="Inner Join" NodeId="9" Parallel="false" PhysicalOp="Nested Loops" EstimatedTotalSubtreeCost="1.41348">
                                      <OutputList>
                                        <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="pkID" />
                                      </OutputList>
                                      <RunTimeInformation>
                                        <RunTimeCountersPerThread Thread="0" ActualRows="13" ActualEndOfScans="1" ActualExecutions="1" />
                                      </RunTimeInformation>
                                      <NestedLoops Optimized="false" WithUnorderedPrefetch="true">
                                        <OuterReferences>
                                          <ColumnReference Database="[tempdb]" Schema="[dbo]" Table="[#pages]" Column="pkID" />
                                          <ColumnReference Column="Expr1009" />
                                        </OuterReferences>
                                        <RelOp AvgRowSize="11" EstimateCPU="0.008704" EstimateIO="0.023125" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="7770" LogicalOp="Clustered Index Scan" NodeId="11" Parallel="false" PhysicalOp="Clustered Index Scan" EstimatedTotalSubtreeCost="0.031829" TableCardinality="7770">
                                          <OutputList>
                                            <ColumnReference Database="[tempdb]" Schema="[dbo]" Table="[#pages]" Column="pkID" />
                                          </OutputList>
                                          <RunTimeInformation>
                                            <RunTimeCountersPerThread Thread="0" ActualRows="7770" ActualEndOfScans="1" ActualExecutions="1" />
                                          </RunTimeInformation>
                                          <IndexScan Ordered="false" ForcedIndex="false" NoExpandHint="false">
                                            <DefinedValues>
                                              <DefinedValue>
                                                <ColumnReference Database="[tempdb]" Schema="[dbo]" Table="[#pages]" Column="pkID" />
                                              </DefinedValue>
                                            </DefinedValues>
                                            <Object Database="[tempdb]" Schema="[dbo]" Table="[#pages]" Index="[PK__#pages____40A359E36921665A]" IndexKind="Clustered" />
                                          </IndexScan>
                                        </RelOp>
                                        <RelOp AvgRowSize="11" EstimateCPU="0.0001581" EstimateIO="0.003125" EstimateRebinds="7769" EstimateRewinds="0" EstimateRows="1" LogicalOp="Index Seek" NodeId="12" Parallel="false" PhysicalOp="Index Seek" EstimatedTotalSubtreeCost="1.34917" TableCardinality="1439020">
                                          <OutputList>
                                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="pkID" />
                                          </OutputList>
                                          <RunTimeInformation>
                                            <RunTimeCountersPerThread Thread="0" ActualRows="13" ActualEndOfScans="7770" ActualExecutions="7770" />
                                          </RunTimeInformation>
                                          <IndexScan Ordered="true" ScanDirection="FORWARD" ForcedIndex="false" ForceSeek="false" NoExpandHint="false">
                                            <DefinedValues>
                                              <DefinedValue>
                                                <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="pkID" />
                                              </DefinedValue>
                                            </DefinedValues>
                                            <Object Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Index="[IDX_tblContentProperty_ContentLink]" IndexKind="NonClustered" />
                                            <SeekPredicates>
                                              <SeekPredicateNew>
                                                <SeekKeys>
                                                  <Prefix ScanType="EQ">
                                                    <RangeColumns>
                                                      <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="ContentLink" />
                                                    </RangeColumns>
                                                    <RangeExpressions>
                                                      <ScalarOperator ScalarString="[tempdb].[dbo].[#pages].[pkID]">
                                                        <Identifier>
                                                          <ColumnReference Database="[tempdb]" Schema="[dbo]" Table="[#pages]" Column="pkID" />
                                                        </Identifier>
                                                      </ScalarOperator>
                                                    </RangeExpressions>
                                                  </Prefix>
                                                </SeekKeys>
                                              </SeekPredicateNew>
                                            </SeekPredicates>
                                          </IndexScan>
                                        </RelOp>
                                      </NestedLoops>
                                    </RelOp>
                                  </Top>
                                </RelOp>
                              </Update>
                            </RelOp>
                          </Spool>
                        </RelOp>
                      </Sort>
                    </RelOp>
                  </Update>
                </RelOp>
                <RelOp AvgRowSize="9" EstimateCPU="0.00369888" EstimateIO="0.0391422" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="3698.88" LogicalOp="Delete" NodeId="15" Parallel="false" PhysicalOp="Index Delete" EstimatedTotalSubtreeCost="0.518832">
                  <OutputList />
                  <RunTimeInformation>
                    <RunTimeCountersPerThread Thread="0" ActualRows="13" ActualEndOfScans="1" ActualExecutions="1" />
                  </RunTimeInformation>
                  <Update WithOrderedPrefetch="true" DMLRequestSort="true">
                    <Object Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Index="[IDX_tblContentProperty_ScopeName]" IndexKind="NonClustered" />
                    <RelOp AvgRowSize="465" EstimateCPU="0.0684945" EstimateIO="0.0112613" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="3698.88" LogicalOp="Sort" NodeId="17" Parallel="false" PhysicalOp="Sort" EstimatedTotalSubtreeCost="0.475991">
                      <OutputList>
                        <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="pkID" />
                        <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="ScopeName" />
                      </OutputList>
                      <MemoryFractions Input="1" Output="1" />
                      <RunTimeInformation>
                        <RunTimeCountersPerThread Thread="0" ActualRebinds="1" ActualRewinds="0" ActualRows="13" ActualEndOfScans="1" ActualExecutions="1" />
                      </RunTimeInformation>
                      <Sort Distinct="false">
                        <OrderBy>
                          <OrderByColumn Ascending="true">
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="ScopeName" />
                          </OrderByColumn>
                          <OrderByColumn Ascending="true">
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="pkID" />
                          </OrderByColumn>
                        </OrderBy>
                        <RelOp AvgRowSize="518" EstimateCPU="0.000239018" EstimateIO="0.00219103" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="3698.88" LogicalOp="Eager Spool" NodeId="18" Parallel="false" PhysicalOp="Table Spool" EstimatedTotalSubtreeCost="0.396236">
                          <OutputList>
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="pkID" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="fkPropertyDefinitionID" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="fkContentID" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="fkLanguageBranchID" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="ScopeName" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="guid" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="ContentType" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="ContentLink" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="LinkGuid" />
                          </OutputList>
                          <RunTimeInformation>
                            <RunTimeCountersPerThread Thread="0" ActualRebinds="1" ActualRewinds="0" ActualRows="13" ActualEndOfScans="1" ActualExecutions="1" />
                          </RunTimeInformation>
                          <Spool PrimaryNodeId="4" />
                        </RelOp>
                      </Sort>
                    </RelOp>
                  </Update>
                </RelOp>
                <RelOp AvgRowSize="9" EstimateCPU="0.00369888" EstimateIO="0.152866" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="3698.88" LogicalOp="Delete" NodeId="19" Parallel="false" PhysicalOp="Index Delete" EstimatedTotalSubtreeCost="0.632555">
                  <OutputList />
                  <RunTimeInformation>
                    <RunTimeCountersPerThread Thread="0" ActualRows="13" ActualEndOfScans="1" ActualExecutions="1" />
                  </RunTimeInformation>
                  <Update WithOrderedPrefetch="true" DMLRequestSort="true">
                    <Object Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Index="[IDX_tblContentProperty_ContentLink]" IndexKind="NonClustered" />
                    <RelOp AvgRowSize="31" EstimateCPU="0.0684941" EstimateIO="0.0112613" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="3698.88" LogicalOp="Sort" NodeId="21" Parallel="false" PhysicalOp="Sort" EstimatedTotalSubtreeCost="0.475991">
                      <OutputList>
                        <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="pkID" />
                        <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="ContentLink" />
                        <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="LinkGuid" />
                      </OutputList>
                      <MemoryFractions Input="1" Output="1" />
                      <RunTimeInformation>
                        <RunTimeCountersPerThread Thread="0" ActualRebinds="1" ActualRewinds="0" ActualRows="13" ActualEndOfScans="1" ActualExecutions="1" />
                      </RunTimeInformation>
                      <Sort Distinct="false">
                        <OrderBy>
                          <OrderByColumn Ascending="true">
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="ContentLink" />
                          </OrderByColumn>
                          <OrderByColumn Ascending="true">
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="LinkGuid" />
                          </OrderByColumn>
                          <OrderByColumn Ascending="true">
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="pkID" />
                          </OrderByColumn>
                        </OrderBy>
                        <RelOp AvgRowSize="518" EstimateCPU="0.000239018" EstimateIO="0.00219103" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="3698.88" LogicalOp="Eager Spool" NodeId="22" Parallel="false" PhysicalOp="Table Spool" EstimatedTotalSubtreeCost="0.396236">
                          <OutputList>
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="pkID" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="fkPropertyDefinitionID" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="fkContentID" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="fkLanguageBranchID" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="ScopeName" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="guid" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="ContentType" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="ContentLink" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="LinkGuid" />
                          </OutputList>
                          <RunTimeInformation>
                            <RunTimeCountersPerThread Thread="0" ActualRebinds="1" ActualRewinds="0" ActualRows="13" ActualEndOfScans="1" ActualExecutions="1" />
                          </RunTimeInformation>
                          <Spool PrimaryNodeId="4" />
                        </RelOp>
                      </Sort>
                    </RelOp>
                  </Update>
                </RelOp>
                <RelOp AvgRowSize="9" EstimateCPU="0.00369888" EstimateIO="0.0530363" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="3698.88" LogicalOp="Delete" NodeId="23" Parallel="false" PhysicalOp="Index Delete" EstimatedTotalSubtreeCost="0.532726">
                  <OutputList />
                  <RunTimeInformation>
                    <RunTimeCountersPerThread Thread="0" ActualRows="13" ActualEndOfScans="1" ActualExecutions="1" />
                  </RunTimeInformation>
                  <Update WithOrderedPrefetch="true" DMLRequestSort="true">
                    <Object Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Index="[IDX_tblContentProperty_ContentTypeID]" IndexKind="NonClustered" />
                    <RelOp AvgRowSize="15" EstimateCPU="0.068494" EstimateIO="0.0112613" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="3698.88" LogicalOp="Sort" NodeId="25" Parallel="false" PhysicalOp="Sort" EstimatedTotalSubtreeCost="0.475991">
                      <OutputList>
                        <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="pkID" />
                        <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="ContentType" />
                      </OutputList>
                      <MemoryFractions Input="1" Output="1" />
                      <RunTimeInformation>
                        <RunTimeCountersPerThread Thread="0" ActualRebinds="1" ActualRewinds="0" ActualRows="13" ActualEndOfScans="1" ActualExecutions="1" />
                      </RunTimeInformation>
                      <Sort Distinct="false">
                        <OrderBy>
                          <OrderByColumn Ascending="true">
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="ContentType" />
                          </OrderByColumn>
                          <OrderByColumn Ascending="true">
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="pkID" />
                          </OrderByColumn>
                        </OrderBy>
                        <RelOp AvgRowSize="518" EstimateCPU="0.000239018" EstimateIO="0.00219103" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="3698.88" LogicalOp="Eager Spool" NodeId="26" Parallel="false" PhysicalOp="Table Spool" EstimatedTotalSubtreeCost="0.396236">
                          <OutputList>
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="pkID" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="fkPropertyDefinitionID" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="fkContentID" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="fkLanguageBranchID" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="ScopeName" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="guid" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="ContentType" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="ContentLink" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="LinkGuid" />
                          </OutputList>
                          <RunTimeInformation>
                            <RunTimeCountersPerThread Thread="0" ActualRebinds="1" ActualRewinds="0" ActualRows="13" ActualEndOfScans="1" ActualExecutions="1" />
                          </RunTimeInformation>
                          <Spool PrimaryNodeId="4" />
                        </RelOp>
                      </Sort>
                    </RelOp>
                  </Update>
                </RelOp>
                <RelOp AvgRowSize="9" EstimateCPU="0.00369888" EstimateIO="0.0724012" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="3698.88" LogicalOp="Delete" NodeId="27" Parallel="false" PhysicalOp="Index Delete" EstimatedTotalSubtreeCost="0.552091">
                  <OutputList />
                  <RunTimeInformation>
                    <RunTimeCountersPerThread Thread="0" ActualRows="13" ActualEndOfScans="1" ActualExecutions="1" />
                  </RunTimeInformation>
                  <Update WithOrderedPrefetch="true" DMLRequestSort="true">
                    <Object Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Index="[IDX_tblContentProperty_fkContentID]" IndexKind="NonClustered" />
                    <RelOp AvgRowSize="19" EstimateCPU="0.068494" EstimateIO="0.0112613" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="3698.88" LogicalOp="Sort" NodeId="29" Parallel="false" PhysicalOp="Sort" EstimatedTotalSubtreeCost="0.475991">
                      <OutputList>
                        <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="pkID" />
                        <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="fkContentID" />
                        <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="fkLanguageBranchID" />
                      </OutputList>
                      <MemoryFractions Input="1" Output="1" />
                      <RunTimeInformation>
                        <RunTimeCountersPerThread Thread="0" ActualRebinds="1" ActualRewinds="0" ActualRows="13" ActualEndOfScans="1" ActualExecutions="1" />
                      </RunTimeInformation>
                      <Sort Distinct="false">
                        <OrderBy>
                          <OrderByColumn Ascending="true">
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="fkContentID" />
                          </OrderByColumn>
                          <OrderByColumn Ascending="true">
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="fkLanguageBranchID" />
                          </OrderByColumn>
                          <OrderByColumn Ascending="true">
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="pkID" />
                          </OrderByColumn>
                        </OrderBy>
                        <RelOp AvgRowSize="518" EstimateCPU="0.000239018" EstimateIO="0.00219103" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="3698.88" LogicalOp="Eager Spool" NodeId="30" Parallel="false" PhysicalOp="Table Spool" EstimatedTotalSubtreeCost="0.396236">
                          <OutputList>
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="pkID" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="fkPropertyDefinitionID" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="fkContentID" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="fkLanguageBranchID" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="ScopeName" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="guid" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="ContentType" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="ContentLink" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="LinkGuid" />
                          </OutputList>
                          <RunTimeInformation>
                            <RunTimeCountersPerThread Thread="0" ActualRebinds="1" ActualRewinds="0" ActualRows="13" ActualEndOfScans="1" ActualExecutions="1" />
                          </RunTimeInformation>
                          <Spool PrimaryNodeId="4" />
                        </RelOp>
                      </Sort>
                    </RelOp>
                  </Update>
                </RelOp>
                <RelOp AvgRowSize="9" EstimateCPU="0.00369888" EstimateIO="0.123063" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="3698.88" LogicalOp="Delete" NodeId="31" Parallel="false" PhysicalOp="Index Delete" EstimatedTotalSubtreeCost="0.602753">
                  <OutputList />
                  <RunTimeInformation>
                    <RunTimeCountersPerThread Thread="0" ActualRows="13" ActualEndOfScans="1" ActualExecutions="1" />
                  </RunTimeInformation>
                  <Update WithOrderedPrefetch="true" DMLRequestSort="true">
                    <Object Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Index="[IX_tblContentProperty]" IndexKind="NonClustered" />
                    <RelOp AvgRowSize="23" EstimateCPU="0.0684941" EstimateIO="0.0112613" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="3698.88" LogicalOp="Sort" NodeId="33" Parallel="false" PhysicalOp="Sort" EstimatedTotalSubtreeCost="0.475991">
                      <OutputList>
                        <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="guid" />
                      </OutputList>
                      <MemoryFractions Input="1" Output="1" />
                      <RunTimeInformation>
                        <RunTimeCountersPerThread Thread="0" ActualRebinds="1" ActualRewinds="0" ActualRows="13" ActualEndOfScans="1" ActualExecutions="1" />
                      </RunTimeInformation>
                      <Sort Distinct="false">
                        <OrderBy>
                          <OrderByColumn Ascending="true">
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="guid" />
                          </OrderByColumn>
                        </OrderBy>
                        <RelOp AvgRowSize="518" EstimateCPU="0.000239018" EstimateIO="0.00219103" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="3698.88" LogicalOp="Eager Spool" NodeId="34" Parallel="false" PhysicalOp="Table Spool" EstimatedTotalSubtreeCost="0.396236">
                          <OutputList>
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="pkID" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="fkPropertyDefinitionID" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="fkContentID" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="fkLanguageBranchID" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="ScopeName" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="guid" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="ContentType" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="ContentLink" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="LinkGuid" />
                          </OutputList>
                          <RunTimeInformation>
                            <RunTimeCountersPerThread Thread="0" ActualRebinds="1" ActualRewinds="0" ActualRows="13" ActualEndOfScans="1" ActualExecutions="1" />
                          </RunTimeInformation>
                          <Spool PrimaryNodeId="4" />
                        </RelOp>
                      </Sort>
                    </RelOp>
                  </Update>
                </RelOp>
              </Sequence>
            </RelOp>
          </QueryPlan>
        </StmtSimple>
      </Statements>
    </Batch>
    <Batch>
      <Statements>
        <StmtSimple StatementCompId="28" StatementEstRows="1" StatementId="12" StatementOptmLevel="FULL" StatementOptmEarlyAbortReason="GoodEnoughPlanFound" StatementSubTreeCost="0.0165715" StatementText="DELETE FROM 
	    tblPropertyDefault 
	WHERE 
	    PageLink IN ( SELECT pkID FROM #pages )
" StatementType="DELETE" QueryHash="0x2A7612BB0E844564" QueryPlanHash="0x22A45F1FCD65F89D">
          <StatementSetOptions ANSI_NULLS="true" ANSI_PADDING="true" ANSI_WARNINGS="true" ARITHABORT="true" CONCAT_NULL_YIELDS_NULL="true" NUMERIC_ROUNDABORT="false" QUOTED_IDENTIFIER="true" />
          <QueryPlan DegreeOfParallelism="1" CachedPlanSize="24" CompileTime="16" CompileCPU="8" CompileMemory="520">
            <RelOp AvgRowSize="9" EstimateCPU="1E-06" EstimateIO="0.01" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="1" LogicalOp="Delete" NodeId="0" Parallel="false" PhysicalOp="Clustered Index Delete" EstimatedTotalSubtreeCost="0.0165715">
              <OutputList />
              <RunTimeInformation>
                <RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1" />
              </RunTimeInformation>
              <Update DMLRequestSort="false">
                <Object Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblPropertyDefinitionDefault]" Index="[PK_tblPropertyDefinitionDefault]" IndexKind="Clustered" />
                <RelOp AvgRowSize="11" EstimateCPU="1E-07" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="1" LogicalOp="Top" NodeId="1" Parallel="false" PhysicalOp="Top" EstimatedTotalSubtreeCost="0.00657048">
                  <OutputList>
                    <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblPropertyDefinitionDefault]" Column="pkID" />
                  </OutputList>
                  <RunTimeInformation>
                    <RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1" />
                  </RunTimeInformation>
                  <Top RowCount="true" IsPercent="false" WithTies="false">
                    <TopExpression>
                      <ScalarOperator ScalarString="(0)">
                        <Const ConstValue="(0)" />
                      </ScalarOperator>
                    </TopExpression>
                    <RelOp AvgRowSize="11" EstimateCPU="4.18E-06" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="1" LogicalOp="Inner Join" NodeId="3" Parallel="false" PhysicalOp="Nested Loops" EstimatedTotalSubtreeCost="0.00657038">
                      <OutputList>
                        <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblPropertyDefinitionDefault]" Column="pkID" />
                      </OutputList>
                      <RunTimeInformation>
                        <RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1" />
                      </RunTimeInformation>
                      <NestedLoops Optimized="false">
                        <OuterReferences>
                          <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblPropertyDefinitionDefault]" Column="ContentLink" />
                        </OuterReferences>
                        <RelOp AvgRowSize="15" EstimateCPU="0.0001581" EstimateIO="0.003125" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="1" LogicalOp="Clustered Index Scan" NodeId="4" Parallel="false" PhysicalOp="Clustered Index Scan" EstimatedTotalSubtreeCost="0.0032831" TableCardinality="0">
                          <OutputList>
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblPropertyDefinitionDefault]" Column="pkID" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblPropertyDefinitionDefault]" Column="ContentLink" />
                          </OutputList>
                          <RunTimeInformation>
                            <RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1" />
                          </RunTimeInformation>
                          <IndexScan Ordered="true" ForcedIndex="false" NoExpandHint="false">
                            <DefinedValues>
                              <DefinedValue>
                                <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblPropertyDefinitionDefault]" Column="pkID" />
                              </DefinedValue>
                              <DefinedValue>
                                <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblPropertyDefinitionDefault]" Column="ContentLink" />
                              </DefinedValue>
                            </DefinedValues>
                            <Object Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblPropertyDefinitionDefault]" Index="[PK_tblPropertyDefinitionDefault]" IndexKind="Clustered" />
                          </IndexScan>
                        </RelOp>
                        <RelOp AvgRowSize="9" EstimateCPU="0.0001581" EstimateIO="0.003125" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="1" LogicalOp="Clustered Index Seek" NodeId="5" Parallel="false" PhysicalOp="Clustered Index Seek" EstimatedTotalSubtreeCost="0.0032831" TableCardinality="7770">
                          <OutputList />
                          <RunTimeInformation>
                            <RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0" />
                          </RunTimeInformation>
                          <IndexScan Ordered="true" ScanDirection="FORWARD" ForcedIndex="false" ForceSeek="false" NoExpandHint="false">
                            <DefinedValues />
                            <Object Database="[tempdb]" Schema="[dbo]" Table="[#pages]" Index="[PK__#pages____40A359E36921665A]" IndexKind="Clustered" />
                            <SeekPredicates>
                              <SeekPredicateNew>
                                <SeekKeys>
                                  <Prefix ScanType="EQ">
                                    <RangeColumns>
                                      <ColumnReference Database="[tempdb]" Schema="[dbo]" Table="[#pages]" Column="pkID" />
                                    </RangeColumns>
                                    <RangeExpressions>
                                      <ScalarOperator ScalarString="[PhoenixCMS_RC].[dbo].[tblPropertyDefinitionDefault].[ContentLink]">
                                        <Identifier>
                                          <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblPropertyDefinitionDefault]" Column="ContentLink" />
                                        </Identifier>
                                      </ScalarOperator>
                                    </RangeExpressions>
                                  </Prefix>
                                </SeekKeys>
                              </SeekPredicateNew>
                            </SeekPredicates>
                          </IndexScan>
                        </RelOp>
                      </NestedLoops>
                    </RelOp>
                  </Top>
                </RelOp>
              </Update>
            </RelOp>
          </QueryPlan>
        </StmtSimple>
      </Statements>
    </Batch>
    <Batch>
      <Statements>
        <StmtSimple StatementCompId="29" StatementEstRows="1" StatementId="13" StatementOptmLevel="FULL" StatementOptmEarlyAbortReason="GoodEnoughPlanFound" StatementSubTreeCost="0.843185" StatementText="UPDATE 
	    tblPage 
	SET 
	    ArchivePageGUID = NULL 
	WHERE 
	    ArchivePageGUID IN ( SELECT PageGUID FROM #pages )
	-- Remove fetch data from any external pages pointing to us
" StatementType="UPDATE" QueryHash="0x29B1FDA4F24922E8" QueryPlanHash="0xAF9C9D4B30ED1EE3">
          <StatementSetOptions ANSI_NULLS="true" ANSI_PADDING="true" ANSI_WARNINGS="true" ARITHABORT="true" CONCAT_NULL_YIELDS_NULL="true" NUMERIC_ROUNDABORT="false" QUOTED_IDENTIFIER="true" />
          <QueryPlan DegreeOfParallelism="1" MemoryGrant="2032" CachedPlanSize="40" CompileTime="31" CompileCPU="31" CompileMemory="496">
            <RelOp AvgRowSize="9" EstimateCPU="2E-06" EstimateIO="0.02" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="1" LogicalOp="Update" NodeId="1" Parallel="false" PhysicalOp="Clustered Index Update" EstimatedTotalSubtreeCost="0.843185">
              <OutputList />
              <RunTimeInformation>
                <RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1" />
              </RunTimeInformation>
              <Update DMLRequestSort="false">
                <Object Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContent]" Index="[PK_tblContent]" IndexKind="Clustered" />
                <Object Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContent]" Index="[IDX_tblContent_ArchiveContentGUID]" IndexKind="NonClustered" />
                <SetPredicate>
                  <ScalarOperator ScalarString="[PhoenixCMS_RC].[dbo].[tblContent].[ArchiveContentGUID] = [Expr1006]">
                    <ScalarExpressionList>
                      <ScalarOperator>
                        <MultipleAssign>
                          <Assign>
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContent]" Column="ArchiveContentGUID" />
                            <ScalarOperator>
                              <Identifier>
                                <ColumnReference Column="Expr1006" />
                              </Identifier>
                            </ScalarOperator>
                          </Assign>
                        </MultipleAssign>
                      </ScalarOperator>
                    </ScalarExpressionList>
                  </ScalarOperator>
                </SetPredicate>
                <RelOp AvgRowSize="31" EstimateCPU="1E-07" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="1" LogicalOp="Compute Scalar" NodeId="2" Parallel="false" PhysicalOp="Compute Scalar" EstimatedTotalSubtreeCost="0.823183">
                  <OutputList>
                    <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContent]" Column="pkID" />
                    <ColumnReference Column="Expr1006" />
                    <ColumnReference Column="Expr1013" />
                  </OutputList>
                  <RunTimeInformation>
                    <RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1" />
                  </RunTimeInformation>
                  <ComputeScalar>
                    <DefinedValues>
                      <DefinedValue>
                        <ColumnReference Column="Expr1013" />
                        <ScalarOperator ScalarString="[Expr1013]">
                          <Identifier>
                            <ColumnReference Column="Expr1013" />
                          </Identifier>
                        </ScalarOperator>
                      </DefinedValue>
                    </DefinedValues>
                    <RelOp AvgRowSize="31" EstimateCPU="1E-07" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="1" LogicalOp="Compute Scalar" NodeId="3" Parallel="false" PhysicalOp="Compute Scalar" EstimatedTotalSubtreeCost="0.823183">
                      <OutputList>
                        <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContent]" Column="pkID" />
                        <ColumnReference Column="Expr1006" />
                        <ColumnReference Column="Expr1013" />
                      </OutputList>
                      <ComputeScalar>
                        <DefinedValues>
                          <DefinedValue>
                            <ColumnReference Column="Expr1013" />
                            <ScalarOperator ScalarString="CASE WHEN [Expr1010] THEN (0) ELSE (1) END">
                              <IF>
                                <Condition>
                                  <ScalarOperator>
                                    <Identifier>
                                      <ColumnReference Column="Expr1010" />
                                    </Identifier>
                                  </ScalarOperator>
                                </Condition>
                                <Then>
                                  <ScalarOperator>
                                    <Const ConstValue="(0)" />
                                  </ScalarOperator>
                                </Then>
                                <Else>
                                  <ScalarOperator>
                                    <Const ConstValue="(1)" />
                                  </ScalarOperator>
                                </Else>
                              </IF>
                            </ScalarOperator>
                          </DefinedValue>
                        </DefinedValues>
                        <RelOp AvgRowSize="28" EstimateCPU="1E-07" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="1" LogicalOp="Compute Scalar" NodeId="4" Parallel="false" PhysicalOp="Compute Scalar" EstimatedTotalSubtreeCost="0.823183">
                          <OutputList>
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContent]" Column="pkID" />
                            <ColumnReference Column="Expr1006" />
                            <ColumnReference Column="Expr1010" />
                          </OutputList>
                          <ComputeScalar>
                            <DefinedValues>
                              <DefinedValue>
                                <ColumnReference Column="Expr1006" />
                                <ScalarOperator ScalarString="NULL">
                                  <Const ConstValue="NULL" />
                                </ScalarOperator>
                              </DefinedValue>
                            </DefinedValues>
                            <RelOp AvgRowSize="12" EstimateCPU="1E-07" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="1" LogicalOp="Top" NodeId="5" Parallel="false" PhysicalOp="Top" EstimatedTotalSubtreeCost="0.823183">
                              <OutputList>
                                <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContent]" Column="pkID" />
                                <ColumnReference Column="Expr1010" />
                              </OutputList>
                              <RunTimeInformation>
                                <RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1" />
                              </RunTimeInformation>
                              <Top RowCount="true" IsPercent="false" WithTies="false">
                                <TopExpression>
                                  <ScalarOperator ScalarString="(0)">
                                    <Const ConstValue="(0)" />
                                  </ScalarOperator>
                                </TopExpression>
                                <RelOp AvgRowSize="12" EstimateCPU="0.000100012" EstimateIO="0.0112613" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="1" LogicalOp="Distinct Sort" NodeId="7" Parallel="false" PhysicalOp="Sort" EstimatedTotalSubtreeCost="0.823183">
                                  <OutputList>
                                    <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContent]" Column="pkID" />
                                    <ColumnReference Column="Expr1010" />
                                  </OutputList>
                                  <MemoryFractions Input="0.031746" Output="1" />
                                  <RunTimeInformation>
                                    <RunTimeCountersPerThread Thread="0" ActualRebinds="1" ActualRewinds="0" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1" />
                                  </RunTimeInformation>
                                  <Sort Distinct="true">
                                    <OrderBy>
                                      <OrderByColumn Ascending="true">
                                        <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContent]" Column="pkID" />
                                      </OrderByColumn>
                                    </OrderBy>
                                    <RelOp AvgRowSize="12" EstimateCPU="0.163532" EstimateIO="0.000313" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="1" LogicalOp="Inner Join" NodeId="8" Parallel="false" PhysicalOp="Merge Join" EstimatedTotalSubtreeCost="0.811822">
                                      <OutputList>
                                        <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContent]" Column="pkID" />
                                        <ColumnReference Column="Expr1010" />
                                      </OutputList>
                                      <RunTimeInformation>
                                        <RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1" />
                                      </RunTimeInformation>
                                      <Merge ManyToMany="true">
                                        <InnerSideJoinColumns>
                                          <ColumnReference Database="[tempdb]" Schema="[dbo]" Table="[#pages]" Column="PageGUID" />
                                        </InnerSideJoinColumns>
                                        <OuterSideJoinColumns>
                                          <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContent]" Column="ArchiveContentGUID" />
                                        </OuterSideJoinColumns>
                                        <Residual>
                                          <ScalarOperator ScalarString="[PhoenixCMS_RC].[dbo].[tblContent].[ArchiveContentGUID]=[tempdb].[dbo].[#pages].[PageGUID]">
                                            <Compare CompareOp="EQ">
                                              <ScalarOperator>
                                                <Identifier>
                                                  <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContent]" Column="ArchiveContentGUID" />
                                                </Identifier>
                                              </ScalarOperator>
                                              <ScalarOperator>
                                                <Identifier>
                                                  <ColumnReference Database="[tempdb]" Schema="[dbo]" Table="[#pages]" Column="PageGUID" />
                                                </Identifier>
                                              </ScalarOperator>
                                            </Compare>
                                          </ScalarOperator>
                                        </Residual>
                                        <RelOp AvgRowSize="28" EstimateCPU="0.0067414" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="67414" LogicalOp="Compute Scalar" NodeId="9" Parallel="false" PhysicalOp="Compute Scalar" EstimatedTotalSubtreeCost="0.283438">
                                          <OutputList>
                                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContent]" Column="pkID" />
                                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContent]" Column="ArchiveContentGUID" />
                                            <ColumnReference Column="Expr1010" />
                                          </OutputList>
                                          <ComputeScalar>
                                            <DefinedValues>
                                              <DefinedValue>
                                                <ColumnReference Column="Expr1010" />
                                                <ScalarOperator ScalarString="CASE WHEN [PhoenixCMS_RC].[dbo].[tblContent].[ArchiveContentGUID] IS NULL THEN (1) ELSE (0) END">
                                                  <IF>
                                                    <Condition>
                                                      <ScalarOperator>
                                                        <Compare CompareOp="BINARY IS">
                                                          <ScalarOperator>
                                                            <Identifier>
                                                              <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContent]" Column="ArchiveContentGUID" />
                                                            </Identifier>
                                                          </ScalarOperator>
                                                          <ScalarOperator>
                                                            <Const ConstValue="NULL" />
                                                          </ScalarOperator>
                                                        </Compare>
                                                      </ScalarOperator>
                                                    </Condition>
                                                    <Then>
                                                      <ScalarOperator>
                                                        <Const ConstValue="(1)" />
                                                      </ScalarOperator>
                                                    </Then>
                                                    <Else>
                                                      <ScalarOperator>
                                                        <Const ConstValue="(0)" />
                                                      </ScalarOperator>
                                                    </Else>
                                                  </IF>
                                                </ScalarOperator>
                                              </DefinedValue>
                                            </DefinedValues>
                                            <RelOp AvgRowSize="27" EstimateCPU="0.0743124" EstimateIO="0.202384" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="67414" LogicalOp="Index Scan" NodeId="10" Parallel="false" PhysicalOp="Index Scan" EstimatedTotalSubtreeCost="0.276697" TableCardinality="67414">
                                              <OutputList>
                                                <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContent]" Column="pkID" />
                                                <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContent]" Column="ArchiveContentGUID" />
                                              </OutputList>
                                              <RunTimeInformation>
                                                <RunTimeCountersPerThread Thread="0" ActualRows="67414" ActualEndOfScans="1" ActualExecutions="1" />
                                              </RunTimeInformation>
                                              <IndexScan Ordered="true" ScanDirection="FORWARD" ForcedIndex="false" ForceSeek="false" NoExpandHint="false">
                                                <DefinedValues>
                                                  <DefinedValue>
                                                    <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContent]" Column="pkID" />
                                                  </DefinedValue>
                                                  <DefinedValue>
                                                    <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContent]" Column="ArchiveContentGUID" />
                                                  </DefinedValue>
                                                </DefinedValues>
                                                <Object Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContent]" Index="[IDX_tblContent_ArchiveContentGUID]" IndexKind="NonClustered" />
                                              </IndexScan>
                                            </RelOp>
                                          </ComputeScalar>
                                        </RelOp>
                                        <RelOp AvgRowSize="23" EstimateCPU="0.321446" EstimateIO="0.0112613" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="7770" LogicalOp="Sort" NodeId="14" Parallel="false" PhysicalOp="Sort" EstimatedTotalSubtreeCost="0.364536">
                                          <OutputList>
                                            <ColumnReference Database="[tempdb]" Schema="[dbo]" Table="[#pages]" Column="PageGUID" />
                                          </OutputList>
                                          <MemoryFractions Input="0.968254" Output="0.968254" />
                                          <RunTimeInformation>
                                            <RunTimeCountersPerThread Thread="0" ActualRebinds="1" ActualRewinds="0" ActualRows="1" ActualEndOfScans="0" ActualExecutions="1" />
                                          </RunTimeInformation>
                                          <Sort Distinct="false">
                                            <OrderBy>
                                              <OrderByColumn Ascending="true">
                                                <ColumnReference Database="[tempdb]" Schema="[dbo]" Table="[#pages]" Column="PageGUID" />
                                              </OrderByColumn>
                                            </OrderBy>
                                            <RelOp AvgRowSize="23" EstimateCPU="0.008704" EstimateIO="0.023125" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="7770" LogicalOp="Clustered Index Scan" NodeId="15" Parallel="false" PhysicalOp="Clustered Index Scan" EstimatedTotalSubtreeCost="0.031829" TableCardinality="7770">
                                              <OutputList>
                                                <ColumnReference Database="[tempdb]" Schema="[dbo]" Table="[#pages]" Column="PageGUID" />
                                              </OutputList>
                                              <RunTimeInformation>
                                                <RunTimeCountersPerThread Thread="0" ActualRows="7770" ActualEndOfScans="1" ActualExecutions="1" />
                                              </RunTimeInformation>
                                              <IndexScan Ordered="false" ForcedIndex="false" NoExpandHint="false">
                                                <DefinedValues>
                                                  <DefinedValue>
                                                    <ColumnReference Database="[tempdb]" Schema="[dbo]" Table="[#pages]" Column="PageGUID" />
                                                  </DefinedValue>
                                                </DefinedValues>
                                                <Object Database="[tempdb]" Schema="[dbo]" Table="[#pages]" Index="[PK__#pages____40A359E36921665A]" IndexKind="Clustered" />
                                              </IndexScan>
                                            </RelOp>
                                          </Sort>
                                        </RelOp>
                                      </Merge>
                                    </RelOp>
                                  </Sort>
                                </RelOp>
                              </Top>
                            </RelOp>
                          </ComputeScalar>
                        </RelOp>
                      </ComputeScalar>
                    </RelOp>
                  </ComputeScalar>
                </RelOp>
              </Update>
            </RelOp>
          </QueryPlan>
        </StmtSimple>
      </Statements>
    </Batch>
    <Batch>
      <Statements>
        <StmtSimple StatementCompId="30" StatementEstRows="1" StatementId="14" StatementOptmLevel="FULL" StatementOptmEarlyAbortReason="GoodEnoughPlanFound" StatementSubTreeCost="0.880131" StatementText="UPDATE 
	    tblPageLanguage 
	SET     
	    PageLinkGUID = NULL, 
	    FetchData=0,
	    LinkURL=
		(
			SELECT TOP 1 
		      '~/link/' + CONVERT(NVARCHAR(32),REPLACE((select top 1 PageGUID FROM tblPage where tblPage.pkID = tblPageLanguage.fkPageID),'-','')) + '.aspx'
			FROM 
			    tblPageType
			WHERE 
			    tblPageType.pkID=(SELECT tblPage.fkPageTypeID FROM tblPage WHERE tblPage.pkID=tblPageLanguage.fkPageID)
		)
	 WHERE 
	    PageLinkGUID IN ( SELECT PageGUID FROM #pages )
	-- Remove ALC, categories and the properties
" StatementType="UPDATE" QueryHash="0x7D8F740CCD689C05" QueryPlanHash="0x6B18CE992CFAB578">
          <StatementSetOptions ANSI_NULLS="true" ANSI_PADDING="true" ANSI_WARNINGS="true" ARITHABORT="true" CONCAT_NULL_YIELDS_NULL="true" NUMERIC_ROUNDABORT="false" QUOTED_IDENTIFIER="true" />
          <QueryPlan DegreeOfParallelism="1" MemoryGrant="2032" CachedPlanSize="64" CompileTime="84" CompileCPU="53" CompileMemory="1288">
            <RelOp AvgRowSize="9" EstimateCPU="2E-06" EstimateIO="0.02" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="1" LogicalOp="Update" NodeId="1" Parallel="false" PhysicalOp="Clustered Index Update" EstimatedTotalSubtreeCost="0.880131">
              <OutputList />
              <RunTimeInformation>
                <RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1" />
              </RunTimeInformation>
              <Update DMLRequestSort="false">
                <Object Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentLanguage]" Index="[PK_tblContentLanguage]" IndexKind="Clustered" />
                <Object Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentLanguage]" Index="[IDX_tblContentLanguage_ContentLinkGUID]" IndexKind="NonClustered" />
                <SetPredicate>
                  <ScalarOperator ScalarString="[PhoenixCMS_RC].[dbo].[tblContentLanguage].[ContentLinkGUID] = [Expr1006],[PhoenixCMS_RC].[dbo].[tblContentLanguage].[FetchData] = [Expr1007],[PhoenixCMS_RC].[dbo].[tblContentLanguage].[LinkURL] = [Expr1020]">
                    <ScalarExpressionList>
                      <ScalarOperator>
                        <MultipleAssign>
                          <Assign>
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentLanguage]" Column="ContentLinkGUID" />
                            <ScalarOperator>
                              <Identifier>
                                <ColumnReference Column="Expr1006" />
                              </Identifier>
                            </ScalarOperator>
                          </Assign>
                          <Assign>
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentLanguage]" Column="FetchData" />
                            <ScalarOperator>
                              <Identifier>
                                <ColumnReference Column="Expr1007" />
                              </Identifier>
                            </ScalarOperator>
                          </Assign>
                          <Assign>
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentLanguage]" Column="LinkURL" />
                            <ScalarOperator>
                              <Identifier>
                                <ColumnReference Column="Expr1020" />
                              </Identifier>
                            </ScalarOperator>
                          </Assign>
                        </MultipleAssign>
                      </ScalarOperator>
                    </ScalarExpressionList>
                  </ScalarOperator>
                </SetPredicate>
                <RelOp AvgRowSize="295" EstimateCPU="1E-07" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="1" LogicalOp="Compute Scalar" NodeId="2" Parallel="false" PhysicalOp="Compute Scalar" EstimatedTotalSubtreeCost="0.860129">
                  <OutputList>
                    <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentLanguage]" Column="fkContentID" />
                    <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentLanguage]" Column="fkLanguageBranchID" />
                    <ColumnReference Column="Expr1006" />
                    <ColumnReference Column="Expr1007" />
                    <ColumnReference Column="Expr1020" />
                    <ColumnReference Column="Expr1036" />
                  </OutputList>
                  <RunTimeInformation>
                    <RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1" />
                  </RunTimeInformation>
                  <ComputeScalar>
                    <DefinedValues>
                      <DefinedValue>
                        <ColumnReference Column="Expr1036" />
                        <ScalarOperator ScalarString="[Expr1036]">
                          <Identifier>
                            <ColumnReference Column="Expr1036" />
                          </Identifier>
                        </ScalarOperator>
                      </DefinedValue>
                    </DefinedValues>
                    <RelOp AvgRowSize="295" EstimateCPU="1E-07" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="1" LogicalOp="Compute Scalar" NodeId="3" Parallel="false" PhysicalOp="Compute Scalar" EstimatedTotalSubtreeCost="0.860129">
                      <OutputList>
                        <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentLanguage]" Column="fkContentID" />
                        <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentLanguage]" Column="fkLanguageBranchID" />
                        <ColumnReference Column="Expr1006" />
                        <ColumnReference Column="Expr1007" />
                        <ColumnReference Column="Expr1020" />
                        <ColumnReference Column="Expr1036" />
                      </OutputList>
                      <ComputeScalar>
                        <DefinedValues>
                          <DefinedValue>
                            <ColumnReference Column="Expr1036" />
                            <ScalarOperator ScalarString="CASE WHEN [Expr1024] THEN (0) ELSE (1) END">
                              <IF>
                                <Condition>
                                  <ScalarOperator>
                                    <Identifier>
                                      <ColumnReference Column="Expr1024" />
                                    </Identifier>
                                  </ScalarOperator>
                                </Condition>
                                <Then>
                                  <ScalarOperator>
                                    <Const ConstValue="(0)" />
                                  </ScalarOperator>
                                </Then>
                                <Else>
                                  <ScalarOperator>
                                    <Const ConstValue="(1)" />
                                  </ScalarOperator>
                                </Else>
                              </IF>
                            </ScalarOperator>
                          </DefinedValue>
                        </DefinedValues>
                        <RelOp AvgRowSize="291" EstimateCPU="1E-07" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="1" LogicalOp="Compute Scalar" NodeId="4" Parallel="false" PhysicalOp="Compute Scalar" EstimatedTotalSubtreeCost="0.860129">
                          <OutputList>
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentLanguage]" Column="fkContentID" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentLanguage]" Column="fkLanguageBranchID" />
                            <ColumnReference Column="Expr1006" />
                            <ColumnReference Column="Expr1007" />
                            <ColumnReference Column="Expr1020" />
                            <ColumnReference Column="Expr1024" />
                          </OutputList>
                          <ComputeScalar>
                            <DefinedValues>
                              <DefinedValue>
                                <ColumnReference Column="Expr1006" />
                                <ScalarOperator ScalarString="NULL">
                                  <Const ConstValue="NULL" />
                                </ScalarOperator>
                              </DefinedValue>
                              <DefinedValue>
                                <ColumnReference Column="Expr1007" />
                                <ScalarOperator ScalarString="(0)">
                                  <Const ConstValue="(0)" />
                                </ScalarOperator>
                              </DefinedValue>
                              <DefinedValue>
                                <ColumnReference Column="Expr1020" />
                                <ScalarOperator ScalarString="CONVERT_IMPLICIT(nvarchar(255),[Expr1019],0)">
                                  <Convert DataType="nvarchar" Length="510" Style="0" Implicit="true">
                                    <ScalarOperator>
                                      <Identifier>
                                        <ColumnReference Column="Expr1019" />
                                      </Identifier>
                                    </ScalarOperator>
                                  </Convert>
                                </ScalarOperator>
                              </DefinedValue>
                            </DefinedValues>
                            <RelOp AvgRowSize="64" EstimateCPU="4.18E-06" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="1" LogicalOp="Left Outer Join" NodeId="5" Parallel="false" PhysicalOp="Nested Loops" EstimatedTotalSubtreeCost="0.860128">
                              <OutputList>
                                <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentLanguage]" Column="fkContentID" />
                                <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentLanguage]" Column="fkLanguageBranchID" />
                                <ColumnReference Column="Expr1019" />
                                <ColumnReference Column="Expr1024" />
                              </OutputList>
                              <RunTimeInformation>
                                <RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1" />
                              </RunTimeInformation>
                              <NestedLoops Optimized="false">
                                <OuterReferences>
                                  <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentLanguage]" Column="fkContentID" />
                                </OuterReferences>
                                <RelOp AvgRowSize="16" EstimateCPU="1E-07" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="1" LogicalOp="Top" NodeId="6" Parallel="false" PhysicalOp="Top" EstimatedTotalSubtreeCost="0.853554">
                                  <OutputList>
                                    <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentLanguage]" Column="fkContentID" />
                                    <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentLanguage]" Column="fkLanguageBranchID" />
                                    <ColumnReference Column="Expr1024" />
                                  </OutputList>
                                  <RunTimeInformation>
                                    <RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1" />
                                  </RunTimeInformation>
                                  <Top RowCount="true" IsPercent="false" WithTies="false">
                                    <TopExpression>
                                      <ScalarOperator ScalarString="(0)">
                                        <Const ConstValue="(0)" />
                                      </ScalarOperator>
                                    </TopExpression>
                                    <RelOp AvgRowSize="16" EstimateCPU="0.000100016" EstimateIO="0.0112613" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="1" LogicalOp="Distinct Sort" NodeId="8" Parallel="false" PhysicalOp="Sort" EstimatedTotalSubtreeCost="0.853554">
                                      <OutputList>
                                        <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentLanguage]" Column="fkContentID" />
                                        <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentLanguage]" Column="fkLanguageBranchID" />
                                        <ColumnReference Column="Expr1024" />
                                      </OutputList>
                                      <MemoryFractions Input="0.031746" Output="1" />
                                      <RunTimeInformation>
                                        <RunTimeCountersPerThread Thread="0" ActualRebinds="1" ActualRewinds="0" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1" />
                                      </RunTimeInformation>
                                      <Sort Distinct="true">
                                        <OrderBy>
                                          <OrderByColumn Ascending="true">
                                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentLanguage]" Column="fkContentID" />
                                          </OrderByColumn>
                                          <OrderByColumn Ascending="true">
                                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentLanguage]" Column="fkLanguageBranchID" />
                                          </OrderByColumn>
                                        </OrderBy>
                                        <RelOp AvgRowSize="16" EstimateCPU="0.163532" EstimateIO="0.000313" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="1" LogicalOp="Inner Join" NodeId="9" Parallel="false" PhysicalOp="Merge Join" EstimatedTotalSubtreeCost="0.842192">
                                          <OutputList>
                                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentLanguage]" Column="fkContentID" />
                                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentLanguage]" Column="fkLanguageBranchID" />
                                            <ColumnReference Column="Expr1024" />
                                          </OutputList>
                                          <RunTimeInformation>
                                            <RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1" />
                                          </RunTimeInformation>
                                          <Merge ManyToMany="true">
                                            <InnerSideJoinColumns>
                                              <ColumnReference Database="[tempdb]" Schema="[dbo]" Table="[#pages]" Column="PageGUID" />
                                            </InnerSideJoinColumns>
                                            <OuterSideJoinColumns>
                                              <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentLanguage]" Column="ContentLinkGUID" />
                                            </OuterSideJoinColumns>
                                            <Residual>
                                              <ScalarOperator ScalarString="[PhoenixCMS_RC].[dbo].[tblContentLanguage].[ContentLinkGUID]=[tempdb].[dbo].[#pages].[PageGUID]">
                                                <Compare CompareOp="EQ">
                                                  <ScalarOperator>
                                                    <Identifier>
                                                      <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentLanguage]" Column="ContentLinkGUID" />
                                                    </Identifier>
                                                  </ScalarOperator>
                                                  <ScalarOperator>
                                                    <Identifier>
                                                      <ColumnReference Database="[tempdb]" Schema="[dbo]" Table="[#pages]" Column="PageGUID" />
                                                    </Identifier>
                                                  </ScalarOperator>
                                                </Compare>
                                              </ScalarOperator>
                                            </Residual>
                                            <RelOp AvgRowSize="32" EstimateCPU="0.0067414" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="67414" LogicalOp="Compute Scalar" NodeId="10" Parallel="false" PhysicalOp="Compute Scalar" EstimatedTotalSubtreeCost="0.313808">
                                              <OutputList>
                                                <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentLanguage]" Column="fkContentID" />
                                                <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentLanguage]" Column="fkLanguageBranchID" />
                                                <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentLanguage]" Column="ContentLinkGUID" />
                                                <ColumnReference Column="Expr1024" />
                                              </OutputList>
                                              <ComputeScalar>
                                                <DefinedValues>
                                                  <DefinedValue>
                                                    <ColumnReference Column="Expr1024" />
                                                    <ScalarOperator ScalarString="CASE WHEN [PhoenixCMS_RC].[dbo].[tblContentLanguage].[ContentLinkGUID] IS NULL THEN (1) ELSE (0) END">
                                                      <IF>
                                                        <Condition>
                                                          <ScalarOperator>
                                                            <Compare CompareOp="BINARY IS">
                                                              <ScalarOperator>
                                                                <Identifier>
                                                                  <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentLanguage]" Column="ContentLinkGUID" />
                                                                </Identifier>
                                                              </ScalarOperator>
                                                              <ScalarOperator>
                                                                <Const ConstValue="NULL" />
                                                              </ScalarOperator>
                                                            </Compare>
                                                          </ScalarOperator>
                                                        </Condition>
                                                        <Then>
                                                          <ScalarOperator>
                                                            <Const ConstValue="(1)" />
                                                          </ScalarOperator>
                                                        </Then>
                                                        <Else>
                                                          <ScalarOperator>
                                                            <Const ConstValue="(0)" />
                                                          </ScalarOperator>
                                                        </Else>
                                                      </IF>
                                                    </ScalarOperator>
                                                  </DefinedValue>
                                                </DefinedValues>
                                                <RelOp AvgRowSize="31" EstimateCPU="0.0743124" EstimateIO="0.232755" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="67414" LogicalOp="Index Scan" NodeId="11" Parallel="false" PhysicalOp="Index Scan" EstimatedTotalSubtreeCost="0.307067" TableCardinality="67414">
                                                  <OutputList>
                                                    <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentLanguage]" Column="fkContentID" />
                                                    <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentLanguage]" Column="fkLanguageBranchID" />
                                                    <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentLanguage]" Column="ContentLinkGUID" />
                                                  </OutputList>
                                                  <RunTimeInformation>
                                                    <RunTimeCountersPerThread Thread="0" ActualRows="67414" ActualEndOfScans="1" ActualExecutions="1" />
                                                  </RunTimeInformation>
                                                  <IndexScan Ordered="true" ScanDirection="FORWARD" ForcedIndex="false" ForceSeek="false" NoExpandHint="false">
                                                    <DefinedValues>
                                                      <DefinedValue>
                                                        <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentLanguage]" Column="fkContentID" />
                                                      </DefinedValue>
                                                      <DefinedValue>
                                                        <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentLanguage]" Column="fkLanguageBranchID" />
                                                      </DefinedValue>
                                                      <DefinedValue>
                                                        <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentLanguage]" Column="ContentLinkGUID" />
                                                      </DefinedValue>
                                                    </DefinedValues>
                                                    <Object Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentLanguage]" Index="[IDX_tblContentLanguage_ContentLinkGUID]" IndexKind="NonClustered" />
                                                  </IndexScan>
                                                </RelOp>
                                              </ComputeScalar>
                                            </RelOp>
                                            <RelOp AvgRowSize="23" EstimateCPU="0.321446" EstimateIO="0.0112613" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="7770" LogicalOp="Sort" NodeId="15" Parallel="false" PhysicalOp="Sort" EstimatedTotalSubtreeCost="0.364536">
                                              <OutputList>
                                                <ColumnReference Database="[tempdb]" Schema="[dbo]" Table="[#pages]" Column="PageGUID" />
                                              </OutputList>
                                              <MemoryFractions Input="0.968254" Output="0.968254" />
                                              <RunTimeInformation>
                                                <RunTimeCountersPerThread Thread="0" ActualRebinds="1" ActualRewinds="0" ActualRows="1" ActualEndOfScans="0" ActualExecutions="1" />
                                              </RunTimeInformation>
                                              <Sort Distinct="false">
                                                <OrderBy>
                                                  <OrderByColumn Ascending="true">
                                                    <ColumnReference Database="[tempdb]" Schema="[dbo]" Table="[#pages]" Column="PageGUID" />
                                                  </OrderByColumn>
                                                </OrderBy>
                                                <RelOp AvgRowSize="23" EstimateCPU="0.008704" EstimateIO="0.023125" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="7770" LogicalOp="Clustered Index Scan" NodeId="16" Parallel="false" PhysicalOp="Clustered Index Scan" EstimatedTotalSubtreeCost="0.031829" TableCardinality="7770">
                                                  <OutputList>
                                                    <ColumnReference Database="[tempdb]" Schema="[dbo]" Table="[#pages]" Column="PageGUID" />
                                                  </OutputList>
                                                  <RunTimeInformation>
                                                    <RunTimeCountersPerThread Thread="0" ActualRows="7770" ActualEndOfScans="1" ActualExecutions="1" />
                                                  </RunTimeInformation>
                                                  <IndexScan Ordered="false" ForcedIndex="false" NoExpandHint="false">
                                                    <DefinedValues>
                                                      <DefinedValue>
                                                        <ColumnReference Database="[tempdb]" Schema="[dbo]" Table="[#pages]" Column="PageGUID" />
                                                      </DefinedValue>
                                                    </DefinedValues>
                                                    <Object Database="[tempdb]" Schema="[dbo]" Table="[#pages]" Index="[PK__#pages____40A359E36921665A]" IndexKind="Clustered" />
                                                  </IndexScan>
                                                </RelOp>
                                              </Sort>
                                            </RelOp>
                                          </Merge>
                                        </RelOp>
                                      </Sort>
                                    </RelOp>
                                  </Top>
                                </RelOp>
                                <RelOp AvgRowSize="55" EstimateCPU="1E-07" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="1" LogicalOp="Top" NodeId="20" Parallel="false" PhysicalOp="Top" EstimatedTotalSubtreeCost="0.00657068">
                                  <OutputList>
                                    <ColumnReference Column="Expr1019" />
                                  </OutputList>
                                  <RunTimeInformation>
                                    <RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0" />
                                  </RunTimeInformation>
                                  <Top RowCount="false" IsPercent="false" WithTies="false">
                                    <TopExpression>
                                      <ScalarOperator ScalarString="(1)">
                                        <Const ConstValue="(1)" />
                                      </ScalarOperator>
                                    </TopExpression>
                                    <RelOp AvgRowSize="55" EstimateCPU="1E-07" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="1" LogicalOp="Compute Scalar" NodeId="21" Parallel="false" PhysicalOp="Compute Scalar" EstimatedTotalSubtreeCost="0.00657058">
                                      <OutputList>
                                        <ColumnReference Column="Expr1019" />
                                      </OutputList>
                                      <ComputeScalar>
                                        <DefinedValues>
                                          <DefinedValue>
                                            <ColumnReference Column="Expr1019" />
                                            <ScalarOperator ScalarString="(N'~/link/'+CONVERT(nvarchar(32),replace(CONVERT_IMPLICIT(varchar(40),[PhoenixCMS_RC].[dbo].[tblContent].[ContentGUID],0),'-',''),0))+N'.aspx'">
                                              <Arithmetic Operation="ADD">
                                                <ScalarOperator>
                                                  <Arithmetic Operation="ADD">
                                                    <ScalarOperator>
                                                      <Const ConstValue="N'~/link/'" />
                                                    </ScalarOperator>
                                                    <ScalarOperator>
                                                      <Convert DataType="nvarchar" Length="64" Style="0" Implicit="false">
                                                        <ScalarOperator>
                                                          <Intrinsic FunctionName="replace">
                                                            <ScalarOperator>
                                                              <Convert DataType="varchar" Length="40" Style="0" Implicit="true">
                                                                <ScalarOperator>
                                                                  <Identifier>
                                                                    <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContent]" Column="ContentGUID" />
                                                                  </Identifier>
                                                                </ScalarOperator>
                                                              </Convert>
                                                            </ScalarOperator>
                                                            <ScalarOperator>
                                                              <Const ConstValue="'-'" />
                                                            </ScalarOperator>
                                                            <ScalarOperator>
                                                              <Const ConstValue="''" />
                                                            </ScalarOperator>
                                                          </Intrinsic>
                                                        </ScalarOperator>
                                                      </Convert>
                                                    </ScalarOperator>
                                                  </Arithmetic>
                                                </ScalarOperator>
                                                <ScalarOperator>
                                                  <Const ConstValue="N'.aspx'" />
                                                </ScalarOperator>
                                              </Arithmetic>
                                            </ScalarOperator>
                                          </DefinedValue>
                                        </DefinedValues>
                                        <RelOp AvgRowSize="23" EstimateCPU="4.18E-06" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="1" LogicalOp="Left Outer Join" NodeId="22" Parallel="false" PhysicalOp="Nested Loops" EstimatedTotalSubtreeCost="0.00657048">
                                          <OutputList>
                                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContent]" Column="ContentGUID" />
                                          </OutputList>
                                          <RunTimeInformation>
                                            <RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0" />
                                          </RunTimeInformation>
                                          <NestedLoops Optimized="false">
                                            <RelOp AvgRowSize="9" EstimateCPU="0.0001581" EstimateIO="0.003125" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="1" LogicalOp="Clustered Index Seek" NodeId="23" Parallel="false" PhysicalOp="Clustered Index Seek" EstimatedTotalSubtreeCost="0.0032831" TableCardinality="67414">
                                              <OutputList />
                                              <RunTimeInformation>
                                                <RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0" />
                                              </RunTimeInformation>
                                              <IndexScan Ordered="true" ScanDirection="FORWARD" ForcedIndex="false" ForceSeek="false" NoExpandHint="false">
                                                <DefinedValues />
                                                <Object Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContent]" Index="[PK_tblContent]" TableReferenceId="1" IndexKind="Clustered" />
                                                <SeekPredicates>
                                                  <SeekPredicateNew>
                                                    <SeekKeys>
                                                      <Prefix ScanType="EQ">
                                                        <RangeColumns>
                                                          <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContent]" Column="pkID" />
                                                        </RangeColumns>
                                                        <RangeExpressions>
                                                          <ScalarOperator ScalarString="[PhoenixCMS_RC].[dbo].[tblContentLanguage].[fkContentID]">
                                                            <Identifier>
                                                              <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentLanguage]" Column="fkContentID" />
                                                            </Identifier>
                                                          </ScalarOperator>
                                                        </RangeExpressions>
                                                      </Prefix>
                                                    </SeekKeys>
                                                  </SeekPredicateNew>
                                                </SeekPredicates>
                                              </IndexScan>
                                            </RelOp>
                                            <RelOp AvgRowSize="23" EstimateCPU="1E-07" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="1" LogicalOp="Top" NodeId="24" Parallel="false" PhysicalOp="Top" EstimatedTotalSubtreeCost="0.0032832">
                                              <OutputList>
                                                <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContent]" Column="ContentGUID" />
                                              </OutputList>
                                              <RunTimeInformation>
                                                <RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0" />
                                              </RunTimeInformation>
                                              <Top RowCount="false" IsPercent="false" WithTies="false">
                                                <TopExpression>
                                                  <ScalarOperator ScalarString="(1)">
                                                    <Const ConstValue="(1)" />
                                                  </ScalarOperator>
                                                </TopExpression>
                                                <RelOp AvgRowSize="23" EstimateCPU="0.0001581" EstimateIO="0.003125" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="1" LogicalOp="Clustered Index Seek" NodeId="25" Parallel="false" PhysicalOp="Clustered Index Seek" EstimatedTotalSubtreeCost="0.0032831" TableCardinality="67414">
                                                  <OutputList>
                                                    <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContent]" Column="ContentGUID" />
                                                  </OutputList>
                                                  <RunTimeInformation>
                                                    <RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0" />
                                                  </RunTimeInformation>
                                                  <IndexScan Ordered="true" ScanDirection="FORWARD" ForcedIndex="false" ForceSeek="false" NoExpandHint="false">
                                                    <DefinedValues>
                                                      <DefinedValue>
                                                        <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContent]" Column="ContentGUID" />
                                                      </DefinedValue>
                                                    </DefinedValues>
                                                    <Object Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContent]" Index="[PK_tblContent]" TableReferenceId="2" IndexKind="Clustered" />
                                                    <SeekPredicates>
                                                      <SeekPredicateNew>
                                                        <SeekKeys>
                                                          <Prefix ScanType="EQ">
                                                            <RangeColumns>
                                                              <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContent]" Column="pkID" />
                                                            </RangeColumns>
                                                            <RangeExpressions>
                                                              <ScalarOperator ScalarString="[PhoenixCMS_RC].[dbo].[tblContentLanguage].[fkContentID]">
                                                                <Identifier>
                                                                  <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentLanguage]" Column="fkContentID" />
                                                                </Identifier>
                                                              </ScalarOperator>
                                                            </RangeExpressions>
                                                          </Prefix>
                                                        </SeekKeys>
                                                      </SeekPredicateNew>
                                                    </SeekPredicates>
                                                  </IndexScan>
                                                </RelOp>
                                              </Top>
                                            </RelOp>
                                          </NestedLoops>
                                        </RelOp>
                                      </ComputeScalar>
                                    </RelOp>
                                  </Top>
                                </RelOp>
                              </NestedLoops>
                            </RelOp>
                          </ComputeScalar>
                        </RelOp>
                      </ComputeScalar>
                    </RelOp>
                  </ComputeScalar>
                </RelOp>
              </Update>
            </RelOp>
          </QueryPlan>
        </StmtSimple>
      </Statements>
    </Batch>
    <Batch>
      <Statements>
        <StmtSimple StatementCompId="31" StatementEstRows="1" StatementId="15" StatementOptmLevel="FULL" StatementOptmEarlyAbortReason="GoodEnoughPlanFound" StatementSubTreeCost="0.0265725" StatementText="DELETE FROM 
	    tblCategoryPage 
	WHERE 
	    fkPageID IN ( SELECT pkID FROM #pages )
" StatementType="DELETE" QueryHash="0x20DA5B9EBE7E597C" QueryPlanHash="0x060B7F43B46BBD8D">
          <StatementSetOptions ANSI_NULLS="true" ANSI_PADDING="true" ANSI_WARNINGS="true" ARITHABORT="true" CONCAT_NULL_YIELDS_NULL="true" NUMERIC_ROUNDABORT="false" QUOTED_IDENTIFIER="true" />
          <QueryPlan DegreeOfParallelism="1" CachedPlanSize="24" CompileTime="8" CompileCPU="8" CompileMemory="512">
            <RelOp AvgRowSize="9" EstimateCPU="2E-06" EstimateIO="0.02" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="1" LogicalOp="Delete" NodeId="0" Parallel="false" PhysicalOp="Clustered Index Delete" EstimatedTotalSubtreeCost="0.0265725">
              <OutputList />
              <RunTimeInformation>
                <RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1" />
              </RunTimeInformation>
              <Update DMLRequestSort="false">
                <Object Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentCategory]" Index="[PK_tblContentCategory]" IndexKind="Clustered" />
                <Object Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentCategory]" Index="[IDX_tblContentCategory_fkContentID]" IndexKind="NonClustered" />
                <RelOp AvgRowSize="11" EstimateCPU="1E-07" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="1" LogicalOp="Top" NodeId="1" Parallel="false" PhysicalOp="Top" EstimatedTotalSubtreeCost="0.00657048">
                  <OutputList>
                    <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentCategory]" Column="pkID" />
                  </OutputList>
                  <RunTimeInformation>
                    <RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1" />
                  </RunTimeInformation>
                  <Top RowCount="true" IsPercent="false" WithTies="false">
                    <TopExpression>
                      <ScalarOperator ScalarString="(0)">
                        <Const ConstValue="(0)" />
                      </ScalarOperator>
                    </TopExpression>
                    <RelOp AvgRowSize="11" EstimateCPU="4.18E-06" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="1" LogicalOp="Inner Join" NodeId="3" Parallel="false" PhysicalOp="Nested Loops" EstimatedTotalSubtreeCost="0.00657038">
                      <OutputList>
                        <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentCategory]" Column="pkID" />
                      </OutputList>
                      <RunTimeInformation>
                        <RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1" />
                      </RunTimeInformation>
                      <NestedLoops Optimized="false">
                        <OuterReferences>
                          <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentCategory]" Column="fkContentID" />
                        </OuterReferences>
                        <RelOp AvgRowSize="15" EstimateCPU="0.0001581" EstimateIO="0.003125" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="1" LogicalOp="Index Scan" NodeId="4" Parallel="false" PhysicalOp="Index Scan" EstimatedTotalSubtreeCost="0.0032831" TableCardinality="0">
                          <OutputList>
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentCategory]" Column="pkID" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentCategory]" Column="fkContentID" />
                          </OutputList>
                          <RunTimeInformation>
                            <RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1" />
                          </RunTimeInformation>
                          <IndexScan Ordered="true" ScanDirection="FORWARD" ForcedIndex="false" ForceSeek="false" NoExpandHint="false">
                            <DefinedValues>
                              <DefinedValue>
                                <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentCategory]" Column="pkID" />
                              </DefinedValue>
                              <DefinedValue>
                                <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentCategory]" Column="fkContentID" />
                              </DefinedValue>
                            </DefinedValues>
                            <Object Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentCategory]" Index="[IDX_tblContentCategory_fkContentID]" IndexKind="NonClustered" />
                          </IndexScan>
                        </RelOp>
                        <RelOp AvgRowSize="9" EstimateCPU="0.0001581" EstimateIO="0.003125" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="1" LogicalOp="Clustered Index Seek" NodeId="5" Parallel="false" PhysicalOp="Clustered Index Seek" EstimatedTotalSubtreeCost="0.0032831" TableCardinality="7770">
                          <OutputList />
                          <RunTimeInformation>
                            <RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0" />
                          </RunTimeInformation>
                          <IndexScan Ordered="true" ScanDirection="FORWARD" ForcedIndex="false" ForceSeek="false" NoExpandHint="false">
                            <DefinedValues />
                            <Object Database="[tempdb]" Schema="[dbo]" Table="[#pages]" Index="[PK__#pages____40A359E36921665A]" IndexKind="Clustered" />
                            <SeekPredicates>
                              <SeekPredicateNew>
                                <SeekKeys>
                                  <Prefix ScanType="EQ">
                                    <RangeColumns>
                                      <ColumnReference Database="[tempdb]" Schema="[dbo]" Table="[#pages]" Column="pkID" />
                                    </RangeColumns>
                                    <RangeExpressions>
                                      <ScalarOperator ScalarString="[PhoenixCMS_RC].[dbo].[tblContentCategory].[fkContentID]">
                                        <Identifier>
                                          <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentCategory]" Column="fkContentID" />
                                        </Identifier>
                                      </ScalarOperator>
                                    </RangeExpressions>
                                  </Prefix>
                                </SeekKeys>
                              </SeekPredicateNew>
                            </SeekPredicates>
                          </IndexScan>
                        </RelOp>
                      </NestedLoops>
                    </RelOp>
                  </Top>
                </RelOp>
              </Update>
            </RelOp>
          </QueryPlan>
        </StmtSimple>
      </Statements>
    </Batch>
    <Batch>
      <Statements>
        <StmtSimple StatementCompId="32" StatementEstRows="118679" StatementId="16" StatementOptmLevel="FULL" StatementSubTreeCost="117.874" StatementText="DELETE FROM 
	    tblProperty 
	WHERE 
	    fkPageID IN ( SELECT pkID FROM #pages )
" StatementType="DELETE" QueryHash="0x5B392E8D9F869763" QueryPlanHash="0x879D3F82A37DB362">
          <StatementSetOptions ANSI_NULLS="true" ANSI_PADDING="true" ANSI_WARNINGS="true" ARITHABORT="true" CONCAT_NULL_YIELDS_NULL="true" NUMERIC_ROUNDABORT="false" QUOTED_IDENTIFIER="true" />
          <QueryPlan DegreeOfParallelism="4" MemoryGrant="85984" CachedPlanSize="128" CompileTime="48" CompileCPU="47" CompileMemory="808">
            <RelOp AvgRowSize="9" EstimateCPU="0.712073" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="118679" LogicalOp="Sequence" NodeId="0" Parallel="false" PhysicalOp="Sequence" EstimatedTotalSubtreeCost="117.874">
              <OutputList />
              <RunTimeInformation>
                <RunTimeCountersPerThread Thread="0" ActualRows="166225" ActualEndOfScans="1" ActualExecutions="1" />
              </RunTimeInformation>
              <Sequence>
                <RelOp AvgRowSize="9" EstimateCPU="0.118679" EstimateIO="2.381" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="118679" LogicalOp="Delete" NodeId="1" Parallel="false" PhysicalOp="Index Delete" EstimatedTotalSubtreeCost="19.2395">
                  <OutputList />
                  <RunTimeInformation>
                    <RunTimeCountersPerThread Thread="0" ActualRows="166225" ActualEndOfScans="1" ActualExecutions="1" />
                  </RunTimeInformation>
                  <Update WithOrderedPrefetch="true" DMLRequestSort="true">
                    <Object Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Index="[IDX_tblContentProperty_fkPropertyDefinitionID]" IndexKind="NonClustered" />
                    <RelOp AvgRowSize="15" EstimateCPU="9.18254" EstimateIO="0.0112613" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="118679" LogicalOp="Sort" NodeId="3" Parallel="false" PhysicalOp="Sort" EstimatedTotalSubtreeCost="16.7398">
                      <OutputList>
                        <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="pkID" />
                        <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="fkPropertyDefinitionID" />
                      </OutputList>
                      <MemoryFractions Input="1" Output="1" />
                      <RunTimeInformation>
                        <RunTimeCountersPerThread Thread="0" ActualRebinds="1" ActualRewinds="0" ActualRows="166225" ActualEndOfScans="1" ActualExecutions="1" />
                      </RunTimeInformation>
                      <Sort Distinct="false">
                        <OrderBy>
                          <OrderByColumn Ascending="true">
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="fkPropertyDefinitionID" />
                          </OrderByColumn>
                          <OrderByColumn Ascending="true">
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="pkID" />
                          </OrderByColumn>
                        </OrderBy>
                        <RelOp AvgRowSize="518" EstimateCPU="0.00715438" EstimateIO="0.0021927" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="118679" LogicalOp="Eager Spool" NodeId="4" Parallel="false" PhysicalOp="Table Spool" EstimatedTotalSubtreeCost="7.54604">
                          <OutputList>
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="pkID" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="fkPropertyDefinitionID" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="fkContentID" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="fkLanguageBranchID" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="ScopeName" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="guid" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="ContentType" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="ContentLink" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="LinkGuid" />
                          </OutputList>
                          <RunTimeInformation>
                            <RunTimeCountersPerThread Thread="0" ActualRebinds="1" ActualRewinds="0" ActualRows="166225" ActualEndOfScans="1" ActualExecutions="1" />
                          </RunTimeInformation>
                          <Spool>
                            <RelOp AvgRowSize="518" EstimateCPU="0.118679" EstimateIO="30.1066" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="118679" LogicalOp="Delete" NodeId="5" Parallel="false" PhysicalOp="Clustered Index Delete" EstimatedTotalSubtreeCost="45.113">
                              <OutputList>
                                <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="pkID" />
                                <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="fkPropertyDefinitionID" />
                                <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="fkContentID" />
                                <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="fkLanguageBranchID" />
                                <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="ScopeName" />
                                <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="guid" />
                                <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="ContentType" />
                                <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="ContentLink" />
                                <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="LinkGuid" />
                              </OutputList>
                              <RunTimeInformation>
                                <RunTimeCountersPerThread Thread="0" ActualRows="166225" ActualEndOfScans="1" ActualExecutions="1" />
                              </RunTimeInformation>
                              <Update WithOrderedPrefetch="true" DMLRequestSort="true">
                                <Object Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Index="[PK_tblContentProperty]" IndexKind="Clustered" />
                                <RelOp AvgRowSize="11" EstimateCPU="0.0118679" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="118679" LogicalOp="Top" NodeId="7" Parallel="false" PhysicalOp="Top" EstimatedTotalSubtreeCost="14.8877">
                                  <OutputList>
                                    <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="pkID" />
                                  </OutputList>
                                  <RunTimeInformation>
                                    <RunTimeCountersPerThread Thread="0" ActualRows="166225" ActualEndOfScans="1" ActualExecutions="1" />
                                  </RunTimeInformation>
                                  <Top RowCount="true" IsPercent="false" WithTies="false">
                                    <TopExpression>
                                      <ScalarOperator ScalarString="(0)">
                                        <Const ConstValue="(0)" />
                                      </ScalarOperator>
                                    </TopExpression>
                                    <RelOp AvgRowSize="11" EstimateCPU="0.733066" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="118679" LogicalOp="Gather Streams" NodeId="9" Parallel="true" PhysicalOp="Parallelism" EstimatedTotalSubtreeCost="14.8758">
                                      <OutputList>
                                        <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="pkID" />
                                      </OutputList>
                                      <RunTimeInformation>
                                        <RunTimeCountersPerThread Thread="0" ActualRows="166225" ActualEndOfScans="1" ActualExecutions="1" />
                                      </RunTimeInformation>
                                      <Parallelism>
                                        <OrderBy>
                                          <OrderByColumn Ascending="true">
                                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="pkID" />
                                          </OrderByColumn>
                                        </OrderBy>
                                        <RelOp AvgRowSize="11" EstimateCPU="4.59127" EstimateIO="0.00563063" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="118679" LogicalOp="Sort" NodeId="10" Parallel="true" PhysicalOp="Sort" EstimatedTotalSubtreeCost="14.1428">
                                          <OutputList>
                                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="pkID" />
                                          </OutputList>
                                          <MemoryFractions Input="0.506281" Output="1" />
                                          <RunTimeInformation>
                                            <RunTimeCountersPerThread Thread="1" ActualRebinds="1" ActualRewinds="0" ActualRows="41272" ActualEndOfScans="1" ActualExecutions="1" />
                                            <RunTimeCountersPerThread Thread="4" ActualRebinds="1" ActualRewinds="0" ActualRows="41138" ActualEndOfScans="1" ActualExecutions="1" />
                                            <RunTimeCountersPerThread Thread="2" ActualRebinds="1" ActualRewinds="0" ActualRows="41685" ActualEndOfScans="1" ActualExecutions="1" />
                                            <RunTimeCountersPerThread Thread="3" ActualRebinds="1" ActualRewinds="0" ActualRows="42130" ActualEndOfScans="1" ActualExecutions="1" />
                                            <RunTimeCountersPerThread Thread="0" ActualRebinds="0" ActualRewinds="0" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0" />
                                          </RunTimeInformation>
                                          <Sort Distinct="false">
                                            <OrderBy>
                                              <OrderByColumn Ascending="true">
                                                <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="pkID" />
                                              </OrderByColumn>
                                            </OrderBy>
                                            <RelOp AvgRowSize="11" EstimateCPU="3.4383" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="118679" LogicalOp="Inner Join" NodeId="11" Parallel="true" PhysicalOp="Hash Match" EstimatedTotalSubtreeCost="9.54588">
                                              <OutputList>
                                                <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="pkID" />
                                              </OutputList>
                                              <MemoryFractions Input="1" Output="0.493719" />
                                              <RunTimeInformation>
                                                <RunTimeCountersPerThread Thread="1" ActualRows="41272" ActualEndOfScans="1" ActualExecutions="1" />
                                                <RunTimeCountersPerThread Thread="4" ActualRows="41138" ActualEndOfScans="1" ActualExecutions="1" />
                                                <RunTimeCountersPerThread Thread="2" ActualRows="41685" ActualEndOfScans="1" ActualExecutions="1" />
                                                <RunTimeCountersPerThread Thread="3" ActualRows="42130" ActualEndOfScans="1" ActualExecutions="1" />
                                                <RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0" />
                                              </RunTimeInformation>
                                              <Hash>
                                                <DefinedValues />
                                                <HashKeysBuild>
                                                  <ColumnReference Database="[tempdb]" Schema="[dbo]" Table="[#pages]" Column="pkID" />
                                                </HashKeysBuild>
                                                <HashKeysProbe>
                                                  <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="fkContentID" />
                                                </HashKeysProbe>
                                                <RelOp AvgRowSize="11" EstimateCPU="0.0378094" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="7770" LogicalOp="Bitmap Create" NodeId="12" Parallel="true" PhysicalOp="Bitmap" EstimatedTotalSubtreeCost="0.0652864">
                                                  <OutputList>
                                                    <ColumnReference Database="[tempdb]" Schema="[dbo]" Table="[#pages]" Column="pkID" />
                                                  </OutputList>
                                                  <RunTimeInformation>
                                                    <RunTimeCountersPerThread Thread="1" ActualRows="1941" ActualEndOfScans="1" ActualExecutions="1" />
                                                    <RunTimeCountersPerThread Thread="4" ActualRows="1929" ActualEndOfScans="1" ActualExecutions="1" />
                                                    <RunTimeCountersPerThread Thread="2" ActualRows="1950" ActualEndOfScans="1" ActualExecutions="1" />
                                                    <RunTimeCountersPerThread Thread="3" ActualRows="1950" ActualEndOfScans="1" ActualExecutions="1" />
                                                    <RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0" />
                                                  </RunTimeInformation>
                                                  <Bitmap>
                                                    <DefinedValues>
                                                      <DefinedValue>
                                                        <ColumnReference Column="Bitmap1009" />
                                                      </DefinedValue>
                                                    </DefinedValues>
                                                    <HashKeys>
                                                      <ColumnReference Database="[tempdb]" Schema="[dbo]" Table="[#pages]" Column="pkID" />
                                                    </HashKeys>
                                                    <RelOp AvgRowSize="11" EstimateCPU="0.0378094" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="7770" LogicalOp="Repartition Streams" NodeId="13" Parallel="true" PhysicalOp="Parallelism" EstimatedTotalSubtreeCost="0.0652864">
                                                      <OutputList>
                                                        <ColumnReference Database="[tempdb]" Schema="[dbo]" Table="[#pages]" Column="pkID" />
                                                      </OutputList>
                                                      <RunTimeInformation>
                                                        <RunTimeCountersPerThread Thread="1" ActualRows="1941" ActualEndOfScans="1" ActualExecutions="1" />
                                                        <RunTimeCountersPerThread Thread="4" ActualRows="1929" ActualEndOfScans="1" ActualExecutions="1" />
                                                        <RunTimeCountersPerThread Thread="2" ActualRows="1950" ActualEndOfScans="1" ActualExecutions="1" />
                                                        <RunTimeCountersPerThread Thread="3" ActualRows="1950" ActualEndOfScans="1" ActualExecutions="1" />
                                                        <RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0" />
                                                      </RunTimeInformation>
                                                      <Parallelism PartitioningType="Hash">
                                                        <PartitionColumns>
                                                          <ColumnReference Database="[tempdb]" Schema="[dbo]" Table="[#pages]" Column="pkID" />
                                                        </PartitionColumns>
                                                        <RelOp AvgRowSize="11" EstimateCPU="0.004352" EstimateIO="0.023125" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="7770" LogicalOp="Clustered Index Scan" NodeId="14" Parallel="true" PhysicalOp="Clustered Index Scan" EstimatedTotalSubtreeCost="0.027477" TableCardinality="7770">
                                                          <OutputList>
                                                            <ColumnReference Database="[tempdb]" Schema="[dbo]" Table="[#pages]" Column="pkID" />
                                                          </OutputList>
                                                          <RunTimeInformation>
                                                            <RunTimeCountersPerThread Thread="4" ActualRows="1116" ActualEndOfScans="1" ActualExecutions="1" />
                                                            <RunTimeCountersPerThread Thread="1" ActualRows="3305" ActualEndOfScans="1" ActualExecutions="1" />
                                                            <RunTimeCountersPerThread Thread="2" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1" />
                                                            <RunTimeCountersPerThread Thread="3" ActualRows="3349" ActualEndOfScans="1" ActualExecutions="1" />
                                                            <RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0" />
                                                          </RunTimeInformation>
                                                          <IndexScan Ordered="false" ForcedIndex="false" NoExpandHint="false">
                                                            <DefinedValues>
                                                              <DefinedValue>
                                                                <ColumnReference Database="[tempdb]" Schema="[dbo]" Table="[#pages]" Column="pkID" />
                                                              </DefinedValue>
                                                            </DefinedValues>
                                                            <Object Database="[tempdb]" Schema="[dbo]" Table="[#pages]" Index="[PK__#pages____40A359E36921665A]" IndexKind="Clustered" />
                                                          </IndexScan>
                                                        </RelOp>
                                                      </Parallelism>
                                                    </RelOp>
                                                  </Bitmap>
                                                </RelOp>
                                                <RelOp AvgRowSize="15" EstimateCPU="2.29874" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="1439020" LogicalOp="Repartition Streams" NodeId="15" Parallel="true" PhysicalOp="Parallelism" EstimatedTotalSubtreeCost="6.04229">
                                                  <OutputList>
                                                    <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="pkID" />
                                                    <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="fkContentID" />
                                                  </OutputList>
                                                  <RunTimeInformation>
                                                    <RunTimeCountersPerThread Thread="1" ActualRows="360251" ActualEndOfScans="1" ActualExecutions="1" />
                                                    <RunTimeCountersPerThread Thread="4" ActualRows="358554" ActualEndOfScans="1" ActualExecutions="1" />
                                                    <RunTimeCountersPerThread Thread="2" ActualRows="361563" ActualEndOfScans="1" ActualExecutions="1" />
                                                    <RunTimeCountersPerThread Thread="3" ActualRows="358321" ActualEndOfScans="1" ActualExecutions="1" />
                                                    <RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0" />
                                                  </RunTimeInformation>
                                                  <Parallelism PartitioningType="Hash">
                                                    <PartitionColumns>
                                                      <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="fkContentID" />
                                                    </PartitionColumns>
                                                    <RelOp AvgRowSize="15" EstimateCPU="0.79154" EstimateIO="2.95201" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="1439020" LogicalOp="Index Scan" NodeId="16" Parallel="true" PhysicalOp="Index Scan" EstimatedTotalSubtreeCost="3.74355" TableCardinality="1439020">
                                                      <OutputList>
                                                        <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="pkID" />
                                                        <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="fkContentID" />
                                                      </OutputList>
                                                      <RunTimeInformation>
                                                        <RunTimeCountersPerThread Thread="4" ActualRows="383416" ActualEndOfScans="1" ActualExecutions="1" />
                                                        <RunTimeCountersPerThread Thread="1" ActualRows="262683" ActualEndOfScans="1" ActualExecutions="1" />
                                                        <RunTimeCountersPerThread Thread="2" ActualRows="341703" ActualEndOfScans="1" ActualExecutions="1" />
                                                        <RunTimeCountersPerThread Thread="3" ActualRows="450887" ActualEndOfScans="1" ActualExecutions="1" />
                                                        <RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0" />
                                                      </RunTimeInformation>
                                                      <IndexScan Ordered="true" ScanDirection="FORWARD" ForcedIndex="false" ForceSeek="false" NoExpandHint="false">
                                                        <DefinedValues>
                                                          <DefinedValue>
                                                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="pkID" />
                                                          </DefinedValue>
                                                          <DefinedValue>
                                                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="fkContentID" />
                                                          </DefinedValue>
                                                        </DefinedValues>
                                                        <Object Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Index="[IDX_tblContentProperty_fkContentID]" IndexKind="NonClustered" />
                                                        <Predicate>
                                                          <ScalarOperator ScalarString="PROBE([Bitmap1009],[PhoenixCMS_RC].[dbo].[tblContentProperty].[fkContentID],N'[IN ROW]')">
                                                            <Intrinsic FunctionName="PROBE">
                                                              <ScalarOperator>
                                                                <Identifier>
                                                                  <ColumnReference Column="Bitmap1009" />
                                                                </Identifier>
                                                              </ScalarOperator>
                                                              <ScalarOperator>
                                                                <Identifier>
                                                                  <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="fkContentID" />
                                                                </Identifier>
                                                              </ScalarOperator>
                                                              <ScalarOperator>
                                                                <Const ConstValue="N'[IN ROW]'" />
                                                              </ScalarOperator>
                                                            </Intrinsic>
                                                          </ScalarOperator>
                                                        </Predicate>
                                                      </IndexScan>
                                                    </RelOp>
                                                  </Parallelism>
                                                </RelOp>
                                              </Hash>
                                            </RelOp>
                                          </Sort>
                                        </RelOp>
                                      </Parallelism>
                                    </RelOp>
                                  </Top>
                                </RelOp>
                              </Update>
                            </RelOp>
                          </Spool>
                        </RelOp>
                      </Sort>
                    </RelOp>
                  </Update>
                </RelOp>
                <RelOp AvgRowSize="9" EstimateCPU="0.118679" EstimateIO="1.15506" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="118679" LogicalOp="Delete" NodeId="20" Parallel="false" PhysicalOp="Index Delete" EstimatedTotalSubtreeCost="18.0136">
                  <OutputList />
                  <RunTimeInformation>
                    <RunTimeCountersPerThread Thread="0" ActualRows="166225" ActualEndOfScans="1" ActualExecutions="1" />
                  </RunTimeInformation>
                  <Update WithOrderedPrefetch="true" DMLRequestSort="true">
                    <Object Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Index="[IDX_tblContentProperty_ScopeName]" IndexKind="NonClustered" />
                    <RelOp AvgRowSize="465" EstimateCPU="9.18255" EstimateIO="0.0112613" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="118679" LogicalOp="Sort" NodeId="22" Parallel="false" PhysicalOp="Sort" EstimatedTotalSubtreeCost="16.7398">
                      <OutputList>
                        <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="pkID" />
                        <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="ScopeName" />
                      </OutputList>
                      <MemoryFractions Input="1" Output="1" />
                      <RunTimeInformation>
                        <RunTimeCountersPerThread Thread="0" ActualRebinds="1" ActualRewinds="0" ActualRows="166225" ActualEndOfScans="1" ActualExecutions="1" />
                      </RunTimeInformation>
                      <Sort Distinct="false">
                        <OrderBy>
                          <OrderByColumn Ascending="true">
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="ScopeName" />
                          </OrderByColumn>
                          <OrderByColumn Ascending="true">
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="pkID" />
                          </OrderByColumn>
                        </OrderBy>
                        <RelOp AvgRowSize="518" EstimateCPU="0.00715438" EstimateIO="0.0021927" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="118679" LogicalOp="Eager Spool" NodeId="23" Parallel="false" PhysicalOp="Table Spool" EstimatedTotalSubtreeCost="7.54604">
                          <OutputList>
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="pkID" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="fkPropertyDefinitionID" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="fkContentID" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="fkLanguageBranchID" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="ScopeName" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="guid" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="ContentType" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="ContentLink" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="LinkGuid" />
                          </OutputList>
                          <RunTimeInformation>
                            <RunTimeCountersPerThread Thread="0" ActualRebinds="1" ActualRewinds="0" ActualRows="166225" ActualEndOfScans="1" ActualExecutions="1" />
                          </RunTimeInformation>
                          <Spool PrimaryNodeId="4" />
                        </RelOp>
                      </Sort>
                    </RelOp>
                  </Update>
                </RelOp>
                <RelOp AvgRowSize="9" EstimateCPU="0.118679" EstimateIO="4.80389" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="118679" LogicalOp="Delete" NodeId="24" Parallel="false" PhysicalOp="Index Delete" EstimatedTotalSubtreeCost="21.6624">
                  <OutputList />
                  <RunTimeInformation>
                    <RunTimeCountersPerThread Thread="0" ActualRows="166225" ActualEndOfScans="1" ActualExecutions="1" />
                  </RunTimeInformation>
                  <Update WithOrderedPrefetch="true" DMLRequestSort="true">
                    <Object Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Index="[IDX_tblContentProperty_ContentLink]" IndexKind="NonClustered" />
                    <RelOp AvgRowSize="31" EstimateCPU="9.18254" EstimateIO="0.0112613" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="118679" LogicalOp="Sort" NodeId="26" Parallel="false" PhysicalOp="Sort" EstimatedTotalSubtreeCost="16.7398">
                      <OutputList>
                        <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="pkID" />
                        <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="ContentLink" />
                        <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="LinkGuid" />
                      </OutputList>
                      <MemoryFractions Input="1" Output="1" />
                      <RunTimeInformation>
                        <RunTimeCountersPerThread Thread="0" ActualRebinds="1" ActualRewinds="0" ActualRows="166225" ActualEndOfScans="1" ActualExecutions="1" />
                      </RunTimeInformation>
                      <Sort Distinct="false">
                        <OrderBy>
                          <OrderByColumn Ascending="true">
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="ContentLink" />
                          </OrderByColumn>
                          <OrderByColumn Ascending="true">
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="LinkGuid" />
                          </OrderByColumn>
                          <OrderByColumn Ascending="true">
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="pkID" />
                          </OrderByColumn>
                        </OrderBy>
                        <RelOp AvgRowSize="518" EstimateCPU="0.00715438" EstimateIO="0.0021927" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="118679" LogicalOp="Eager Spool" NodeId="27" Parallel="false" PhysicalOp="Table Spool" EstimatedTotalSubtreeCost="7.54604">
                          <OutputList>
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="pkID" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="fkPropertyDefinitionID" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="fkContentID" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="fkLanguageBranchID" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="ScopeName" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="guid" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="ContentType" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="ContentLink" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="LinkGuid" />
                          </OutputList>
                          <RunTimeInformation>
                            <RunTimeCountersPerThread Thread="0" ActualRebinds="1" ActualRewinds="0" ActualRows="166225" ActualEndOfScans="1" ActualExecutions="1" />
                          </RunTimeInformation>
                          <Spool PrimaryNodeId="4" />
                        </RelOp>
                      </Sort>
                    </RelOp>
                  </Update>
                </RelOp>
                <RelOp AvgRowSize="9" EstimateCPU="0.118679" EstimateIO="1.60086" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="118679" LogicalOp="Delete" NodeId="28" Parallel="false" PhysicalOp="Index Delete" EstimatedTotalSubtreeCost="18.4594">
                  <OutputList />
                  <RunTimeInformation>
                    <RunTimeCountersPerThread Thread="0" ActualRows="166225" ActualEndOfScans="1" ActualExecutions="1" />
                  </RunTimeInformation>
                  <Update WithOrderedPrefetch="true" DMLRequestSort="true">
                    <Object Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Index="[IDX_tblContentProperty_ContentTypeID]" IndexKind="NonClustered" />
                    <RelOp AvgRowSize="15" EstimateCPU="9.18254" EstimateIO="0.0112613" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="118679" LogicalOp="Sort" NodeId="30" Parallel="false" PhysicalOp="Sort" EstimatedTotalSubtreeCost="16.7398">
                      <OutputList>
                        <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="pkID" />
                        <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="ContentType" />
                      </OutputList>
                      <MemoryFractions Input="1" Output="1" />
                      <RunTimeInformation>
                        <RunTimeCountersPerThread Thread="0" ActualRebinds="1" ActualRewinds="0" ActualRows="166225" ActualEndOfScans="1" ActualExecutions="1" />
                      </RunTimeInformation>
                      <Sort Distinct="false">
                        <OrderBy>
                          <OrderByColumn Ascending="true">
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="ContentType" />
                          </OrderByColumn>
                          <OrderByColumn Ascending="true">
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="pkID" />
                          </OrderByColumn>
                        </OrderBy>
                        <RelOp AvgRowSize="518" EstimateCPU="0.00715438" EstimateIO="0.0021927" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="118679" LogicalOp="Eager Spool" NodeId="31" Parallel="false" PhysicalOp="Table Spool" EstimatedTotalSubtreeCost="7.54604">
                          <OutputList>
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="pkID" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="fkPropertyDefinitionID" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="fkContentID" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="fkLanguageBranchID" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="ScopeName" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="guid" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="ContentType" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="ContentLink" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="LinkGuid" />
                          </OutputList>
                          <RunTimeInformation>
                            <RunTimeCountersPerThread Thread="0" ActualRebinds="1" ActualRewinds="0" ActualRows="166225" ActualEndOfScans="1" ActualExecutions="1" />
                          </RunTimeInformation>
                          <Spool PrimaryNodeId="4" />
                        </RelOp>
                      </Sort>
                    </RelOp>
                  </Update>
                </RelOp>
                <RelOp AvgRowSize="9" EstimateCPU="0.118679" EstimateIO="2.22218" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="118679" LogicalOp="Delete" NodeId="32" Parallel="false" PhysicalOp="Index Delete" EstimatedTotalSubtreeCost="19.0807">
                  <OutputList />
                  <RunTimeInformation>
                    <RunTimeCountersPerThread Thread="0" ActualRows="166225" ActualEndOfScans="1" ActualExecutions="1" />
                  </RunTimeInformation>
                  <Update WithOrderedPrefetch="true" DMLRequestSort="true">
                    <Object Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Index="[IDX_tblContentProperty_fkContentID]" IndexKind="NonClustered" />
                    <RelOp AvgRowSize="19" EstimateCPU="9.18254" EstimateIO="0.0112613" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="118679" LogicalOp="Sort" NodeId="34" Parallel="false" PhysicalOp="Sort" EstimatedTotalSubtreeCost="16.7398">
                      <OutputList>
                        <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="pkID" />
                        <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="fkContentID" />
                        <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="fkLanguageBranchID" />
                      </OutputList>
                      <MemoryFractions Input="1" Output="1" />
                      <RunTimeInformation>
                        <RunTimeCountersPerThread Thread="0" ActualRebinds="1" ActualRewinds="0" ActualRows="166225" ActualEndOfScans="1" ActualExecutions="1" />
                      </RunTimeInformation>
                      <Sort Distinct="false">
                        <OrderBy>
                          <OrderByColumn Ascending="true">
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="fkContentID" />
                          </OrderByColumn>
                          <OrderByColumn Ascending="true">
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="fkLanguageBranchID" />
                          </OrderByColumn>
                          <OrderByColumn Ascending="true">
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="pkID" />
                          </OrderByColumn>
                        </OrderBy>
                        <RelOp AvgRowSize="518" EstimateCPU="0.00715438" EstimateIO="0.0021927" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="118679" LogicalOp="Eager Spool" NodeId="35" Parallel="false" PhysicalOp="Table Spool" EstimatedTotalSubtreeCost="7.54604">
                          <OutputList>
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="pkID" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="fkPropertyDefinitionID" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="fkContentID" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="fkLanguageBranchID" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="ScopeName" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="guid" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="ContentType" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="ContentLink" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="LinkGuid" />
                          </OutputList>
                          <RunTimeInformation>
                            <RunTimeCountersPerThread Thread="0" ActualRebinds="1" ActualRewinds="0" ActualRows="166225" ActualEndOfScans="1" ActualExecutions="1" />
                          </RunTimeInformation>
                          <Spool PrimaryNodeId="4" />
                        </RelOp>
                      </Sort>
                    </RelOp>
                  </Update>
                </RelOp>
                <RelOp AvgRowSize="9" EstimateCPU="0.118679" EstimateIO="3.84766" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="118679" LogicalOp="Delete" NodeId="36" Parallel="false" PhysicalOp="Index Delete" EstimatedTotalSubtreeCost="20.7062">
                  <OutputList />
                  <RunTimeInformation>
                    <RunTimeCountersPerThread Thread="0" ActualRows="166225" ActualEndOfScans="1" ActualExecutions="1" />
                  </RunTimeInformation>
                  <Update WithOrderedPrefetch="true" DMLRequestSort="true">
                    <Object Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Index="[IX_tblContentProperty]" IndexKind="NonClustered" />
                    <RelOp AvgRowSize="23" EstimateCPU="9.18254" EstimateIO="0.0112613" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="118679" LogicalOp="Sort" NodeId="38" Parallel="false" PhysicalOp="Sort" EstimatedTotalSubtreeCost="16.7398">
                      <OutputList>
                        <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="guid" />
                      </OutputList>
                      <MemoryFractions Input="1" Output="1" />
                      <RunTimeInformation>
                        <RunTimeCountersPerThread Thread="0" ActualRebinds="1" ActualRewinds="0" ActualRows="166225" ActualEndOfScans="1" ActualExecutions="1" />
                      </RunTimeInformation>
                      <Sort Distinct="false">
                        <OrderBy>
                          <OrderByColumn Ascending="true">
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="guid" />
                          </OrderByColumn>
                        </OrderBy>
                        <RelOp AvgRowSize="518" EstimateCPU="0.00715438" EstimateIO="0.0021927" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="118679" LogicalOp="Eager Spool" NodeId="39" Parallel="false" PhysicalOp="Table Spool" EstimatedTotalSubtreeCost="7.54604">
                          <OutputList>
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="pkID" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="fkPropertyDefinitionID" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="fkContentID" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="fkLanguageBranchID" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="ScopeName" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="guid" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="ContentType" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="ContentLink" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="LinkGuid" />
                          </OutputList>
                          <RunTimeInformation>
                            <RunTimeCountersPerThread Thread="0" ActualRebinds="1" ActualRewinds="0" ActualRows="166225" ActualEndOfScans="1" ActualExecutions="1" />
                          </RunTimeInformation>
                          <Spool PrimaryNodeId="4" />
                        </RelOp>
                      </Sort>
                    </RelOp>
                  </Update>
                </RelOp>
              </Sequence>
            </RelOp>
          </QueryPlan>
        </StmtSimple>
      </Statements>
    </Batch>
    <Batch>
      <Statements>
        <StmtSimple StatementCompId="33" StatementEstRows="26274.4" StatementId="17" StatementOptmLevel="FULL" StatementSubTreeCost="4.75776" StatementText="DELETE FROM 
	    tblContentAccess 
	WHERE 
	    fkContentID IN ( SELECT pkID FROM #pages )
-- KEYWORDS AND INDEXING
" StatementType="DELETE" QueryHash="0xBCFB950A0C6813B4" QueryPlanHash="0x8647F3184F92F6F5">
          <StatementSetOptions ANSI_NULLS="true" ANSI_PADDING="true" ANSI_WARNINGS="true" ARITHABORT="true" CONCAT_NULL_YIELDS_NULL="true" NUMERIC_ROUNDABORT="false" QUOTED_IDENTIFIER="true" />
          <QueryPlan DegreeOfParallelism="1" MemoryGrant="4480" CachedPlanSize="24" CompileTime="19" CompileCPU="19" CompileMemory="592">
            <RelOp AvgRowSize="9" EstimateCPU="0.0262744" EstimateIO="1.24067" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="26274.4" LogicalOp="Delete" NodeId="0" Parallel="false" PhysicalOp="Clustered Index Delete" EstimatedTotalSubtreeCost="4.75776">
              <OutputList />
              <RunTimeInformation>
                <RunTimeCountersPerThread Thread="0" ActualRows="31199" ActualEndOfScans="1" ActualExecutions="1" />
              </RunTimeInformation>
              <Update DMLRequestSort="true">
                <Object Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentAccess]" Index="[PK_tblContentAccess]" IndexKind="Clustered" />
                <RelOp AvgRowSize="37" EstimateCPU="0.00262744" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="26274.4" LogicalOp="Top" NodeId="1" Parallel="false" PhysicalOp="Top" EstimatedTotalSubtreeCost="3.49081">
                  <OutputList>
                    <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentAccess]" Column="fkContentID" />
                    <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentAccess]" Column="Name" />
                  </OutputList>
                  <RunTimeInformation>
                    <RunTimeCountersPerThread Thread="0" ActualRows="31199" ActualEndOfScans="1" ActualExecutions="1" />
                  </RunTimeInformation>
                  <Top RowCount="true" IsPercent="false" WithTies="false">
                    <TopExpression>
                      <ScalarOperator ScalarString="(0)">
                        <Const ConstValue="(0)" />
                      </ScalarOperator>
                    </TopExpression>
                    <RelOp AvgRowSize="37" EstimateCPU="1.77064" EstimateIO="0.0112613" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="26274" LogicalOp="Sort" NodeId="3" Parallel="false" PhysicalOp="Sort" EstimatedTotalSubtreeCost="3.48818">
                      <OutputList>
                        <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentAccess]" Column="fkContentID" />
                        <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentAccess]" Column="Name" />
                      </OutputList>
                      <MemoryFractions Input="1" Output="1" />
                      <RunTimeInformation>
                        <RunTimeCountersPerThread Thread="0" ActualRebinds="1" ActualRewinds="0" ActualRows="31199" ActualEndOfScans="1" ActualExecutions="1" />
                      </RunTimeInformation>
                      <Sort Distinct="false">
                        <OrderBy>
                          <OrderByColumn Ascending="true">
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentAccess]" Column="fkContentID" />
                          </OrderByColumn>
                          <OrderByColumn Ascending="true">
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentAccess]" Column="Name" />
                          </OrderByColumn>
                        </OrderBy>
                        <RelOp AvgRowSize="37" EstimateCPU="0.4382" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="26274" LogicalOp="Inner Join" NodeId="4" Parallel="false" PhysicalOp="Merge Join" EstimatedTotalSubtreeCost="1.70629">
                          <OutputList>
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentAccess]" Column="fkContentID" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentAccess]" Column="Name" />
                          </OutputList>
                          <RunTimeInformation>
                            <RunTimeCountersPerThread Thread="0" ActualRows="31199" ActualEndOfScans="1" ActualExecutions="1" />
                          </RunTimeInformation>
                          <Merge ManyToMany="false">
                            <InnerSideJoinColumns>
                              <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentAccess]" Column="fkContentID" />
                            </InnerSideJoinColumns>
                            <OuterSideJoinColumns>
                              <ColumnReference Database="[tempdb]" Schema="[dbo]" Table="[#pages]" Column="pkID" />
                            </OuterSideJoinColumns>
                            <Residual>
                              <ScalarOperator ScalarString="[PhoenixCMS_RC].[dbo].[tblContentAccess].[fkContentID]=[tempdb].[dbo].[#pages].[pkID]">
                                <Compare CompareOp="EQ">
                                  <ScalarOperator>
                                    <Identifier>
                                      <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentAccess]" Column="fkContentID" />
                                    </Identifier>
                                  </ScalarOperator>
                                  <ScalarOperator>
                                    <Identifier>
                                      <ColumnReference Database="[tempdb]" Schema="[dbo]" Table="[#pages]" Column="pkID" />
                                    </Identifier>
                                  </ScalarOperator>
                                </Compare>
                              </ScalarOperator>
                            </Residual>
                            <RelOp AvgRowSize="11" EstimateCPU="0.008704" EstimateIO="0.023125" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="7770" LogicalOp="Clustered Index Scan" NodeId="5" Parallel="false" PhysicalOp="Clustered Index Scan" EstimatedTotalSubtreeCost="0.031829" TableCardinality="7770">
                              <OutputList>
                                <ColumnReference Database="[tempdb]" Schema="[dbo]" Table="[#pages]" Column="pkID" />
                              </OutputList>
                              <RunTimeInformation>
                                <RunTimeCountersPerThread Thread="0" ActualRows="7770" ActualEndOfScans="1" ActualExecutions="1" />
                              </RunTimeInformation>
                              <IndexScan Ordered="true" ScanDirection="FORWARD" ForcedIndex="false" ForceSeek="false" NoExpandHint="false">
                                <DefinedValues>
                                  <DefinedValue>
                                    <ColumnReference Database="[tempdb]" Schema="[dbo]" Table="[#pages]" Column="pkID" />
                                  </DefinedValue>
                                </DefinedValues>
                                <Object Database="[tempdb]" Schema="[dbo]" Table="[#pages]" Index="[PK__#pages____40A359E36921665A]" IndexKind="Clustered" />
                              </IndexScan>
                            </RelOp>
                            <RelOp AvgRowSize="37" EstimateCPU="0.216834" EstimateIO="1.01942" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="196979" LogicalOp="Clustered Index Scan" NodeId="6" Parallel="false" PhysicalOp="Clustered Index Scan" EstimatedTotalSubtreeCost="1.23626" TableCardinality="196979">
                              <OutputList>
                                <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentAccess]" Column="fkContentID" />
                                <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentAccess]" Column="Name" />
                              </OutputList>
                              <RunTimeInformation>
                                <RunTimeCountersPerThread Thread="0" ActualRows="196377" ActualEndOfScans="0" ActualExecutions="1" />
                              </RunTimeInformation>
                              <IndexScan Ordered="true" ScanDirection="FORWARD" ForcedIndex="false" ForceSeek="false" NoExpandHint="false">
                                <DefinedValues>
                                  <DefinedValue>
                                    <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentAccess]" Column="fkContentID" />
                                  </DefinedValue>
                                  <DefinedValue>
                                    <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentAccess]" Column="Name" />
                                  </DefinedValue>
                                </DefinedValues>
                                <Object Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentAccess]" Index="[PK_tblContentAccess]" IndexKind="Clustered" />
                              </IndexScan>
                            </RelOp>
                          </Merge>
                        </RelOp>
                      </Sort>
                    </RelOp>
                  </Top>
                </RelOp>
              </Update>
            </RelOp>
          </QueryPlan>
        </StmtSimple>
      </Statements>
    </Batch>
    <Batch>
      <Statements>
        <StmtSimple StatementCompId="34" StatementEstRows="16393.8" StatementId="18" StatementOptmLevel="FULL" StatementSubTreeCost="5.23118" StatementText="DELETE FROM 
	    tblContentSoftlink
	WHERE 
	    fkOwnerContentID IN ( SELECT pkID FROM #pages )
-- PAGETYPES
" StatementType="DELETE" QueryHash="0x9D4D878DBF0BB77E" QueryPlanHash="0xF8FC59B2DC079642">
          <StatementSetOptions ANSI_NULLS="true" ANSI_PADDING="true" ANSI_WARNINGS="true" ARITHABORT="true" CONCAT_NULL_YIELDS_NULL="true" NUMERIC_ROUNDABORT="false" QUOTED_IDENTIFIER="true" />
          <QueryPlan DegreeOfParallelism="4" MemoryGrant="9376" CachedPlanSize="56" CompileTime="39" CompileCPU="39" CompileMemory="656">
            <RelOp AvgRowSize="9" EstimateCPU="0.0491814" EstimateIO="3.78608" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="16393.8" LogicalOp="Delete" NodeId="0" Parallel="false" PhysicalOp="Clustered Index Delete" EstimatedTotalSubtreeCost="5.23118">
              <OutputList />
              <RunTimeInformation>
                <RunTimeCountersPerThread Thread="0" ActualRows="17921" ActualEndOfScans="1" ActualExecutions="1" />
              </RunTimeInformation>
              <Update WithOrderedPrefetch="true" DMLRequestSort="true">
                <Object Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentSoftlink]" Index="[PK_tblContentSoftlink]" IndexKind="Clustered" />
                <Object Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentSoftlink]" Index="[IDX_tblContentSoftlink_fkContentID]" IndexKind="NonClustered" />
                <Object Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentSoftlink]" Index="[IDX_tblContentSoftlink_fkReferencedContentGUID]" IndexKind="NonClustered" />
                <RelOp AvgRowSize="11" EstimateCPU="0.00163938" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="16393.8" LogicalOp="Top" NodeId="2" Parallel="false" PhysicalOp="Top" EstimatedTotalSubtreeCost="1.39592">
                  <OutputList>
                    <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentSoftlink]" Column="pkID" />
                  </OutputList>
                  <RunTimeInformation>
                    <RunTimeCountersPerThread Thread="0" ActualRows="17921" ActualEndOfScans="1" ActualExecutions="1" />
                  </RunTimeInformation>
                  <Top RowCount="true" IsPercent="false" WithTies="false">
                    <TopExpression>
                      <ScalarOperator ScalarString="(0)">
                        <Const ConstValue="(0)" />
                      </ScalarOperator>
                    </TopExpression>
                    <RelOp AvgRowSize="11" EstimateCPU="0.125818" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="16392.4" LogicalOp="Gather Streams" NodeId="4" Parallel="true" PhysicalOp="Parallelism" EstimatedTotalSubtreeCost="1.39428">
                      <OutputList>
                        <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentSoftlink]" Column="pkID" />
                      </OutputList>
                      <RunTimeInformation>
                        <RunTimeCountersPerThread Thread="0" ActualRows="17921" ActualEndOfScans="1" ActualExecutions="1" />
                      </RunTimeInformation>
                      <Parallelism>
                        <OrderBy>
                          <OrderByColumn Ascending="true">
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentSoftlink]" Column="pkID" />
                          </OrderByColumn>
                        </OrderBy>
                        <RelOp AvgRowSize="11" EstimateCPU="0.526767" EstimateIO="0.00563063" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="16392.4" LogicalOp="Sort" NodeId="5" Parallel="true" PhysicalOp="Sort" EstimatedTotalSubtreeCost="1.26846">
                          <OutputList>
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentSoftlink]" Column="pkID" />
                          </OutputList>
                          <MemoryFractions Input="0.392453" Output="1" />
                          <RunTimeInformation>
                            <RunTimeCountersPerThread Thread="4" ActualRebinds="1" ActualRewinds="0" ActualRows="4636" ActualEndOfScans="1" ActualExecutions="1" />
                            <RunTimeCountersPerThread Thread="2" ActualRebinds="1" ActualRewinds="0" ActualRows="4490" ActualEndOfScans="1" ActualExecutions="1" />
                            <RunTimeCountersPerThread Thread="3" ActualRebinds="1" ActualRewinds="0" ActualRows="4550" ActualEndOfScans="1" ActualExecutions="1" />
                            <RunTimeCountersPerThread Thread="1" ActualRebinds="1" ActualRewinds="0" ActualRows="4245" ActualEndOfScans="1" ActualExecutions="1" />
                            <RunTimeCountersPerThread Thread="0" ActualRebinds="0" ActualRewinds="0" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0" />
                          </RunTimeInformation>
                          <Sort Distinct="false">
                            <OrderBy>
                              <OrderByColumn Ascending="true">
                                <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentSoftlink]" Column="pkID" />
                              </OrderByColumn>
                            </OrderBy>
                            <RelOp AvgRowSize="11" EstimateCPU="0.276895" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="16392.4" LogicalOp="Inner Join" NodeId="6" Parallel="true" PhysicalOp="Hash Match" EstimatedTotalSubtreeCost="0.736063">
                              <OutputList>
                                <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentSoftlink]" Column="pkID" />
                              </OutputList>
                              <MemoryFractions Input="1" Output="0.607547" />
                              <RunTimeInformation>
                                <RunTimeCountersPerThread Thread="4" ActualRows="4636" ActualEndOfScans="1" ActualExecutions="1" />
                                <RunTimeCountersPerThread Thread="2" ActualRows="4490" ActualEndOfScans="1" ActualExecutions="1" />
                                <RunTimeCountersPerThread Thread="3" ActualRows="4550" ActualEndOfScans="1" ActualExecutions="1" />
                                <RunTimeCountersPerThread Thread="1" ActualRows="4245" ActualEndOfScans="1" ActualExecutions="1" />
                                <RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0" />
                              </RunTimeInformation>
                              <Hash>
                                <DefinedValues />
                                <HashKeysBuild>
                                  <ColumnReference Database="[tempdb]" Schema="[dbo]" Table="[#pages]" Column="pkID" />
                                </HashKeysBuild>
                                <HashKeysProbe>
                                  <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentSoftlink]" Column="fkOwnerContentID" />
                                </HashKeysProbe>
                                <RelOp AvgRowSize="11" EstimateCPU="0.0378094" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="7770" LogicalOp="Bitmap Create" NodeId="7" Parallel="true" PhysicalOp="Bitmap" EstimatedTotalSubtreeCost="0.0652864">
                                  <OutputList>
                                    <ColumnReference Database="[tempdb]" Schema="[dbo]" Table="[#pages]" Column="pkID" />
                                  </OutputList>
                                  <RunTimeInformation>
                                    <RunTimeCountersPerThread Thread="4" ActualRows="1929" ActualEndOfScans="1" ActualExecutions="1" />
                                    <RunTimeCountersPerThread Thread="2" ActualRows="1950" ActualEndOfScans="1" ActualExecutions="1" />
                                    <RunTimeCountersPerThread Thread="3" ActualRows="1950" ActualEndOfScans="1" ActualExecutions="1" />
                                    <RunTimeCountersPerThread Thread="1" ActualRows="1941" ActualEndOfScans="1" ActualExecutions="1" />
                                    <RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0" />
                                  </RunTimeInformation>
                                  <Bitmap>
                                    <DefinedValues>
                                      <DefinedValue>
                                        <ColumnReference Column="Bitmap1009" />
                                      </DefinedValue>
                                    </DefinedValues>
                                    <HashKeys>
                                      <ColumnReference Database="[tempdb]" Schema="[dbo]" Table="[#pages]" Column="pkID" />
                                    </HashKeys>
                                    <RelOp AvgRowSize="11" EstimateCPU="0.0378094" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="7770" LogicalOp="Repartition Streams" NodeId="8" Parallel="true" PhysicalOp="Parallelism" EstimatedTotalSubtreeCost="0.0652864">
                                      <OutputList>
                                        <ColumnReference Database="[tempdb]" Schema="[dbo]" Table="[#pages]" Column="pkID" />
                                      </OutputList>
                                      <RunTimeInformation>
                                        <RunTimeCountersPerThread Thread="4" ActualRows="1929" ActualEndOfScans="1" ActualExecutions="1" />
                                        <RunTimeCountersPerThread Thread="2" ActualRows="1950" ActualEndOfScans="1" ActualExecutions="1" />
                                        <RunTimeCountersPerThread Thread="3" ActualRows="1950" ActualEndOfScans="1" ActualExecutions="1" />
                                        <RunTimeCountersPerThread Thread="1" ActualRows="1941" ActualEndOfScans="1" ActualExecutions="1" />
                                        <RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0" />
                                      </RunTimeInformation>
                                      <Parallelism PartitioningType="Hash">
                                        <PartitionColumns>
                                          <ColumnReference Database="[tempdb]" Schema="[dbo]" Table="[#pages]" Column="pkID" />
                                        </PartitionColumns>
                                        <RelOp AvgRowSize="11" EstimateCPU="0.004352" EstimateIO="0.023125" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="7770" LogicalOp="Clustered Index Scan" NodeId="9" Parallel="true" PhysicalOp="Clustered Index Scan" EstimatedTotalSubtreeCost="0.027477" TableCardinality="7770">
                                          <OutputList>
                                            <ColumnReference Database="[tempdb]" Schema="[dbo]" Table="[#pages]" Column="pkID" />
                                          </OutputList>
                                          <RunTimeInformation>
                                            <RunTimeCountersPerThread Thread="4" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1" />
                                            <RunTimeCountersPerThread Thread="2" ActualRows="1910" ActualEndOfScans="1" ActualExecutions="1" />
                                            <RunTimeCountersPerThread Thread="1" ActualRows="3069" ActualEndOfScans="1" ActualExecutions="1" />
                                            <RunTimeCountersPerThread Thread="3" ActualRows="2791" ActualEndOfScans="1" ActualExecutions="1" />
                                            <RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0" />
                                          </RunTimeInformation>
                                          <IndexScan Ordered="false" ForcedIndex="false" NoExpandHint="false">
                                            <DefinedValues>
                                              <DefinedValue>
                                                <ColumnReference Database="[tempdb]" Schema="[dbo]" Table="[#pages]" Column="pkID" />
                                              </DefinedValue>
                                            </DefinedValues>
                                            <Object Database="[tempdb]" Schema="[dbo]" Table="[#pages]" Index="[PK__#pages____40A359E36921665A]" IndexKind="Clustered" />
                                          </IndexScan>
                                        </RelOp>
                                      </Parallelism>
                                    </RelOp>
                                  </Bitmap>
                                </RelOp>
                                <RelOp AvgRowSize="15" EstimateCPU="0.17237" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="91194" LogicalOp="Repartition Streams" NodeId="10" Parallel="true" PhysicalOp="Parallelism" EstimatedTotalSubtreeCost="0.393878">
                                  <OutputList>
                                    <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentSoftlink]" Column="pkID" />
                                    <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentSoftlink]" Column="fkOwnerContentID" />
                                  </OutputList>
                                  <RunTimeInformation>
                                    <RunTimeCountersPerThread Thread="4" ActualRows="13842" ActualEndOfScans="1" ActualExecutions="1" />
                                    <RunTimeCountersPerThread Thread="2" ActualRows="13284" ActualEndOfScans="1" ActualExecutions="1" />
                                    <RunTimeCountersPerThread Thread="3" ActualRows="13128" ActualEndOfScans="1" ActualExecutions="1" />
                                    <RunTimeCountersPerThread Thread="1" ActualRows="13856" ActualEndOfScans="1" ActualExecutions="1" />
                                    <RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0" />
                                  </RunTimeInformation>
                                  <Parallelism PartitioningType="Hash">
                                    <PartitionColumns>
                                      <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentSoftlink]" Column="fkOwnerContentID" />
                                    </PartitionColumns>
                                    <RelOp AvgRowSize="15" EstimateCPU="0.0502352" EstimateIO="0.171273" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="91194" LogicalOp="Index Scan" NodeId="11" Parallel="true" PhysicalOp="Index Scan" EstimatedTotalSubtreeCost="0.221508" TableCardinality="91194">
                                      <OutputList>
                                        <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentSoftlink]" Column="pkID" />
                                        <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentSoftlink]" Column="fkOwnerContentID" />
                                      </OutputList>
                                      <RunTimeInformation>
                                        <RunTimeCountersPerThread Thread="4" ActualRows="2177" ActualEndOfScans="1" ActualExecutions="1" />
                                        <RunTimeCountersPerThread Thread="2" ActualRows="2723" ActualEndOfScans="1" ActualExecutions="1" />
                                        <RunTimeCountersPerThread Thread="3" ActualRows="25065" ActualEndOfScans="1" ActualExecutions="1" />
                                        <RunTimeCountersPerThread Thread="1" ActualRows="24145" ActualEndOfScans="1" ActualExecutions="1" />
                                        <RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0" />
                                      </RunTimeInformation>
                                      <IndexScan Ordered="true" ScanDirection="FORWARD" ForcedIndex="false" ForceSeek="false" NoExpandHint="false">
                                        <DefinedValues>
                                          <DefinedValue>
                                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentSoftlink]" Column="pkID" />
                                          </DefinedValue>
                                          <DefinedValue>
                                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentSoftlink]" Column="fkOwnerContentID" />
                                          </DefinedValue>
                                        </DefinedValues>
                                        <Object Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentSoftlink]" Index="[IDX_tblContentSoftlink_fkContentID]" IndexKind="NonClustered" />
                                        <Predicate>
                                          <ScalarOperator ScalarString="PROBE([Bitmap1009],[PhoenixCMS_RC].[dbo].[tblContentSoftlink].[fkOwnerContentID],N'[IN ROW]')">
                                            <Intrinsic FunctionName="PROBE">
                                              <ScalarOperator>
                                                <Identifier>
                                                  <ColumnReference Column="Bitmap1009" />
                                                </Identifier>
                                              </ScalarOperator>
                                              <ScalarOperator>
                                                <Identifier>
                                                  <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentSoftlink]" Column="fkOwnerContentID" />
                                                </Identifier>
                                              </ScalarOperator>
                                              <ScalarOperator>
                                                <Const ConstValue="N'[IN ROW]'" />
                                              </ScalarOperator>
                                            </Intrinsic>
                                          </ScalarOperator>
                                        </Predicate>
                                      </IndexScan>
                                    </RelOp>
                                  </Parallelism>
                                </RelOp>
                              </Hash>
                            </RelOp>
                          </Sort>
                        </RelOp>
                      </Parallelism>
                    </RelOp>
                  </Top>
                </RelOp>
              </Update>
            </RelOp>
          </QueryPlan>
        </StmtSimple>
      </Statements>
    </Batch>
    <Batch>
      <Statements>
        <StmtSimple StatementCompId="35" StatementEstRows="1" StatementId="19" StatementOptmLevel="FULL" StatementOptmEarlyAbortReason="GoodEnoughPlanFound" StatementSubTreeCost="0.0165716" StatementText="UPDATE 
	    tblPageTypeDefault 
	SET 
	    fkArchivePageID=NULL 
	WHERE fkArchivePageID IN (SELECT pkID FROM #pages)
-- PAGE/TREE
" StatementType="UPDATE" QueryHash="0xE7F61518194491AC" QueryPlanHash="0x54FDC1D2A0A63E15">
          <StatementSetOptions ANSI_NULLS="true" ANSI_PADDING="true" ANSI_WARNINGS="true" ARITHABORT="true" CONCAT_NULL_YIELDS_NULL="true" NUMERIC_ROUNDABORT="false" QUOTED_IDENTIFIER="true" />
          <QueryPlan DegreeOfParallelism="1" CachedPlanSize="24" CompileTime="10" CompileCPU="10" CompileMemory="608">
            <RelOp AvgRowSize="9" EstimateCPU="1E-06" EstimateIO="0.01" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="1" LogicalOp="Update" NodeId="0" Parallel="false" PhysicalOp="Clustered Index Update" EstimatedTotalSubtreeCost="0.0165716">
              <OutputList />
              <RunTimeInformation>
                <RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1" />
              </RunTimeInformation>
              <Update DMLRequestSort="false">
                <Object Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentTypeDefault]" Index="[PK_tblContentTypeDefault]" IndexKind="Clustered" />
                <SetPredicate>
                  <ScalarOperator ScalarString="[PhoenixCMS_RC].[dbo].[tblContentTypeDefault].[fkArchiveContentID] = [Expr1006]">
                    <ScalarExpressionList>
                      <ScalarOperator>
                        <MultipleAssign>
                          <Assign>
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentTypeDefault]" Column="fkArchiveContentID" />
                            <ScalarOperator>
                              <Identifier>
                                <ColumnReference Column="Expr1006" />
                              </Identifier>
                            </ScalarOperator>
                          </Assign>
                        </MultipleAssign>
                      </ScalarOperator>
                    </ScalarExpressionList>
                  </ScalarOperator>
                </SetPredicate>
                <RelOp AvgRowSize="15" EstimateCPU="1E-07" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="1" LogicalOp="Compute Scalar" NodeId="1" Parallel="false" PhysicalOp="Compute Scalar" EstimatedTotalSubtreeCost="0.00657058">
                  <OutputList>
                    <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentTypeDefault]" Column="pkID" />
                    <ColumnReference Column="Expr1006" />
                  </OutputList>
                  <ComputeScalar>
                    <DefinedValues>
                      <DefinedValue>
                        <ColumnReference Column="Expr1006" />
                        <ScalarOperator ScalarString="NULL">
                          <Const ConstValue="NULL" />
                        </ScalarOperator>
                      </DefinedValue>
                    </DefinedValues>
                    <RelOp AvgRowSize="11" EstimateCPU="1E-07" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="1" LogicalOp="Top" NodeId="2" Parallel="false" PhysicalOp="Top" EstimatedTotalSubtreeCost="0.00657048">
                      <OutputList>
                        <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentTypeDefault]" Column="pkID" />
                      </OutputList>
                      <RunTimeInformation>
                        <RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1" />
                      </RunTimeInformation>
                      <Top RowCount="true" IsPercent="false" WithTies="false">
                        <TopExpression>
                          <ScalarOperator ScalarString="(0)">
                            <Const ConstValue="(0)" />
                          </ScalarOperator>
                        </TopExpression>
                        <RelOp AvgRowSize="11" EstimateCPU="4.18E-06" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="1" LogicalOp="Inner Join" NodeId="4" Parallel="false" PhysicalOp="Nested Loops" EstimatedTotalSubtreeCost="0.00657038">
                          <OutputList>
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentTypeDefault]" Column="pkID" />
                          </OutputList>
                          <RunTimeInformation>
                            <RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1" />
                          </RunTimeInformation>
                          <NestedLoops Optimized="false">
                            <OuterReferences>
                              <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentTypeDefault]" Column="fkArchiveContentID" />
                            </OuterReferences>
                            <RelOp AvgRowSize="15" EstimateCPU="0.0001581" EstimateIO="0.003125" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="1" LogicalOp="Clustered Index Scan" NodeId="5" Parallel="false" PhysicalOp="Clustered Index Scan" EstimatedTotalSubtreeCost="0.0032831" TableCardinality="0">
                              <OutputList>
                                <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentTypeDefault]" Column="pkID" />
                                <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentTypeDefault]" Column="fkArchiveContentID" />
                              </OutputList>
                              <RunTimeInformation>
                                <RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1" />
                              </RunTimeInformation>
                              <IndexScan Ordered="true" ForcedIndex="false" NoExpandHint="false">
                                <DefinedValues>
                                  <DefinedValue>
                                    <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentTypeDefault]" Column="pkID" />
                                  </DefinedValue>
                                  <DefinedValue>
                                    <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentTypeDefault]" Column="fkArchiveContentID" />
                                  </DefinedValue>
                                </DefinedValues>
                                <Object Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentTypeDefault]" Index="[PK_tblContentTypeDefault]" IndexKind="Clustered" />
                              </IndexScan>
                            </RelOp>
                            <RelOp AvgRowSize="9" EstimateCPU="0.0001581" EstimateIO="0.003125" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="1" LogicalOp="Clustered Index Seek" NodeId="6" Parallel="false" PhysicalOp="Clustered Index Seek" EstimatedTotalSubtreeCost="0.0032831" TableCardinality="7770">
                              <OutputList />
                              <RunTimeInformation>
                                <RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0" />
                              </RunTimeInformation>
                              <IndexScan Ordered="true" ScanDirection="FORWARD" ForcedIndex="false" ForceSeek="false" NoExpandHint="false">
                                <DefinedValues />
                                <Object Database="[tempdb]" Schema="[dbo]" Table="[#pages]" Index="[PK__#pages____40A359E36921665A]" IndexKind="Clustered" />
                                <SeekPredicates>
                                  <SeekPredicateNew>
                                    <SeekKeys>
                                      <Prefix ScanType="EQ">
                                        <RangeColumns>
                                          <ColumnReference Database="[tempdb]" Schema="[dbo]" Table="[#pages]" Column="pkID" />
                                        </RangeColumns>
                                        <RangeExpressions>
                                          <ScalarOperator ScalarString="[PhoenixCMS_RC].[dbo].[tblContentTypeDefault].[fkArchiveContentID]">
                                            <Identifier>
                                              <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentTypeDefault]" Column="fkArchiveContentID" />
                                            </Identifier>
                                          </ScalarOperator>
                                        </RangeExpressions>
                                      </Prefix>
                                    </SeekKeys>
                                  </SeekPredicateNew>
                                </SeekPredicates>
                              </IndexScan>
                            </RelOp>
                          </NestedLoops>
                        </RelOp>
                      </Top>
                    </RelOp>
                  </ComputeScalar>
                </RelOp>
              </Update>
            </RelOp>
          </QueryPlan>
        </StmtSimple>
      </Statements>
    </Batch>
    <Batch>
      <Statements>
        <StmtSimple StatementCompId="36" StatementEstRows="34481.9" StatementId="20" StatementOptmLevel="FULL" StatementSubTreeCost="5.92022" StatementText="DELETE FROM 
	    tblTree 
	WHERE 
	    fkChildID IN ( SELECT pkID FROM #pages )
" StatementType="DELETE" QueryHash="0x21C0D9B221C97BB5" QueryPlanHash="0xD624C13CCB1C19A4">
          <StatementSetOptions ANSI_NULLS="true" ANSI_PADDING="true" ANSI_WARNINGS="true" ARITHABORT="true" CONCAT_NULL_YIELDS_NULL="true" NUMERIC_ROUNDABORT="false" QUOTED_IDENTIFIER="true" />
          <QueryPlan DegreeOfParallelism="4" MemoryGrant="13856" CachedPlanSize="48" CompileTime="41" CompileCPU="41" CompileMemory="624">
            <RelOp AvgRowSize="9" EstimateCPU="0.0689637" EstimateIO="1.29656" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="34481.9" LogicalOp="Delete" NodeId="0" Parallel="false" PhysicalOp="Clustered Index Delete" EstimatedTotalSubtreeCost="5.92022">
              <OutputList />
              <RunTimeInformation>
                <RunTimeCountersPerThread Thread="0" ActualRows="49880" ActualEndOfScans="1" ActualExecutions="1" />
              </RunTimeInformation>
              <Update WithOrderedPrefetch="true" DMLRequestSort="true">
                <Object Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblTree]" Index="[PK_tblTree]" IndexKind="Clustered" />
                <Object Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblTree]" Index="[IDX_tblTree_fkChildID]" IndexKind="NonClustered" />
                <RelOp AvgRowSize="15" EstimateCPU="0.00344819" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="34481.9" LogicalOp="Top" NodeId="2" Parallel="false" PhysicalOp="Top" EstimatedTotalSubtreeCost="4.5547">
                  <OutputList>
                    <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblTree]" Column="fkParentID" />
                    <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblTree]" Column="fkChildID" />
                  </OutputList>
                  <RunTimeInformation>
                    <RunTimeCountersPerThread Thread="0" ActualRows="49880" ActualEndOfScans="1" ActualExecutions="1" />
                  </RunTimeInformation>
                  <Top RowCount="true" IsPercent="false" WithTies="false">
                    <TopExpression>
                      <ScalarOperator ScalarString="(0)">
                        <Const ConstValue="(0)" />
                      </ScalarOperator>
                    </TopExpression>
                    <RelOp AvgRowSize="15" EstimateCPU="0.246296" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="34481.9" LogicalOp="Gather Streams" NodeId="3" Parallel="true" PhysicalOp="Parallelism" EstimatedTotalSubtreeCost="4.55125">
                      <OutputList>
                        <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblTree]" Column="fkParentID" />
                        <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblTree]" Column="fkChildID" />
                      </OutputList>
                      <RunTimeInformation>
                        <RunTimeCountersPerThread Thread="0" ActualRows="49880" ActualEndOfScans="1" ActualExecutions="1" />
                      </RunTimeInformation>
                      <Parallelism>
                        <OrderBy>
                          <OrderByColumn Ascending="true">
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblTree]" Column="fkParentID" />
                          </OrderByColumn>
                          <OrderByColumn Ascending="true">
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblTree]" Column="fkChildID" />
                          </OrderByColumn>
                        </OrderBy>
                        <RelOp AvgRowSize="15" EstimateCPU="1.19291" EstimateIO="0.00563063" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="34481.9" LogicalOp="Sort" NodeId="4" Parallel="true" PhysicalOp="Sort" EstimatedTotalSubtreeCost="4.30496">
                          <OutputList>
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblTree]" Column="fkParentID" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblTree]" Column="fkChildID" />
                          </OutputList>
                          <MemoryFractions Input="0.429752" Output="1" />
                          <RunTimeInformation>
                            <RunTimeCountersPerThread Thread="1" ActualRebinds="1" ActualRewinds="0" ActualRows="12448" ActualEndOfScans="1" ActualExecutions="1" />
                            <RunTimeCountersPerThread Thread="3" ActualRebinds="1" ActualRewinds="0" ActualRows="12526" ActualEndOfScans="1" ActualExecutions="1" />
                            <RunTimeCountersPerThread Thread="2" ActualRebinds="1" ActualRewinds="0" ActualRows="12528" ActualEndOfScans="1" ActualExecutions="1" />
                            <RunTimeCountersPerThread Thread="4" ActualRebinds="1" ActualRewinds="0" ActualRows="12378" ActualEndOfScans="1" ActualExecutions="1" />
                            <RunTimeCountersPerThread Thread="0" ActualRebinds="0" ActualRewinds="0" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0" />
                          </RunTimeInformation>
                          <Sort Distinct="false">
                            <OrderBy>
                              <OrderByColumn Ascending="true">
                                <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblTree]" Column="fkParentID" />
                              </OrderByColumn>
                              <OrderByColumn Ascending="true">
                                <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblTree]" Column="fkChildID" />
                              </OrderByColumn>
                            </OrderBy>
                            <RelOp AvgRowSize="15" EstimateCPU="1.23836" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="34481.9" LogicalOp="Inner Join" NodeId="6" Parallel="true" PhysicalOp="Hash Match" EstimatedTotalSubtreeCost="3.10642">
                              <OutputList>
                                <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblTree]" Column="fkParentID" />
                                <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblTree]" Column="fkChildID" />
                              </OutputList>
                              <MemoryFractions Input="1" Output="0.570248" />
                              <RunTimeInformation>
                                <RunTimeCountersPerThread Thread="3" ActualRows="12526" ActualEndOfScans="1" ActualExecutions="1" />
                                <RunTimeCountersPerThread Thread="1" ActualRows="12448" ActualEndOfScans="1" ActualExecutions="1" />
                                <RunTimeCountersPerThread Thread="2" ActualRows="12528" ActualEndOfScans="1" ActualExecutions="1" />
                                <RunTimeCountersPerThread Thread="4" ActualRows="12378" ActualEndOfScans="1" ActualExecutions="1" />
                                <RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0" />
                              </RunTimeInformation>
                              <Hash>
                                <DefinedValues />
                                <HashKeysBuild>
                                  <ColumnReference Database="[tempdb]" Schema="[dbo]" Table="[#pages]" Column="pkID" />
                                </HashKeysBuild>
                                <HashKeysProbe>
                                  <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblTree]" Column="fkChildID" />
                                </HashKeysProbe>
                                <RelOp AvgRowSize="11" EstimateCPU="0.0378094" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="7770" LogicalOp="Bitmap Create" NodeId="7" Parallel="true" PhysicalOp="Bitmap" EstimatedTotalSubtreeCost="0.0652864">
                                  <OutputList>
                                    <ColumnReference Database="[tempdb]" Schema="[dbo]" Table="[#pages]" Column="pkID" />
                                  </OutputList>
                                  <RunTimeInformation>
                                    <RunTimeCountersPerThread Thread="3" ActualRows="1950" ActualEndOfScans="1" ActualExecutions="1" />
                                    <RunTimeCountersPerThread Thread="1" ActualRows="1941" ActualEndOfScans="1" ActualExecutions="1" />
                                    <RunTimeCountersPerThread Thread="2" ActualRows="1950" ActualEndOfScans="1" ActualExecutions="1" />
                                    <RunTimeCountersPerThread Thread="4" ActualRows="1929" ActualEndOfScans="1" ActualExecutions="1" />
                                    <RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0" />
                                  </RunTimeInformation>
                                  <Bitmap>
                                    <DefinedValues>
                                      <DefinedValue>
                                        <ColumnReference Column="Bitmap1009" />
                                      </DefinedValue>
                                    </DefinedValues>
                                    <HashKeys>
                                      <ColumnReference Database="[tempdb]" Schema="[dbo]" Table="[#pages]" Column="pkID" />
                                    </HashKeys>
                                    <RelOp AvgRowSize="11" EstimateCPU="0.0378094" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="7770" LogicalOp="Repartition Streams" NodeId="8" Parallel="true" PhysicalOp="Parallelism" EstimatedTotalSubtreeCost="0.0652864">
                                      <OutputList>
                                        <ColumnReference Database="[tempdb]" Schema="[dbo]" Table="[#pages]" Column="pkID" />
                                      </OutputList>
                                      <RunTimeInformation>
                                        <RunTimeCountersPerThread Thread="3" ActualRows="1950" ActualEndOfScans="1" ActualExecutions="1" />
                                        <RunTimeCountersPerThread Thread="1" ActualRows="1941" ActualEndOfScans="1" ActualExecutions="1" />
                                        <RunTimeCountersPerThread Thread="2" ActualRows="1950" ActualEndOfScans="1" ActualExecutions="1" />
                                        <RunTimeCountersPerThread Thread="4" ActualRows="1929" ActualEndOfScans="1" ActualExecutions="1" />
                                        <RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0" />
                                      </RunTimeInformation>
                                      <Parallelism PartitioningType="Hash">
                                        <PartitionColumns>
                                          <ColumnReference Database="[tempdb]" Schema="[dbo]" Table="[#pages]" Column="pkID" />
                                        </PartitionColumns>
                                        <RelOp AvgRowSize="11" EstimateCPU="0.004352" EstimateIO="0.023125" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="7770" LogicalOp="Clustered Index Scan" NodeId="9" Parallel="true" PhysicalOp="Clustered Index Scan" EstimatedTotalSubtreeCost="0.027477" TableCardinality="7770">
                                          <OutputList>
                                            <ColumnReference Database="[tempdb]" Schema="[dbo]" Table="[#pages]" Column="pkID" />
                                          </OutputList>
                                          <RunTimeInformation>
                                            <RunTimeCountersPerThread Thread="3" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1" />
                                            <RunTimeCountersPerThread Thread="2" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1" />
                                            <RunTimeCountersPerThread Thread="4" ActualRows="5023" ActualEndOfScans="1" ActualExecutions="1" />
                                            <RunTimeCountersPerThread Thread="1" ActualRows="2747" ActualEndOfScans="1" ActualExecutions="1" />
                                            <RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0" />
                                          </RunTimeInformation>
                                          <IndexScan Ordered="false" ForcedIndex="false" NoExpandHint="false">
                                            <DefinedValues>
                                              <DefinedValue>
                                                <ColumnReference Database="[tempdb]" Schema="[dbo]" Table="[#pages]" Column="pkID" />
                                              </DefinedValue>
                                            </DefinedValues>
                                            <Object Database="[tempdb]" Schema="[dbo]" Table="[#pages]" Index="[PK__#pages____40A359E36921665A]" IndexKind="Clustered" />
                                          </IndexScan>
                                        </RelOp>
                                      </Parallelism>
                                    </RelOp>
                                  </Bitmap>
                                </RelOp>
                                <RelOp AvgRowSize="15" EstimateCPU="0.825983" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="505496" LogicalOp="Repartition Streams" NodeId="10" Parallel="true" PhysicalOp="Parallelism" EstimatedTotalSubtreeCost="1.80276">
                                  <OutputList>
                                    <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblTree]" Column="fkParentID" />
                                    <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblTree]" Column="fkChildID" />
                                  </OutputList>
                                  <RunTimeInformation>
                                    <RunTimeCountersPerThread Thread="3" ActualRows="31229" ActualEndOfScans="1" ActualExecutions="1" />
                                    <RunTimeCountersPerThread Thread="1" ActualRows="31207" ActualEndOfScans="1" ActualExecutions="1" />
                                    <RunTimeCountersPerThread Thread="2" ActualRows="31206" ActualEndOfScans="1" ActualExecutions="1" />
                                    <RunTimeCountersPerThread Thread="4" ActualRows="31091" ActualEndOfScans="1" ActualExecutions="1" />
                                    <RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0" />
                                  </RunTimeInformation>
                                  <Parallelism PartitioningType="Hash">
                                    <PartitionColumns>
                                      <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblTree]" Column="fkChildID" />
                                    </PartitionColumns>
                                    <RelOp AvgRowSize="15" EstimateCPU="0.278101" EstimateIO="0.698681" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="505496" LogicalOp="Index Scan" NodeId="11" Parallel="true" PhysicalOp="Index Scan" EstimatedTotalSubtreeCost="0.976782" TableCardinality="505496">
                                      <OutputList>
                                        <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblTree]" Column="fkParentID" />
                                        <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblTree]" Column="fkChildID" />
                                      </OutputList>
                                      <RunTimeInformation>
                                        <RunTimeCountersPerThread Thread="3" ActualRows="27873" ActualEndOfScans="1" ActualExecutions="1" />
                                        <RunTimeCountersPerThread Thread="2" ActualRows="48289" ActualEndOfScans="1" ActualExecutions="1" />
                                        <RunTimeCountersPerThread Thread="4" ActualRows="38124" ActualEndOfScans="1" ActualExecutions="1" />
                                        <RunTimeCountersPerThread Thread="1" ActualRows="10447" ActualEndOfScans="1" ActualExecutions="1" />
                                        <RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0" />
                                      </RunTimeInformation>
                                      <IndexScan Ordered="true" ScanDirection="FORWARD" ForcedIndex="false" ForceSeek="false" NoExpandHint="false">
                                        <DefinedValues>
                                          <DefinedValue>
                                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblTree]" Column="fkParentID" />
                                          </DefinedValue>
                                          <DefinedValue>
                                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblTree]" Column="fkChildID" />
                                          </DefinedValue>
                                        </DefinedValues>
                                        <Object Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblTree]" Index="[IDX_tblTree_fkChildID]" IndexKind="NonClustered" />
                                        <Predicate>
                                          <ScalarOperator ScalarString="PROBE([Bitmap1009],[PhoenixCMS_RC].[dbo].[tblTree].[fkChildID],N'[IN ROW]')">
                                            <Intrinsic FunctionName="PROBE">
                                              <ScalarOperator>
                                                <Identifier>
                                                  <ColumnReference Column="Bitmap1009" />
                                                </Identifier>
                                              </ScalarOperator>
                                              <ScalarOperator>
                                                <Identifier>
                                                  <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblTree]" Column="fkChildID" />
                                                </Identifier>
                                              </ScalarOperator>
                                              <ScalarOperator>
                                                <Const ConstValue="N'[IN ROW]'" />
                                              </ScalarOperator>
                                            </Intrinsic>
                                          </ScalarOperator>
                                        </Predicate>
                                      </IndexScan>
                                    </RelOp>
                                  </Parallelism>
                                </RelOp>
                              </Hash>
                            </RelOp>
                          </Sort>
                        </RelOp>
                      </Parallelism>
                    </RelOp>
                  </Top>
                </RelOp>
              </Update>
            </RelOp>
          </QueryPlan>
        </StmtSimple>
      </Statements>
    </Batch>
    <Batch>
      <Statements>
        <StmtSimple StatementCompId="37" StatementEstRows="43824.6" StatementId="21" StatementOptmLevel="FULL" StatementSubTreeCost="6.79206" StatementText="DELETE FROM 
	    tblTree 
	WHERE 
	    fkParentID IN ( SELECT pkID FROM #pages )
" StatementType="DELETE" QueryHash="0x9D098B1EDA128246" QueryPlanHash="0x01C765721658E748">
          <StatementSetOptions ANSI_NULLS="true" ANSI_PADDING="true" ANSI_WARNINGS="true" ARITHABORT="true" CONCAT_NULL_YIELDS_NULL="true" NUMERIC_ROUNDABORT="false" QUOTED_IDENTIFIER="true" />
          <QueryPlan DegreeOfParallelism="1" CachedPlanSize="24" CompileTime="49" CompileCPU="49" CompileMemory="656">
            <RelOp AvgRowSize="9" EstimateCPU="0.0876493" EstimateIO="1.6461" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="43824.6" LogicalOp="Delete" NodeId="0" Parallel="false" PhysicalOp="Clustered Index Delete" EstimatedTotalSubtreeCost="6.79206">
              <OutputList />
              <RunTimeInformation>
                <RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1" />
              </RunTimeInformation>
              <Update DMLRequestSort="true">
                <Object Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblTree]" Index="[PK_tblTree]" IndexKind="Clustered" />
                <Object Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblTree]" Index="[IDX_tblTree_fkChildID]" IndexKind="NonClustered" />
                <RelOp AvgRowSize="15" EstimateCPU="0.00438246" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="43824.6" LogicalOp="Top" NodeId="1" Parallel="false" PhysicalOp="Top" EstimatedTotalSubtreeCost="5.05831">
                  <OutputList>
                    <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblTree]" Column="fkParentID" />
                    <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblTree]" Column="fkChildID" />
                  </OutputList>
                  <RunTimeInformation>
                    <RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1" />
                  </RunTimeInformation>
                  <Top RowCount="true" IsPercent="false" WithTies="false">
                    <TopExpression>
                      <ScalarOperator ScalarString="(0)">
                        <Const ConstValue="(0)" />
                      </ScalarOperator>
                    </TopExpression>
                    <RelOp AvgRowSize="15" EstimateCPU="0.183181" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="43823.3" LogicalOp="Inner Join" NodeId="3" Parallel="false" PhysicalOp="Nested Loops" EstimatedTotalSubtreeCost="5.05392">
                      <OutputList>
                        <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblTree]" Column="fkParentID" />
                        <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblTree]" Column="fkChildID" />
                      </OutputList>
                      <RunTimeInformation>
                        <RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1" />
                      </RunTimeInformation>
                      <NestedLoops Optimized="false" WithOrderedPrefetch="true">
                        <OuterReferences>
                          <ColumnReference Database="[tempdb]" Schema="[dbo]" Table="[#pages]" Column="pkID" />
                          <ColumnReference Column="Expr1009" />
                        </OuterReferences>
                        <RelOp AvgRowSize="11" EstimateCPU="0.008704" EstimateIO="0.023125" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="7770" LogicalOp="Clustered Index Scan" NodeId="5" Parallel="false" PhysicalOp="Clustered Index Scan" EstimatedTotalSubtreeCost="0.031829" TableCardinality="7770">
                          <OutputList>
                            <ColumnReference Database="[tempdb]" Schema="[dbo]" Table="[#pages]" Column="pkID" />
                          </OutputList>
                          <RunTimeInformation>
                            <RunTimeCountersPerThread Thread="0" ActualRows="7770" ActualEndOfScans="1" ActualExecutions="1" />
                          </RunTimeInformation>
                          <IndexScan Ordered="true" ScanDirection="FORWARD" ForcedIndex="false" ForceSeek="false" NoExpandHint="false">
                            <DefinedValues>
                              <DefinedValue>
                                <ColumnReference Database="[tempdb]" Schema="[dbo]" Table="[#pages]" Column="pkID" />
                              </DefinedValue>
                            </DefinedValues>
                            <Object Database="[tempdb]" Schema="[dbo]" Table="[#pages]" Index="[PK__#pages____40A359E36921665A]" IndexKind="Clustered" />
                          </IndexScan>
                        </RelOp>
                        <RelOp AvgRowSize="15" EstimateCPU="0.000163204" EstimateIO="0.003125" EstimateRebinds="7769" EstimateRewinds="0" EstimateRows="5.64006" LogicalOp="Clustered Index Seek" NodeId="6" Parallel="false" PhysicalOp="Clustered Index Seek" EstimatedTotalSubtreeCost="4.83891" TableCardinality="505496">
                          <OutputList>
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblTree]" Column="fkParentID" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblTree]" Column="fkChildID" />
                          </OutputList>
                          <RunTimeInformation>
                            <RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="7770" ActualExecutions="7770" />
                          </RunTimeInformation>
                          <IndexScan Ordered="true" ScanDirection="FORWARD" ForcedIndex="false" ForceSeek="false" NoExpandHint="false">
                            <DefinedValues>
                              <DefinedValue>
                                <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblTree]" Column="fkParentID" />
                              </DefinedValue>
                              <DefinedValue>
                                <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblTree]" Column="fkChildID" />
                              </DefinedValue>
                            </DefinedValues>
                            <Object Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblTree]" Index="[PK_tblTree]" IndexKind="Clustered" />
                            <SeekPredicates>
                              <SeekPredicateNew>
                                <SeekKeys>
                                  <Prefix ScanType="EQ">
                                    <RangeColumns>
                                      <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblTree]" Column="fkParentID" />
                                    </RangeColumns>
                                    <RangeExpressions>
                                      <ScalarOperator ScalarString="[tempdb].[dbo].[#pages].[pkID]">
                                        <Identifier>
                                          <ColumnReference Database="[tempdb]" Schema="[dbo]" Table="[#pages]" Column="pkID" />
                                        </Identifier>
                                      </ScalarOperator>
                                    </RangeExpressions>
                                  </Prefix>
                                </SeekKeys>
                              </SeekPredicateNew>
                            </SeekPredicates>
                          </IndexScan>
                        </RelOp>
                      </NestedLoops>
                    </RelOp>
                  </Top>
                </RelOp>
              </Update>
            </RelOp>
          </QueryPlan>
        </StmtSimple>
      </Statements>
    </Batch>
    <Batch>
      <Statements>
        <StmtSimple StatementCompId="38" StatementEstRows="6755.58" StatementId="22" StatementOptmLevel="FULL" StatementSubTreeCost="5.91238" StatementText="DELETE FROM 
	    tblPageLanguage 
	WHERE 
	    fkPageID IN ( SELECT pkID FROM #pages )
" StatementType="DELETE" QueryHash="0x6AB50C55313117D8" QueryPlanHash="0x9887642455DA3F05">
          <StatementSetOptions ANSI_NULLS="true" ANSI_PADDING="true" ANSI_WARNINGS="true" ARITHABORT="true" CONCAT_NULL_YIELDS_NULL="true" NUMERIC_ROUNDABORT="false" QUOTED_IDENTIFIER="true" />
          <QueryPlan DegreeOfParallelism="4" MemoryGrant="10048" CachedPlanSize="72" CompileTime="35" CompileCPU="35" CompileMemory="696">
            <RelOp AvgRowSize="9" EstimateCPU="0.00675558" EstimateIO="0.945085" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="6755.58" LogicalOp="Delete" NodeId="0" Parallel="false" PhysicalOp="Index Delete" EstimatedTotalSubtreeCost="5.91238">
              <OutputList />
              <RunTimeInformation>
                <RunTimeCountersPerThread Thread="0" ActualRows="7770" ActualEndOfScans="1" ActualExecutions="1" />
              </RunTimeInformation>
              <Update WithOrderedPrefetch="true" DMLRequestSort="true">
                <Object Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentLanguage]" Index="[IDX_tblContentLanguage_Name]" IndexKind="NonClustered" />
                <RelOp AvgRowSize="274" EstimateCPU="0.222728" EstimateIO="0.0112613" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="6755.58" LogicalOp="Sort" NodeId="2" Parallel="false" PhysicalOp="Sort" EstimatedTotalSubtreeCost="4.96054">
                  <OutputList>
                    <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentLanguage]" Column="fkContentID" />
                    <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentLanguage]" Column="fkLanguageBranchID" />
                    <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentLanguage]" Column="Name" />
                  </OutputList>
                  <MemoryFractions Input="0.846906" Output="1" />
                  <RunTimeInformation>
                    <RunTimeCountersPerThread Thread="0" ActualRebinds="1" ActualRewinds="0" ActualRows="7770" ActualEndOfScans="1" ActualExecutions="1" />
                  </RunTimeInformation>
                  <Sort Distinct="false">
                    <OrderBy>
                      <OrderByColumn Ascending="true">
                        <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentLanguage]" Column="Name" />
                      </OrderByColumn>
                      <OrderByColumn Ascending="true">
                        <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentLanguage]" Column="fkContentID" />
                      </OrderByColumn>
                      <OrderByColumn Ascending="true">
                        <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentLanguage]" Column="fkLanguageBranchID" />
                      </OrderByColumn>
                    </OrderBy>
                    <RelOp AvgRowSize="274" EstimateCPU="0.0270223" EstimateIO="3.93675" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="6755.58" LogicalOp="Delete" NodeId="3" Parallel="false" PhysicalOp="Clustered Index Delete" EstimatedTotalSubtreeCost="4.72655">
                      <OutputList>
                        <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentLanguage]" Column="fkContentID" />
                        <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentLanguage]" Column="fkLanguageBranchID" />
                        <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentLanguage]" Column="Name" />
                      </OutputList>
                      <RunTimeInformation>
                        <RunTimeCountersPerThread Thread="0" ActualRows="7770" ActualEndOfScans="1" ActualExecutions="1" />
                      </RunTimeInformation>
                      <Update WithOrderedPrefetch="true" DMLRequestSort="true">
                        <Object Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentLanguage]" Index="[PK_tblContentLanguage]" IndexKind="Clustered" />
                        <Object Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentLanguage]" Index="[IDX_tblContentLanguage_ContentGUID]" IndexKind="NonClustered" />
                        <Object Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentLanguage]" Index="[IDX_tblContentLanguage_ExternalURL]" IndexKind="NonClustered" />
                        <Object Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentLanguage]" Index="[IDX_tblContentLanguage_ContentLinkGUID]" IndexKind="NonClustered" />
                        <RelOp AvgRowSize="15" EstimateCPU="0.000675558" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="6755.58" LogicalOp="Top" NodeId="5" Parallel="false" PhysicalOp="Top" EstimatedTotalSubtreeCost="0.76278">
                          <OutputList>
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentLanguage]" Column="fkContentID" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentLanguage]" Column="fkLanguageBranchID" />
                          </OutputList>
                          <RunTimeInformation>
                            <RunTimeCountersPerThread Thread="0" ActualRows="7770" ActualEndOfScans="1" ActualExecutions="1" />
                          </RunTimeInformation>
                          <Top RowCount="true" IsPercent="false" WithTies="false">
                            <TopExpression>
                              <ScalarOperator ScalarString="(0)">
                                <Const ConstValue="(0)" />
                              </ScalarOperator>
                            </TopExpression>
                            <RelOp AvgRowSize="15" EstimateCPU="0.0711679" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="6755.26" LogicalOp="Gather Streams" NodeId="7" Parallel="true" PhysicalOp="Parallelism" EstimatedTotalSubtreeCost="0.762104">
                              <OutputList>
                                <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentLanguage]" Column="fkContentID" />
                                <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentLanguage]" Column="fkLanguageBranchID" />
                              </OutputList>
                              <RunTimeInformation>
                                <RunTimeCountersPerThread Thread="0" ActualRows="7770" ActualEndOfScans="1" ActualExecutions="1" />
                              </RunTimeInformation>
                              <Parallelism>
                                <OrderBy>
                                  <OrderByColumn Ascending="true">
                                    <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentLanguage]" Column="fkContentID" />
                                  </OrderByColumn>
                                  <OrderByColumn Ascending="true">
                                    <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentLanguage]" Column="fkLanguageBranchID" />
                                  </OrderByColumn>
                                </OrderBy>
                                <RelOp AvgRowSize="15" EstimateCPU="0.11135" EstimateIO="0.00563063" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="6755.26" LogicalOp="Sort" NodeId="8" Parallel="true" PhysicalOp="Sort" EstimatedTotalSubtreeCost="0.690937">
                                  <OutputList>
                                    <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentLanguage]" Column="fkContentID" />
                                    <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentLanguage]" Column="fkLanguageBranchID" />
                                  </OutputList>
                                  <MemoryFractions Input="0.248677" Output="0.153094" />
                                  <RunTimeInformation>
                                    <RunTimeCountersPerThread Thread="4" ActualRebinds="1" ActualRewinds="0" ActualRows="1929" ActualEndOfScans="1" ActualExecutions="1" />
                                    <RunTimeCountersPerThread Thread="2" ActualRebinds="1" ActualRewinds="0" ActualRows="1950" ActualEndOfScans="1" ActualExecutions="1" />
                                    <RunTimeCountersPerThread Thread="3" ActualRebinds="1" ActualRewinds="0" ActualRows="1950" ActualEndOfScans="1" ActualExecutions="1" />
                                    <RunTimeCountersPerThread Thread="1" ActualRebinds="1" ActualRewinds="0" ActualRows="1941" ActualEndOfScans="1" ActualExecutions="1" />
                                    <RunTimeCountersPerThread Thread="0" ActualRebinds="0" ActualRewinds="0" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0" />
                                  </RunTimeInformation>
                                  <Sort Distinct="false">
                                    <OrderBy>
                                      <OrderByColumn Ascending="true">
                                        <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentLanguage]" Column="fkContentID" />
                                      </OrderByColumn>
                                      <OrderByColumn Ascending="true">
                                        <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentLanguage]" Column="fkLanguageBranchID" />
                                      </OrderByColumn>
                                    </OrderBy>
                                    <RelOp AvgRowSize="15" EstimateCPU="0.215013" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="6755.26" LogicalOp="Inner Join" NodeId="9" Parallel="true" PhysicalOp="Hash Match" EstimatedTotalSubtreeCost="0.573956">
                                      <OutputList>
                                        <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentLanguage]" Column="fkContentID" />
                                        <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentLanguage]" Column="fkLanguageBranchID" />
                                      </OutputList>
                                      <MemoryFractions Input="1" Output="0.751323" />
                                      <RunTimeInformation>
                                        <RunTimeCountersPerThread Thread="4" ActualRows="1929" ActualEndOfScans="1" ActualExecutions="1" />
                                        <RunTimeCountersPerThread Thread="2" ActualRows="1950" ActualEndOfScans="1" ActualExecutions="1" />
                                        <RunTimeCountersPerThread Thread="3" ActualRows="1950" ActualEndOfScans="1" ActualExecutions="1" />
                                        <RunTimeCountersPerThread Thread="1" ActualRows="1941" ActualEndOfScans="1" ActualExecutions="1" />
                                        <RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0" />
                                      </RunTimeInformation>
                                      <Hash>
                                        <DefinedValues />
                                        <HashKeysBuild>
                                          <ColumnReference Database="[tempdb]" Schema="[dbo]" Table="[#pages]" Column="pkID" />
                                        </HashKeysBuild>
                                        <HashKeysProbe>
                                          <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentLanguage]" Column="fkContentID" />
                                        </HashKeysProbe>
                                        <RelOp AvgRowSize="11" EstimateCPU="0.0378094" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="7770" LogicalOp="Bitmap Create" NodeId="10" Parallel="true" PhysicalOp="Bitmap" EstimatedTotalSubtreeCost="0.0652864">
                                          <OutputList>
                                            <ColumnReference Database="[tempdb]" Schema="[dbo]" Table="[#pages]" Column="pkID" />
                                          </OutputList>
                                          <RunTimeInformation>
                                            <RunTimeCountersPerThread Thread="4" ActualRows="1929" ActualEndOfScans="1" ActualExecutions="1" />
                                            <RunTimeCountersPerThread Thread="2" ActualRows="1950" ActualEndOfScans="1" ActualExecutions="1" />
                                            <RunTimeCountersPerThread Thread="3" ActualRows="1950" ActualEndOfScans="1" ActualExecutions="1" />
                                            <RunTimeCountersPerThread Thread="1" ActualRows="1941" ActualEndOfScans="1" ActualExecutions="1" />
                                            <RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0" />
                                          </RunTimeInformation>
                                          <Bitmap>
                                            <DefinedValues>
                                              <DefinedValue>
                                                <ColumnReference Column="Bitmap1009" />
                                              </DefinedValue>
                                            </DefinedValues>
                                            <HashKeys>
                                              <ColumnReference Database="[tempdb]" Schema="[dbo]" Table="[#pages]" Column="pkID" />
                                            </HashKeys>
                                            <RelOp AvgRowSize="11" EstimateCPU="0.0378094" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="7770" LogicalOp="Repartition Streams" NodeId="11" Parallel="true" PhysicalOp="Parallelism" EstimatedTotalSubtreeCost="0.0652864">
                                              <OutputList>
                                                <ColumnReference Database="[tempdb]" Schema="[dbo]" Table="[#pages]" Column="pkID" />
                                              </OutputList>
                                              <RunTimeInformation>
                                                <RunTimeCountersPerThread Thread="4" ActualRows="1929" ActualEndOfScans="1" ActualExecutions="1" />
                                                <RunTimeCountersPerThread Thread="2" ActualRows="1950" ActualEndOfScans="1" ActualExecutions="1" />
                                                <RunTimeCountersPerThread Thread="3" ActualRows="1950" ActualEndOfScans="1" ActualExecutions="1" />
                                                <RunTimeCountersPerThread Thread="1" ActualRows="1941" ActualEndOfScans="1" ActualExecutions="1" />
                                                <RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0" />
                                              </RunTimeInformation>
                                              <Parallelism PartitioningType="Hash">
                                                <PartitionColumns>
                                                  <ColumnReference Database="[tempdb]" Schema="[dbo]" Table="[#pages]" Column="pkID" />
                                                </PartitionColumns>
                                                <RelOp AvgRowSize="11" EstimateCPU="0.004352" EstimateIO="0.023125" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="7770" LogicalOp="Clustered Index Scan" NodeId="12" Parallel="true" PhysicalOp="Clustered Index Scan" EstimatedTotalSubtreeCost="0.027477" TableCardinality="7770">
                                                  <OutputList>
                                                    <ColumnReference Database="[tempdb]" Schema="[dbo]" Table="[#pages]" Column="pkID" />
                                                  </OutputList>
                                                  <RunTimeInformation>
                                                    <RunTimeCountersPerThread Thread="4" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1" />
                                                    <RunTimeCountersPerThread Thread="2" ActualRows="1674" ActualEndOfScans="1" ActualExecutions="1" />
                                                    <RunTimeCountersPerThread Thread="1" ActualRows="3069" ActualEndOfScans="1" ActualExecutions="1" />
                                                    <RunTimeCountersPerThread Thread="3" ActualRows="3027" ActualEndOfScans="1" ActualExecutions="1" />
                                                    <RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0" />
                                                  </RunTimeInformation>
                                                  <IndexScan Ordered="false" ForcedIndex="false" NoExpandHint="false">
                                                    <DefinedValues>
                                                      <DefinedValue>
                                                        <ColumnReference Database="[tempdb]" Schema="[dbo]" Table="[#pages]" Column="pkID" />
                                                      </DefinedValue>
                                                    </DefinedValues>
                                                    <Object Database="[tempdb]" Schema="[dbo]" Table="[#pages]" Index="[PK__#pages____40A359E36921665A]" IndexKind="Clustered" />
                                                  </IndexScan>
                                                </RelOp>
                                              </Parallelism>
                                            </RelOp>
                                          </Bitmap>
                                        </RelOp>
                                        <RelOp AvgRowSize="15" EstimateCPU="0.134854" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="67414" LogicalOp="Repartition Streams" NodeId="13" Parallel="true" PhysicalOp="Parallelism" EstimatedTotalSubtreeCost="0.293654">
                                          <OutputList>
                                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentLanguage]" Column="fkContentID" />
                                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentLanguage]" Column="fkLanguageBranchID" />
                                          </OutputList>
                                          <RunTimeInformation>
                                            <RunTimeCountersPerThread Thread="4" ActualRows="1932" ActualEndOfScans="1" ActualExecutions="1" />
                                            <RunTimeCountersPerThread Thread="2" ActualRows="1952" ActualEndOfScans="1" ActualExecutions="1" />
                                            <RunTimeCountersPerThread Thread="3" ActualRows="1955" ActualEndOfScans="1" ActualExecutions="1" />
                                            <RunTimeCountersPerThread Thread="1" ActualRows="1948" ActualEndOfScans="1" ActualExecutions="1" />
                                            <RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0" />
                                          </RunTimeInformation>
                                          <Parallelism PartitioningType="Hash">
                                            <PartitionColumns>
                                              <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentLanguage]" Column="fkContentID" />
                                            </PartitionColumns>
                                            <RelOp AvgRowSize="15" EstimateCPU="0.0371562" EstimateIO="0.121644" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="67414" LogicalOp="Index Scan" NodeId="14" Parallel="true" PhysicalOp="Index Scan" EstimatedTotalSubtreeCost="0.1588" TableCardinality="67414">
                                              <OutputList>
                                                <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentLanguage]" Column="fkContentID" />
                                                <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentLanguage]" Column="fkLanguageBranchID" />
                                              </OutputList>
                                              <RunTimeInformation>
                                                <RunTimeCountersPerThread Thread="2" ActualRows="1455" ActualEndOfScans="1" ActualExecutions="1" />
                                                <RunTimeCountersPerThread Thread="4" ActualRows="1016" ActualEndOfScans="1" ActualExecutions="1" />
                                                <RunTimeCountersPerThread Thread="1" ActualRows="2444" ActualEndOfScans="1" ActualExecutions="1" />
                                                <RunTimeCountersPerThread Thread="3" ActualRows="2872" ActualEndOfScans="1" ActualExecutions="1" />
                                                <RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0" />
                                              </RunTimeInformation>
                                              <IndexScan Ordered="true" ScanDirection="FORWARD" ForcedIndex="false" ForceSeek="false" NoExpandHint="false">
                                                <DefinedValues>
                                                  <DefinedValue>
                                                    <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentLanguage]" Column="fkContentID" />
                                                  </DefinedValue>
                                                  <DefinedValue>
                                                    <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentLanguage]" Column="fkLanguageBranchID" />
                                                  </DefinedValue>
                                                </DefinedValues>
                                                <Object Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentLanguage]" Index="[IDX_tblContentLanguage_ExternalURL]" IndexKind="NonClustered" />
                                                <Predicate>
                                                  <ScalarOperator ScalarString="PROBE([Bitmap1009],[PhoenixCMS_RC].[dbo].[tblContentLanguage].[fkContentID],N'[IN ROW]')">
                                                    <Intrinsic FunctionName="PROBE">
                                                      <ScalarOperator>
                                                        <Identifier>
                                                          <ColumnReference Column="Bitmap1009" />
                                                        </Identifier>
                                                      </ScalarOperator>
                                                      <ScalarOperator>
                                                        <Identifier>
                                                          <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentLanguage]" Column="fkContentID" />
                                                        </Identifier>
                                                      </ScalarOperator>
                                                      <ScalarOperator>
                                                        <Const ConstValue="N'[IN ROW]'" />
                                                      </ScalarOperator>
                                                    </Intrinsic>
                                                  </ScalarOperator>
                                                </Predicate>
                                              </IndexScan>
                                            </RelOp>
                                          </Parallelism>
                                        </RelOp>
                                      </Hash>
                                    </RelOp>
                                  </Sort>
                                </RelOp>
                              </Parallelism>
                            </RelOp>
                          </Top>
                        </RelOp>
                      </Update>
                    </RelOp>
                  </Sort>
                </RelOp>
              </Update>
            </RelOp>
          </QueryPlan>
        </StmtSimple>
      </Statements>
    </Batch>
    <Batch>
      <Statements>
        <StmtSimple StatementCompId="39" StatementEstRows="1" StatementId="23" StatementOptmLevel="FULL" StatementOptmEarlyAbortReason="GoodEnoughPlanFound" StatementSubTreeCost="0.0165715" StatementText="DELETE FROM 
	    tblPageLanguageSetting 
	WHERE 
	    fkPageID IN ( SELECT pkID FROM #pages )
" StatementType="DELETE" QueryHash="0x2994ADE75EDD4538" QueryPlanHash="0x78BCC48BAB73579D">
          <StatementSetOptions ANSI_NULLS="true" ANSI_PADDING="true" ANSI_WARNINGS="true" ARITHABORT="true" CONCAT_NULL_YIELDS_NULL="true" NUMERIC_ROUNDABORT="false" QUOTED_IDENTIFIER="true" />
          <QueryPlan DegreeOfParallelism="1" CachedPlanSize="24" CompileTime="8" CompileCPU="8" CompileMemory="504">
            <RelOp AvgRowSize="9" EstimateCPU="1E-06" EstimateIO="0.01" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="1" LogicalOp="Delete" NodeId="0" Parallel="false" PhysicalOp="Clustered Index Delete" EstimatedTotalSubtreeCost="0.0165715">
              <OutputList />
              <RunTimeInformation>
                <RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1" />
              </RunTimeInformation>
              <Update DMLRequestSort="false">
                <Object Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentLanguageSetting]" Index="[PK_tblContentLanguageSetting]" IndexKind="Clustered" />
                <RelOp AvgRowSize="15" EstimateCPU="1E-07" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="1" LogicalOp="Top" NodeId="1" Parallel="false" PhysicalOp="Top" EstimatedTotalSubtreeCost="0.00657048">
                  <OutputList>
                    <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentLanguageSetting]" Column="fkContentID" />
                    <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentLanguageSetting]" Column="fkLanguageBranchID" />
                  </OutputList>
                  <RunTimeInformation>
                    <RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1" />
                  </RunTimeInformation>
                  <Top RowCount="true" IsPercent="false" WithTies="false">
                    <TopExpression>
                      <ScalarOperator ScalarString="(0)">
                        <Const ConstValue="(0)" />
                      </ScalarOperator>
                    </TopExpression>
                    <RelOp AvgRowSize="15" EstimateCPU="4.18E-06" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="1" LogicalOp="Inner Join" NodeId="3" Parallel="false" PhysicalOp="Nested Loops" EstimatedTotalSubtreeCost="0.00657038">
                      <OutputList>
                        <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentLanguageSetting]" Column="fkContentID" />
                        <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentLanguageSetting]" Column="fkLanguageBranchID" />
                      </OutputList>
                      <RunTimeInformation>
                        <RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1" />
                      </RunTimeInformation>
                      <NestedLoops Optimized="false">
                        <OuterReferences>
                          <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentLanguageSetting]" Column="fkContentID" />
                        </OuterReferences>
                        <RelOp AvgRowSize="15" EstimateCPU="0.0001581" EstimateIO="0.003125" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="1" LogicalOp="Clustered Index Scan" NodeId="4" Parallel="false" PhysicalOp="Clustered Index Scan" EstimatedTotalSubtreeCost="0.0032831" TableCardinality="0">
                          <OutputList>
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentLanguageSetting]" Column="fkContentID" />
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentLanguageSetting]" Column="fkLanguageBranchID" />
                          </OutputList>
                          <RunTimeInformation>
                            <RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1" />
                          </RunTimeInformation>
                          <IndexScan Ordered="true" ForcedIndex="false" NoExpandHint="false">
                            <DefinedValues>
                              <DefinedValue>
                                <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentLanguageSetting]" Column="fkContentID" />
                              </DefinedValue>
                              <DefinedValue>
                                <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentLanguageSetting]" Column="fkLanguageBranchID" />
                              </DefinedValue>
                            </DefinedValues>
                            <Object Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentLanguageSetting]" Index="[PK_tblContentLanguageSetting]" IndexKind="Clustered" />
                          </IndexScan>
                        </RelOp>
                        <RelOp AvgRowSize="9" EstimateCPU="0.0001581" EstimateIO="0.003125" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="1" LogicalOp="Clustered Index Seek" NodeId="5" Parallel="false" PhysicalOp="Clustered Index Seek" EstimatedTotalSubtreeCost="0.0032831" TableCardinality="7770">
                          <OutputList />
                          <RunTimeInformation>
                            <RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0" />
                          </RunTimeInformation>
                          <IndexScan Ordered="true" ScanDirection="FORWARD" ForcedIndex="false" ForceSeek="false" NoExpandHint="false">
                            <DefinedValues />
                            <Object Database="[tempdb]" Schema="[dbo]" Table="[#pages]" Index="[PK__#pages____40A359E36921665A]" IndexKind="Clustered" />
                            <SeekPredicates>
                              <SeekPredicateNew>
                                <SeekKeys>
                                  <Prefix ScanType="EQ">
                                    <RangeColumns>
                                      <ColumnReference Database="[tempdb]" Schema="[dbo]" Table="[#pages]" Column="pkID" />
                                    </RangeColumns>
                                    <RangeExpressions>
                                      <ScalarOperator ScalarString="[PhoenixCMS_RC].[dbo].[tblContentLanguageSetting].[fkContentID]">
                                        <Identifier>
                                          <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentLanguageSetting]" Column="fkContentID" />
                                        </Identifier>
                                      </ScalarOperator>
                                    </RangeExpressions>
                                  </Prefix>
                                </SeekKeys>
                              </SeekPredicateNew>
                            </SeekPredicates>
                          </IndexScan>
                        </RelOp>
                      </NestedLoops>
                    </RelOp>
                  </Top>
                </RelOp>
              </Update>
            </RelOp>
          </QueryPlan>
        </StmtSimple>
      </Statements>
    </Batch>
    <Batch>
      <Statements>
        <StmtSimple StatementCompId="40" StatementEstRows="2769.47" StatementId="24" StatementOptmLevel="FULL" StatementSubTreeCost="14.2981" StatementText="DELETE FROM
	    tblPage 
	WHERE 
	    pkID IN ( SELECT pkID FROM #pages )" StatementType="DELETE" QueryHash="0x40BC27F37DDF64BE" QueryPlanHash="0x7B97181314D9BD1D">
          <StatementSetOptions ANSI_NULLS="true" ANSI_PADDING="true" ANSI_WARNINGS="true" ARITHABORT="true" CONCAT_NULL_YIELDS_NULL="true" NUMERIC_ROUNDABORT="false" QUOTED_IDENTIFIER="true" />
          <QueryPlan DegreeOfParallelism="4" MemoryGrant="10560" CachedPlanSize="144" CompileTime="1939" CompileCPU="1051" CompileMemory="1176">
            <RelOp AvgRowSize="9" EstimateCPU="0.00584666" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="2769.47" LogicalOp="Sequence" NodeId="1" Parallel="false" PhysicalOp="Sequence" EstimatedTotalSubtreeCost="14.2981">
              <OutputList />
              <RunTimeInformation>
                <RunTimeCountersPerThread Thread="0" ActualRows="7770" ActualEndOfScans="1" ActualExecutions="1" />
              </RunTimeInformation>
              <Sequence>
                <RelOp AvgRowSize="11" EstimateCPU="0.000203866" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="3077.19" LogicalOp="Eager Spool" NodeId="2" Parallel="false" PhysicalOp="Table Spool" EstimatedTotalSubtreeCost="6.9159">
                  <OutputList>
                    <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContent]" Column="pkID" />
                  </OutputList>
                  <RunTimeInformation>
                    <RunTimeCountersPerThread Thread="0" ActualRebinds="1" ActualRewinds="0" ActualRows="7770" ActualEndOfScans="1" ActualExecutions="1" />
                  </RunTimeInformation>
                  <Spool>
                    <RelOp AvgRowSize="11" EstimateCPU="0.00917003" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="3077.19" LogicalOp="Assert" NodeId="3" Parallel="false" PhysicalOp="Assert" EstimatedTotalSubtreeCost="13.831">
                      <OutputList>
                        <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContent]" Column="pkID" />
                      </OutputList>
                      <RunTimeInformation>
                        <RunTimeCountersPerThread Thread="0" ActualRows="7770" ActualEndOfScans="1" ActualExecutions="1" />
                      </RunTimeInformation>
                      <Assert StartupExpression="false">
                        <RelOp AvgRowSize="14" EstimateCPU="0.0142918" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="3077.19" LogicalOp="Left Semi Join" NodeId="4" Parallel="false" PhysicalOp="Nested Loops" EstimatedTotalSubtreeCost="13.8218">
                          <OutputList>
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContent]" Column="pkID" />
                            <ColumnReference Column="Expr1039" />
                            <ColumnReference Column="Expr1040" />
                            <ColumnReference Column="Expr1041" />
                            <ColumnReference Column="Expr1042" />
                            <ColumnReference Column="Expr1043" />
                            <ColumnReference Column="Expr1044" />
                            <ColumnReference Column="Expr1045" />
                            <ColumnReference Column="Expr1046" />
                            <ColumnReference Column="Expr1047" />
                          </OutputList>
                          <RunTimeInformation>
                            <RunTimeCountersPerThread Thread="0" ActualRows="7770" ActualEndOfScans="1" ActualExecutions="1" />
                          </RunTimeInformation>
                          <NestedLoops Optimized="true" WithUnorderedPrefetch="true">
                            <DefinedValues>
                              <DefinedValue>
                                <ColumnReference Column="Expr1047" />
                              </DefinedValue>
                            </DefinedValues>
                            <OuterReferences>
                              <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContent]" Column="pkID" />
                              <ColumnReference Column="Expr1053" />
                            </OuterReferences>
                            <ProbeColumn>
                              <ColumnReference Column="Expr1047" />
                            </ProbeColumn>
                            <RelOp AvgRowSize="13" EstimateCPU="0.0158798" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="3419.1" LogicalOp="Left Semi Join" NodeId="7" Parallel="false" PhysicalOp="Nested Loops" EstimatedTotalSubtreeCost="12.5908">
                              <OutputList>
                                <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContent]" Column="pkID" />
                                <ColumnReference Column="Expr1039" />
                                <ColumnReference Column="Expr1040" />
                                <ColumnReference Column="Expr1041" />
                                <ColumnReference Column="Expr1042" />
                                <ColumnReference Column="Expr1043" />
                                <ColumnReference Column="Expr1044" />
                                <ColumnReference Column="Expr1045" />
                                <ColumnReference Column="Expr1046" />
                              </OutputList>
                              <RunTimeInformation>
                                <RunTimeCountersPerThread Thread="0" ActualRows="7770" ActualEndOfScans="1" ActualExecutions="1" />
                              </RunTimeInformation>
                              <NestedLoops Optimized="false" WithUnorderedPrefetch="true">
                                <DefinedValues>
                                  <DefinedValue>
                                    <ColumnReference Column="Expr1046" />
                                  </DefinedValue>
                                </DefinedValues>
                                <OuterReferences>
                                  <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContent]" Column="pkID" />
                                  <ColumnReference Column="Expr1052" />
                                </OuterReferences>
                                <ProbeColumn>
                                  <ColumnReference Column="Expr1046" />
                                </ProbeColumn>
                                <RelOp AvgRowSize="12" EstimateCPU="0.172517" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="3799" LogicalOp="Left Semi Join" NodeId="9" Parallel="false" PhysicalOp="Merge Join" EstimatedTotalSubtreeCost="11.3929">
                                  <OutputList>
                                    <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContent]" Column="pkID" />
                                    <ColumnReference Column="Expr1039" />
                                    <ColumnReference Column="Expr1040" />
                                    <ColumnReference Column="Expr1041" />
                                    <ColumnReference Column="Expr1042" />
                                    <ColumnReference Column="Expr1043" />
                                    <ColumnReference Column="Expr1044" />
                                    <ColumnReference Column="Expr1045" />
                                  </OutputList>
                                  <RunTimeInformation>
                                    <RunTimeCountersPerThread Thread="0" ActualRows="7770" ActualEndOfScans="1" ActualExecutions="1" />
                                  </RunTimeInformation>
                                  <Merge ManyToMany="false">
                                    <InnerSideJoinColumns>
                                      <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentSoftlink]" Column="fkOwnerContentID" />
                                    </InnerSideJoinColumns>
                                    <OuterSideJoinColumns>
                                      <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContent]" Column="pkID" />
                                    </OuterSideJoinColumns>
                                    <Residual>
                                      <ScalarOperator ScalarString="[PhoenixCMS_RC].[dbo].[tblContentSoftlink].[fkOwnerContentID]=[PhoenixCMS_RC].[dbo].[tblContent].[pkID]">
                                        <Compare CompareOp="EQ">
                                          <ScalarOperator>
                                            <Identifier>
                                              <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentSoftlink]" Column="fkOwnerContentID" />
                                            </Identifier>
                                          </ScalarOperator>
                                          <ScalarOperator>
                                            <Identifier>
                                              <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContent]" Column="pkID" />
                                            </Identifier>
                                          </ScalarOperator>
                                        </Compare>
                                      </ScalarOperator>
                                    </Residual>
                                    <RelOp AvgRowSize="12" EstimateCPU="0.0102474" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="4221.11" LogicalOp="Left Semi Join" NodeId="10" Parallel="false" PhysicalOp="Merge Join" EstimatedTotalSubtreeCost="11.0143">
                                      <OutputList>
                                        <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContent]" Column="pkID" />
                                        <ColumnReference Column="Expr1039" />
                                        <ColumnReference Column="Expr1040" />
                                        <ColumnReference Column="Expr1041" />
                                        <ColumnReference Column="Expr1042" />
                                        <ColumnReference Column="Expr1043" />
                                        <ColumnReference Column="Expr1044" />
                                      </OutputList>
                                      <RunTimeInformation>
                                        <RunTimeCountersPerThread Thread="0" ActualRows="7770" ActualEndOfScans="1" ActualExecutions="1" />
                                      </RunTimeInformation>
                                      <Merge ManyToMany="false">
                                        <InnerSideJoinColumns>
                                          <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentCategory]" Column="fkContentID" />
                                        </InnerSideJoinColumns>
                                        <OuterSideJoinColumns>
                                          <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContent]" Column="pkID" />
                                        </OuterSideJoinColumns>
                                        <Residual>
                                          <ScalarOperator ScalarString="[PhoenixCMS_RC].[dbo].[tblContentCategory].[fkContentID]=[PhoenixCMS_RC].[dbo].[tblContent].[pkID]">
                                            <Compare CompareOp="EQ">
                                              <ScalarOperator>
                                                <Identifier>
                                                  <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentCategory]" Column="fkContentID" />
                                                </Identifier>
                                              </ScalarOperator>
                                              <ScalarOperator>
                                                <Identifier>
                                                  <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContent]" Column="pkID" />
                                                </Identifier>
                                              </ScalarOperator>
                                            </Compare>
                                          </ScalarOperator>
                                        </Residual>
                                        <RelOp AvgRowSize="12" EstimateCPU="0.369841" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="4690.12" LogicalOp="Left Semi Join" NodeId="11" Parallel="false" PhysicalOp="Merge Join" EstimatedTotalSubtreeCost="11.0008">
                                          <OutputList>
                                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContent]" Column="pkID" />
                                            <ColumnReference Column="Expr1039" />
                                            <ColumnReference Column="Expr1040" />
                                            <ColumnReference Column="Expr1041" />
                                            <ColumnReference Column="Expr1042" />
                                            <ColumnReference Column="Expr1043" />
                                          </OutputList>
                                          <RunTimeInformation>
                                            <RunTimeCountersPerThread Thread="0" ActualRows="7770" ActualEndOfScans="1" ActualExecutions="1" />
                                          </RunTimeInformation>
                                          <Merge ManyToMany="false">
                                            <InnerSideJoinColumns>
                                              <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentAccess]" Column="fkContentID" />
                                            </InnerSideJoinColumns>
                                            <OuterSideJoinColumns>
                                              <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContent]" Column="pkID" />
                                            </OuterSideJoinColumns>
                                            <Residual>
                                              <ScalarOperator ScalarString="[PhoenixCMS_RC].[dbo].[tblContentAccess].[fkContentID]=[PhoenixCMS_RC].[dbo].[tblContent].[pkID]">
                                                <Compare CompareOp="EQ">
                                                  <ScalarOperator>
                                                    <Identifier>
                                                      <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentAccess]" Column="fkContentID" />
                                                    </Identifier>
                                                  </ScalarOperator>
                                                  <ScalarOperator>
                                                    <Identifier>
                                                      <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContent]" Column="pkID" />
                                                    </Identifier>
                                                  </ScalarOperator>
                                                </Compare>
                                              </ScalarOperator>
                                            </Residual>
                                            <RelOp AvgRowSize="12" EstimateCPU="0.0113366" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="5211.25" LogicalOp="Left Semi Join" NodeId="12" Parallel="false" PhysicalOp="Merge Join" EstimatedTotalSubtreeCost="9.669">
                                              <OutputList>
                                                <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContent]" Column="pkID" />
                                                <ColumnReference Column="Expr1039" />
                                                <ColumnReference Column="Expr1040" />
                                                <ColumnReference Column="Expr1041" />
                                                <ColumnReference Column="Expr1042" />
                                              </OutputList>
                                              <RunTimeInformation>
                                                <RunTimeCountersPerThread Thread="0" ActualRows="7770" ActualEndOfScans="1" ActualExecutions="1" />
                                              </RunTimeInformation>
                                              <Merge ManyToMany="false">
                                                <InnerSideJoinColumns>
                                                  <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentLanguageSetting]" Column="fkContentID" />
                                                </InnerSideJoinColumns>
                                                <OuterSideJoinColumns>
                                                  <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContent]" Column="pkID" />
                                                </OuterSideJoinColumns>
                                                <Residual>
                                                  <ScalarOperator ScalarString="[PhoenixCMS_RC].[dbo].[tblContentLanguageSetting].[fkContentID]=[PhoenixCMS_RC].[dbo].[tblContent].[pkID]">
                                                    <Compare CompareOp="EQ">
                                                      <ScalarOperator>
                                                        <Identifier>
                                                          <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentLanguageSetting]" Column="fkContentID" />
                                                        </Identifier>
                                                      </ScalarOperator>
                                                      <ScalarOperator>
                                                        <Identifier>
                                                          <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContent]" Column="pkID" />
                                                        </Identifier>
                                                      </ScalarOperator>
                                                    </Compare>
                                                  </ScalarOperator>
                                                </Residual>
                                                <RelOp AvgRowSize="12" EstimateCPU="0.150732" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="5790.28" LogicalOp="Left Semi Join" NodeId="13" Parallel="false" PhysicalOp="Merge Join" EstimatedTotalSubtreeCost="9.65437">
                                                  <OutputList>
                                                    <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContent]" Column="pkID" />
                                                    <ColumnReference Column="Expr1039" />
                                                    <ColumnReference Column="Expr1040" />
                                                    <ColumnReference Column="Expr1041" />
                                                  </OutputList>
                                                  <RunTimeInformation>
                                                    <RunTimeCountersPerThread Thread="0" ActualRows="7770" ActualEndOfScans="1" ActualExecutions="1" />
                                                  </RunTimeInformation>
                                                  <Merge ManyToMany="false">
                                                    <InnerSideJoinColumns>
                                                      <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentLanguage]" Column="fkContentID" />
                                                    </InnerSideJoinColumns>
                                                    <OuterSideJoinColumns>
                                                      <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContent]" Column="pkID" />
                                                    </OuterSideJoinColumns>
                                                    <Residual>
                                                      <ScalarOperator ScalarString="[PhoenixCMS_RC].[dbo].[tblContentLanguage].[fkContentID]=[PhoenixCMS_RC].[dbo].[tblContent].[pkID]">
                                                        <Compare CompareOp="EQ">
                                                          <ScalarOperator>
                                                            <Identifier>
                                                              <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentLanguage]" Column="fkContentID" />
                                                            </Identifier>
                                                          </ScalarOperator>
                                                          <ScalarOperator>
                                                            <Identifier>
                                                              <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContent]" Column="pkID" />
                                                            </Identifier>
                                                          </ScalarOperator>
                                                        </Compare>
                                                      </ScalarOperator>
                                                    </Residual>
                                                    <RelOp AvgRowSize="12" EstimateCPU="0.0298807" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="6433.64" LogicalOp="Left Semi Join" NodeId="14" Parallel="false" PhysicalOp="Nested Loops" EstimatedTotalSubtreeCost="5.99549">
                                                      <OutputList>
                                                        <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContent]" Column="pkID" />
                                                        <ColumnReference Column="Expr1039" />
                                                        <ColumnReference Column="Expr1040" />
                                                      </OutputList>
                                                      <RunTimeInformation>
                                                        <RunTimeCountersPerThread Thread="0" ActualRows="7770" ActualEndOfScans="1" ActualExecutions="1" />
                                                      </RunTimeInformation>
                                                      <NestedLoops Optimized="false" WithOrderedPrefetch="true">
                                                        <DefinedValues>
                                                          <DefinedValue>
                                                            <ColumnReference Column="Expr1040" />
                                                          </DefinedValue>
                                                        </DefinedValues>
                                                        <OuterReferences>
                                                          <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContent]" Column="pkID" />
                                                          <ColumnReference Column="Expr1051" />
                                                        </OuterReferences>
                                                        <ProbeColumn>
                                                          <ColumnReference Column="Expr1040" />
                                                        </ProbeColumn>
                                                        <RelOp AvgRowSize="12" EstimateCPU="0.15684" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="7148.49" LogicalOp="Left Semi Join" NodeId="16" Parallel="false" PhysicalOp="Merge Join" EstimatedTotalSubtreeCost="4.12837">
                                                          <OutputList>
                                                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContent]" Column="pkID" />
                                                            <ColumnReference Column="Expr1039" />
                                                          </OutputList>
                                                          <RunTimeInformation>
                                                            <RunTimeCountersPerThread Thread="0" ActualRows="7770" ActualEndOfScans="1" ActualExecutions="1" />
                                                          </RunTimeInformation>
                                                          <Merge ManyToMany="false">
                                                            <InnerSideJoinColumns>
                                                              <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="fkContentID" />
                                                            </InnerSideJoinColumns>
                                                            <OuterSideJoinColumns>
                                                              <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContent]" Column="pkID" />
                                                            </OuterSideJoinColumns>
                                                            <Residual>
                                                              <ScalarOperator ScalarString="[PhoenixCMS_RC].[dbo].[tblWorkContent].[fkContentID]=[PhoenixCMS_RC].[dbo].[tblContent].[pkID]">
                                                                <Compare CompareOp="EQ">
                                                                  <ScalarOperator>
                                                                    <Identifier>
                                                                      <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="fkContentID" />
                                                                    </Identifier>
                                                                  </ScalarOperator>
                                                                  <ScalarOperator>
                                                                    <Identifier>
                                                                      <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContent]" Column="pkID" />
                                                                    </Identifier>
                                                                  </ScalarOperator>
                                                                </Compare>
                                                              </ScalarOperator>
                                                            </Residual>
                                                            <RelOp AvgRowSize="11" EstimateCPU="0.0635421" EstimateIO="2.94519" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="7942.77" LogicalOp="Delete" NodeId="17" Parallel="false" PhysicalOp="Clustered Index Delete" EstimatedTotalSubtreeCost="3.7767">
                                                              <OutputList>
                                                                <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContent]" Column="pkID" />
                                                              </OutputList>
                                                              <RunTimeInformation>
                                                                <RunTimeCountersPerThread Thread="0" ActualRows="7770" ActualEndOfScans="1" ActualExecutions="1" />
                                                              </RunTimeInformation>
                                                              <Update WithOrderedPrefetch="true" DMLRequestSort="true">
                                                                <Object Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContent]" Index="[PK_tblContent]" IndexKind="Clustered" />
                                                                <Object Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContent]" Index="[IDX_tblContent_fkParentID]" IndexKind="NonClustered" />
                                                                <Object Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContent]" Index="[IDX_tblContent_ContentGUID]" IndexKind="NonClustered" />
                                                                <Object Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContent]" Index="[IDX_tblContent_ContentType]" IndexKind="NonClustered" />
                                                                <Object Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContent]" Index="[IDX_tblContent_ArchiveContentGUID]" IndexKind="NonClustered" />
                                                                <Object Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContent]" Index="[IDX_tblContent_ContentPath]" IndexKind="NonClustered" />
                                                                <Object Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContent]" Index="[IDX_tblContent_fkContentTypeID]" IndexKind="NonClustered" />
                                                                <Object Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContent]" Index="[IDX_tblContent_ExternalFolderID]" IndexKind="NonClustered" />
                                                                <RelOp AvgRowSize="11" EstimateCPU="0.000794277" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="7942.77" LogicalOp="Top" NodeId="19" Parallel="false" PhysicalOp="Top" EstimatedTotalSubtreeCost="0.767963">
                                                                  <OutputList>
                                                                    <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContent]" Column="pkID" />
                                                                  </OutputList>
                                                                  <RunTimeInformation>
                                                                    <RunTimeCountersPerThread Thread="0" ActualRows="7770" ActualEndOfScans="1" ActualExecutions="1" />
                                                                  </RunTimeInformation>
                                                                  <Top RowCount="true" IsPercent="false" WithTies="false">
                                                                    <TopExpression>
                                                                      <ScalarOperator ScalarString="(0)">
                                                                        <Const ConstValue="(0)" />
                                                                      </ScalarOperator>
                                                                    </TopExpression>
                                                                    <RelOp AvgRowSize="11" EstimateCPU="0.0746285" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="7770" LogicalOp="Gather Streams" NodeId="21" Parallel="true" PhysicalOp="Parallelism" EstimatedTotalSubtreeCost="0.767169">
                                                                      <OutputList>
                                                                        <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContent]" Column="pkID" />
                                                                      </OutputList>
                                                                      <RunTimeInformation>
                                                                        <RunTimeCountersPerThread Thread="0" ActualRows="7770" ActualEndOfScans="1" ActualExecutions="1" />
                                                                      </RunTimeInformation>
                                                                      <Parallelism>
                                                                        <OrderBy>
                                                                          <OrderByColumn Ascending="true">
                                                                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContent]" Column="pkID" />
                                                                          </OrderByColumn>
                                                                        </OrderBy>
                                                                        <RelOp AvgRowSize="11" EstimateCPU="0.160723" EstimateIO="0.00563063" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="7770" LogicalOp="Sort" NodeId="22" Parallel="true" PhysicalOp="Sort" EstimatedTotalSubtreeCost="0.69254">
                                                                          <OutputList>
                                                                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContent]" Column="pkID" />
                                                                          </OutputList>
                                                                          <MemoryFractions Input="0.26455" Output="0.891509" />
                                                                          <RunTimeInformation>
                                                                            <RunTimeCountersPerThread Thread="2" ActualRebinds="1" ActualRewinds="0" ActualRows="1950" ActualEndOfScans="1" ActualExecutions="1" />
                                                                            <RunTimeCountersPerThread Thread="3" ActualRebinds="1" ActualRewinds="0" ActualRows="1950" ActualEndOfScans="1" ActualExecutions="1" />
                                                                            <RunTimeCountersPerThread Thread="1" ActualRebinds="1" ActualRewinds="0" ActualRows="1941" ActualEndOfScans="1" ActualExecutions="1" />
                                                                            <RunTimeCountersPerThread Thread="4" ActualRebinds="1" ActualRewinds="0" ActualRows="1929" ActualEndOfScans="1" ActualExecutions="1" />
                                                                            <RunTimeCountersPerThread Thread="0" ActualRebinds="0" ActualRewinds="0" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0" />
                                                                          </RunTimeInformation>
                                                                          <Sort Distinct="false">
                                                                            <OrderBy>
                                                                              <OrderByColumn Ascending="true">
                                                                                <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContent]" Column="pkID" />
                                                                              </OrderByColumn>
                                                                            </OrderBy>
                                                                            <RelOp AvgRowSize="11" EstimateCPU="0.21579" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="7770" LogicalOp="Inner Join" NodeId="23" Parallel="true" PhysicalOp="Hash Match" EstimatedTotalSubtreeCost="0.526187">
                                                                              <OutputList>
                                                                                <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContent]" Column="pkID" />
                                                                              </OutputList>
                                                                              <MemoryFractions Input="1" Output="0.73545" />
                                                                              <RunTimeInformation>
                                                                                <RunTimeCountersPerThread Thread="2" ActualRows="1950" ActualEndOfScans="1" ActualExecutions="1" />
                                                                                <RunTimeCountersPerThread Thread="3" ActualRows="1950" ActualEndOfScans="1" ActualExecutions="1" />
                                                                                <RunTimeCountersPerThread Thread="1" ActualRows="1941" ActualEndOfScans="1" ActualExecutions="1" />
                                                                                <RunTimeCountersPerThread Thread="4" ActualRows="1929" ActualEndOfScans="1" ActualExecutions="1" />
                                                                                <RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0" />
                                                                              </RunTimeInformation>
                                                                              <Hash>
                                                                                <DefinedValues />
                                                                                <HashKeysBuild>
                                                                                  <ColumnReference Database="[tempdb]" Schema="[dbo]" Table="[#pages]" Column="pkID" />
                                                                                </HashKeysBuild>
                                                                                <HashKeysProbe>
                                                                                  <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContent]" Column="pkID" />
                                                                                </HashKeysProbe>
                                                                                <RelOp AvgRowSize="11" EstimateCPU="0.0378094" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="7770" LogicalOp="Bitmap Create" NodeId="24" Parallel="true" PhysicalOp="Bitmap" EstimatedTotalSubtreeCost="0.0652864">
                                                                                  <OutputList>
                                                                                    <ColumnReference Database="[tempdb]" Schema="[dbo]" Table="[#pages]" Column="pkID" />
                                                                                  </OutputList>
                                                                                  <RunTimeInformation>
                                                                                    <RunTimeCountersPerThread Thread="2" ActualRows="1950" ActualEndOfScans="1" ActualExecutions="1" />
                                                                                    <RunTimeCountersPerThread Thread="3" ActualRows="1950" ActualEndOfScans="1" ActualExecutions="1" />
                                                                                    <RunTimeCountersPerThread Thread="1" ActualRows="1941" ActualEndOfScans="1" ActualExecutions="1" />
                                                                                    <RunTimeCountersPerThread Thread="4" ActualRows="1929" ActualEndOfScans="1" ActualExecutions="1" />
                                                                                    <RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0" />
                                                                                  </RunTimeInformation>
                                                                                  <Bitmap>
                                                                                    <DefinedValues>
                                                                                      <DefinedValue>
                                                                                        <ColumnReference Column="Bitmap1049" />
                                                                                      </DefinedValue>
                                                                                    </DefinedValues>
                                                                                    <HashKeys>
                                                                                      <ColumnReference Database="[tempdb]" Schema="[dbo]" Table="[#pages]" Column="pkID" />
                                                                                    </HashKeys>
                                                                                    <RelOp AvgRowSize="11" EstimateCPU="0.0378094" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="7770" LogicalOp="Repartition Streams" NodeId="25" Parallel="true" PhysicalOp="Parallelism" EstimatedTotalSubtreeCost="0.0652864">
                                                                                      <OutputList>
                                                                                        <ColumnReference Database="[tempdb]" Schema="[dbo]" Table="[#pages]" Column="pkID" />
                                                                                      </OutputList>
                                                                                      <RunTimeInformation>
                                                                                        <RunTimeCountersPerThread Thread="2" ActualRows="1950" ActualEndOfScans="1" ActualExecutions="1" />
                                                                                        <RunTimeCountersPerThread Thread="3" ActualRows="1950" ActualEndOfScans="1" ActualExecutions="1" />
                                                                                        <RunTimeCountersPerThread Thread="1" ActualRows="1941" ActualEndOfScans="1" ActualExecutions="1" />
                                                                                        <RunTimeCountersPerThread Thread="4" ActualRows="1929" ActualEndOfScans="1" ActualExecutions="1" />
                                                                                        <RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0" />
                                                                                      </RunTimeInformation>
                                                                                      <Parallelism PartitioningType="Hash">
                                                                                        <PartitionColumns>
                                                                                          <ColumnReference Database="[tempdb]" Schema="[dbo]" Table="[#pages]" Column="pkID" />
                                                                                        </PartitionColumns>
                                                                                        <RelOp AvgRowSize="11" EstimateCPU="0.004352" EstimateIO="0.023125" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="7770" LogicalOp="Clustered Index Scan" NodeId="26" Parallel="true" PhysicalOp="Clustered Index Scan" EstimatedTotalSubtreeCost="0.027477" TableCardinality="7770">
                                                                                          <OutputList>
                                                                                            <ColumnReference Database="[tempdb]" Schema="[dbo]" Table="[#pages]" Column="pkID" />
                                                                                          </OutputList>
                                                                                          <RunTimeInformation>
                                                                                            <RunTimeCountersPerThread Thread="3" ActualRows="1674" ActualEndOfScans="1" ActualExecutions="1" />
                                                                                            <RunTimeCountersPerThread Thread="2" ActualRows="1674" ActualEndOfScans="1" ActualExecutions="1" />
                                                                                            <RunTimeCountersPerThread Thread="4" ActualRows="2233" ActualEndOfScans="1" ActualExecutions="1" />
                                                                                            <RunTimeCountersPerThread Thread="1" ActualRows="2189" ActualEndOfScans="1" ActualExecutions="1" />
                                                                                            <RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0" />
                                                                                          </RunTimeInformation>
                                                                                          <IndexScan Ordered="false" ForcedIndex="false" NoExpandHint="false">
                                                                                            <DefinedValues>
                                                                                              <DefinedValue>
                                                                                                <ColumnReference Database="[tempdb]" Schema="[dbo]" Table="[#pages]" Column="pkID" />
                                                                                              </DefinedValue>
                                                                                            </DefinedValues>
                                                                                            <Object Database="[tempdb]" Schema="[dbo]" Table="[#pages]" Index="[PK__#pages____40A359E36921665A]" IndexKind="Clustered" />
                                                                                          </IndexScan>
                                                                                        </RelOp>
                                                                                      </Parallelism>
                                                                                    </RelOp>
                                                                                  </Bitmap>
                                                                                </RelOp>
                                                                                <RelOp AvgRowSize="11" EstimateCPU="0.10927" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="67414" LogicalOp="Repartition Streams" NodeId="27" Parallel="true" PhysicalOp="Parallelism" EstimatedTotalSubtreeCost="0.245107">
                                                                                  <OutputList>
                                                                                    <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContent]" Column="pkID" />
                                                                                  </OutputList>
                                                                                  <RunTimeInformation>
                                                                                    <RunTimeCountersPerThread Thread="2" ActualRows="1952" ActualEndOfScans="1" ActualExecutions="1" />
                                                                                    <RunTimeCountersPerThread Thread="3" ActualRows="1955" ActualEndOfScans="1" ActualExecutions="1" />
                                                                                    <RunTimeCountersPerThread Thread="1" ActualRows="1948" ActualEndOfScans="1" ActualExecutions="1" />
                                                                                    <RunTimeCountersPerThread Thread="4" ActualRows="1931" ActualEndOfScans="1" ActualExecutions="1" />
                                                                                    <RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0" />
                                                                                  </RunTimeInformation>
                                                                                  <Parallelism PartitioningType="Hash">
                                                                                    <PartitionColumns>
                                                                                      <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContent]" Column="pkID" />
                                                                                    </PartitionColumns>
                                                                                    <RelOp AvgRowSize="11" EstimateCPU="0.0371562" EstimateIO="0.0986806" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="67414" LogicalOp="Index Scan" NodeId="28" Parallel="true" PhysicalOp="Index Scan" EstimatedTotalSubtreeCost="0.135837" TableCardinality="67414">
                                                                                      <OutputList>
                                                                                        <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContent]" Column="pkID" />
                                                                                      </OutputList>
                                                                                      <RunTimeInformation>
                                                                                        <RunTimeCountersPerThread Thread="1" ActualRows="3057" ActualEndOfScans="1" ActualExecutions="1" />
                                                                                        <RunTimeCountersPerThread Thread="2" ActualRows="1307" ActualEndOfScans="1" ActualExecutions="1" />
                                                                                        <RunTimeCountersPerThread Thread="3" ActualRows="2071" ActualEndOfScans="1" ActualExecutions="1" />
                                                                                        <RunTimeCountersPerThread Thread="4" ActualRows="1351" ActualEndOfScans="1" ActualExecutions="1" />
                                                                                        <RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0" />
                                                                                      </RunTimeInformation>
                                                                                      <IndexScan Ordered="true" ScanDirection="FORWARD" ForcedIndex="false" ForceSeek="false" NoExpandHint="false">
                                                                                        <DefinedValues>
                                                                                          <DefinedValue>
                                                                                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContent]" Column="pkID" />
                                                                                          </DefinedValue>
                                                                                        </DefinedValues>
                                                                                        <Object Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContent]" Index="[IDX_tblContent_ContentType]" IndexKind="NonClustered" />
                                                                                        <Predicate>
                                                                                          <ScalarOperator ScalarString="PROBE([Bitmap1049],[PhoenixCMS_RC].[dbo].[tblContent].[pkID],N'[IN ROW]')">
                                                                                            <Intrinsic FunctionName="PROBE">
                                                                                              <ScalarOperator>
                                                                                                <Identifier>
                                                                                                  <ColumnReference Column="Bitmap1049" />
                                                                                                </Identifier>
                                                                                              </ScalarOperator>
                                                                                              <ScalarOperator>
                                                                                                <Identifier>
                                                                                                  <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContent]" Column="pkID" />
                                                                                                </Identifier>
                                                                                              </ScalarOperator>
                                                                                              <ScalarOperator>
                                                                                                <Const ConstValue="N'[IN ROW]'" />
                                                                                              </ScalarOperator>
                                                                                            </Intrinsic>
                                                                                          </ScalarOperator>
                                                                                        </Predicate>
                                                                                      </IndexScan>
                                                                                    </RelOp>
                                                                                  </Parallelism>
                                                                                </RelOp>
                                                                              </Hash>
                                                                            </RelOp>
                                                                          </Sort>
                                                                        </RelOp>
                                                                      </Parallelism>
                                                                    </RelOp>
                                                                  </Top>
                                                                </RelOp>
                                                              </Update>
                                                            </RelOp>
                                                            <RelOp AvgRowSize="11" EstimateCPU="0.0665222" EstimateIO="0.12831" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="60332" LogicalOp="Index Scan" NodeId="32" Parallel="false" PhysicalOp="Index Scan" EstimatedTotalSubtreeCost="0.194832" TableCardinality="60332">
                                                              <OutputList>
                                                                <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="fkContentID" />
                                                              </OutputList>
                                                              <RunTimeInformation>
                                                                <RunTimeCountersPerThread Thread="0" ActualRows="60060" ActualEndOfScans="0" ActualExecutions="1" />
                                                              </RunTimeInformation>
                                                              <IndexScan Ordered="true" ScanDirection="FORWARD" ForcedIndex="true" ForceSeek="false" NoExpandHint="false">
                                                                <DefinedValues>
                                                                  <DefinedValue>
                                                                    <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Column="fkContentID" />
                                                                  </DefinedValue>
                                                                </DefinedValues>
                                                                <Object Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContent]" Index="[IDX_tblWorkContent_fkContentID]" IndexKind="NonClustered" />
                                                              </IndexScan>
                                                            </RelOp>
                                                          </Merge>
                                                        </RelOp>
                                                        <RelOp AvgRowSize="9" EstimateCPU="0.000259475" EstimateIO="0.003125" EstimateRebinds="5011.6" EstimateRewinds="2135.89" EstimateRows="9.31588" LogicalOp="Index Seek" NodeId="34" Parallel="false" PhysicalOp="Index Seek" EstimatedTotalSubtreeCost="1.83723" TableCardinality="1285560">
                                                          <OutputList />
                                                          <RunTimeInformation>
                                                            <RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="7770" ActualExecutions="7770" />
                                                          </RunTimeInformation>
                                                          <IndexScan Ordered="true" ScanDirection="FORWARD" ForcedIndex="true" ForceSeek="false" NoExpandHint="false">
                                                            <DefinedValues />
                                                            <Object Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Index="[IDX_tblWorkContentProperty_ContentLink]" IndexKind="NonClustered" />
                                                            <SeekPredicates>
                                                              <SeekPredicateNew>
                                                                <SeekKeys>
                                                                  <Prefix ScanType="EQ">
                                                                    <RangeColumns>
                                                                      <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblWorkContentProperty]" Column="ContentLink" />
                                                                    </RangeColumns>
                                                                    <RangeExpressions>
                                                                      <ScalarOperator ScalarString="[PhoenixCMS_RC].[dbo].[tblContent].[pkID]">
                                                                        <Identifier>
                                                                          <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContent]" Column="pkID" />
                                                                        </Identifier>
                                                                      </ScalarOperator>
                                                                    </RangeExpressions>
                                                                  </Prefix>
                                                                </SeekKeys>
                                                              </SeekPredicateNew>
                                                            </SeekPredicates>
                                                          </IndexScan>
                                                        </RelOp>
                                                      </NestedLoops>
                                                    </RelOp>
                                                    <RelOp AvgRowSize="11" EstimateCPU="0.0657654" EstimateIO="3.44238" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="59644" LogicalOp="Clustered Index Scan" NodeId="35" Parallel="false" PhysicalOp="Clustered Index Scan" EstimatedTotalSubtreeCost="3.50815" TableCardinality="59644">
                                                      <OutputList>
                                                        <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentLanguage]" Column="fkContentID" />
                                                      </OutputList>
                                                      <RunTimeInformation>
                                                        <RunTimeCountersPerThread Thread="0" ActualRows="59429" ActualEndOfScans="0" ActualExecutions="1" />
                                                      </RunTimeInformation>
                                                      <IndexScan Ordered="true" ScanDirection="FORWARD" ForcedIndex="true" ForceSeek="false" NoExpandHint="false">
                                                        <DefinedValues>
                                                          <DefinedValue>
                                                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentLanguage]" Column="fkContentID" />
                                                          </DefinedValue>
                                                        </DefinedValues>
                                                        <Object Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentLanguage]" Index="[PK_tblContentLanguage]" IndexKind="Clustered" />
                                                      </IndexScan>
                                                    </RelOp>
                                                  </Merge>
                                                </RelOp>
                                                <RelOp AvgRowSize="11" EstimateCPU="0.0001581" EstimateIO="0.003125" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="1" LogicalOp="Clustered Index Scan" NodeId="37" Parallel="false" PhysicalOp="Clustered Index Scan" EstimatedTotalSubtreeCost="0.0032831" TableCardinality="0">
                                                  <OutputList>
                                                    <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentLanguageSetting]" Column="fkContentID" />
                                                  </OutputList>
                                                  <RunTimeInformation>
                                                    <RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1" />
                                                  </RunTimeInformation>
                                                  <IndexScan Ordered="true" ScanDirection="FORWARD" ForcedIndex="true" ForceSeek="false" NoExpandHint="false">
                                                    <DefinedValues>
                                                      <DefinedValue>
                                                        <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentLanguageSetting]" Column="fkContentID" />
                                                      </DefinedValue>
                                                    </DefinedValues>
                                                    <Object Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentLanguageSetting]" Index="[PK_tblContentLanguageSetting]" IndexKind="Clustered" />
                                                  </IndexScan>
                                                </RelOp>
                                              </Merge>
                                            </RelOp>
                                            <RelOp AvgRowSize="11" EstimateCPU="0.182515" EstimateIO="0.779421" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="165780" LogicalOp="Clustered Index Scan" NodeId="39" Parallel="false" PhysicalOp="Clustered Index Scan" EstimatedTotalSubtreeCost="0.961936" TableCardinality="165780">
                                              <OutputList>
                                                <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentAccess]" Column="fkContentID" />
                                              </OutputList>
                                              <RunTimeInformation>
                                                <RunTimeCountersPerThread Thread="0" ActualRows="165178" ActualEndOfScans="0" ActualExecutions="1" />
                                              </RunTimeInformation>
                                              <IndexScan Ordered="true" ScanDirection="FORWARD" ForcedIndex="true" ForceSeek="false" NoExpandHint="false">
                                                <DefinedValues>
                                                  <DefinedValue>
                                                    <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentAccess]" Column="fkContentID" />
                                                  </DefinedValue>
                                                </DefinedValues>
                                                <Object Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentAccess]" Index="[PK_tblContentAccess]" IndexKind="Clustered" />
                                              </IndexScan>
                                            </RelOp>
                                          </Merge>
                                        </RelOp>
                                        <RelOp AvgRowSize="11" EstimateCPU="0.0001581" EstimateIO="0.003125" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="1" LogicalOp="Index Scan" NodeId="41" Parallel="false" PhysicalOp="Index Scan" EstimatedTotalSubtreeCost="0.0032831" TableCardinality="0">
                                          <OutputList>
                                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentCategory]" Column="fkContentID" />
                                          </OutputList>
                                          <RunTimeInformation>
                                            <RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1" />
                                          </RunTimeInformation>
                                          <IndexScan Ordered="true" ScanDirection="FORWARD" ForcedIndex="true" ForceSeek="false" NoExpandHint="false">
                                            <DefinedValues>
                                              <DefinedValue>
                                                <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentCategory]" Column="fkContentID" />
                                              </DefinedValue>
                                            </DefinedValues>
                                            <Object Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentCategory]" Index="[IDX_tblContentCategory_fkContentID]" IndexKind="NonClustered" />
                                          </IndexScan>
                                        </RelOp>
                                      </Merge>
                                    </RelOp>
                                    <RelOp AvgRowSize="11" EstimateCPU="0.0807573" EstimateIO="0.125347" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="73273" LogicalOp="Index Scan" NodeId="43" Parallel="false" PhysicalOp="Index Scan" EstimatedTotalSubtreeCost="0.206105" TableCardinality="73273">
                                      <OutputList>
                                        <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentSoftlink]" Column="fkOwnerContentID" />
                                      </OutputList>
                                      <RunTimeInformation>
                                        <RunTimeCountersPerThread Thread="0" ActualRows="73117" ActualEndOfScans="0" ActualExecutions="1" />
                                      </RunTimeInformation>
                                      <IndexScan Ordered="true" ScanDirection="FORWARD" ForcedIndex="true" ForceSeek="false" NoExpandHint="false">
                                        <DefinedValues>
                                          <DefinedValue>
                                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentSoftlink]" Column="fkOwnerContentID" />
                                          </DefinedValue>
                                        </DefinedValues>
                                        <Object Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentSoftlink]" Index="[IDX_tblContentSoftlink_fkContentID]" IndexKind="NonClustered" />
                                      </IndexScan>
                                    </RelOp>
                                  </Merge>
                                </RelOp>
                                <RelOp AvgRowSize="9" EstimateCPU="0.000190444" EstimateIO="0.003125" EstimateRebinds="3797.53" EstimateRewinds="0.475204" EstimateRows="3.04035" LogicalOp="Index Seek" NodeId="45" Parallel="false" PhysicalOp="Index Seek" EstimatedTotalSubtreeCost="1.18198" TableCardinality="1272780">
                                  <OutputList />
                                  <RunTimeInformation>
                                    <RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="7770" ActualExecutions="7770" />
                                  </RunTimeInformation>
                                  <IndexScan Ordered="true" ScanDirection="FORWARD" ForcedIndex="true" ForceSeek="false" NoExpandHint="false">
                                    <DefinedValues />
                                    <Object Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Index="[IDX_tblContentProperty_fkContentID]" IndexKind="NonClustered" />
                                    <SeekPredicates>
                                      <SeekPredicateNew>
                                        <SeekKeys>
                                          <Prefix ScanType="EQ">
                                            <RangeColumns>
                                              <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="fkContentID" />
                                            </RangeColumns>
                                            <RangeExpressions>
                                              <ScalarOperator ScalarString="[PhoenixCMS_RC].[dbo].[tblContent].[pkID]">
                                                <Identifier>
                                                  <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContent]" Column="pkID" />
                                                </Identifier>
                                              </ScalarOperator>
                                            </RangeExpressions>
                                          </Prefix>
                                        </SeekKeys>
                                      </SeekPredicateNew>
                                    </SeekPredicates>
                                  </IndexScan>
                                </RelOp>
                              </NestedLoops>
                            </RelOp>
                            <RelOp AvgRowSize="9" EstimateCPU="0.000263421" EstimateIO="0.003125" EstimateRebinds="3417.63" EstimateRewinds="0.475204" EstimateRows="9.67461" LogicalOp="Index Seek" NodeId="46" Parallel="false" PhysicalOp="Index Seek" EstimatedTotalSubtreeCost="1.21672" TableCardinality="1272780">
                              <OutputList />
                              <RunTimeInformation>
                                <RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="7770" ActualExecutions="7770" />
                              </RunTimeInformation>
                              <IndexScan Ordered="true" ScanDirection="FORWARD" ForcedIndex="true" ForceSeek="false" NoExpandHint="false">
                                <DefinedValues />
                                <Object Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Index="[IDX_tblContentProperty_ContentLink]" IndexKind="NonClustered" />
                                <SeekPredicates>
                                  <SeekPredicateNew>
                                    <SeekKeys>
                                      <Prefix ScanType="EQ">
                                        <RangeColumns>
                                          <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContentProperty]" Column="ContentLink" />
                                        </RangeColumns>
                                        <RangeExpressions>
                                          <ScalarOperator ScalarString="[PhoenixCMS_RC].[dbo].[tblContent].[pkID]">
                                            <Identifier>
                                              <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContent]" Column="pkID" />
                                            </Identifier>
                                          </ScalarOperator>
                                        </RangeExpressions>
                                      </Prefix>
                                    </SeekKeys>
                                  </SeekPredicateNew>
                                </SeekPredicates>
                              </IndexScan>
                            </RelOp>
                          </NestedLoops>
                        </RelOp>
                        <Predicate>
                          <ScalarOperator ScalarString="CASE WHEN NOT [Expr1039] IS NULL THEN (0) ELSE CASE WHEN NOT [Expr1040] IS NULL THEN (1) ELSE CASE WHEN NOT [Expr1041] IS NULL THEN (2) ELSE CASE WHEN NOT [Expr1042] IS NULL THEN (3) ELSE CASE WHEN NOT [Expr1043] IS NULL THEN (4) ELSE CASE WHEN NOT [Expr1044] IS NULL THEN (5) ELSE CASE WHEN NOT [Expr1045] IS NULL THEN (6) ELSE CASE WHEN NOT [Expr1046] IS NULL THEN (7) ELSE CASE WHEN NOT [Expr1047] IS NULL THEN (8) ELSE NULL END END END END END END END END END">
                            <IF>
                              <Condition>
                                <ScalarOperator>
                                  <Logical Operation="NOT">
                                    <ScalarOperator>
                                      <Logical Operation="IS NULL">
                                        <ScalarOperator>
                                          <Identifier>
                                            <ColumnReference Column="Expr1039" />
                                          </Identifier>
                                        </ScalarOperator>
                                      </Logical>
                                    </ScalarOperator>
                                  </Logical>
                                </ScalarOperator>
                              </Condition>
                              <Then>
                                <ScalarOperator>
                                  <Const ConstValue="(0)" />
                                </ScalarOperator>
                              </Then>
                              <Else>
                                <ScalarOperator>
                                  <IF>
                                    <Condition>
                                      <ScalarOperator>
                                        <Logical Operation="NOT">
                                          <ScalarOperator>
                                            <Logical Operation="IS NULL">
                                              <ScalarOperator>
                                                <Identifier>
                                                  <ColumnReference Column="Expr1040" />
                                                </Identifier>
                                              </ScalarOperator>
                                            </Logical>
                                          </ScalarOperator>
                                        </Logical>
                                      </ScalarOperator>
                                    </Condition>
                                    <Then>
                                      <ScalarOperator>
                                        <Const ConstValue="(1)" />
                                      </ScalarOperator>
                                    </Then>
                                    <Else>
                                      <ScalarOperator>
                                        <IF>
                                          <Condition>
                                            <ScalarOperator>
                                              <Logical Operation="NOT">
                                                <ScalarOperator>
                                                  <Logical Operation="IS NULL">
                                                    <ScalarOperator>
                                                      <Identifier>
                                                        <ColumnReference Column="Expr1041" />
                                                      </Identifier>
                                                    </ScalarOperator>
                                                  </Logical>
                                                </ScalarOperator>
                                              </Logical>
                                            </ScalarOperator>
                                          </Condition>
                                          <Then>
                                            <ScalarOperator>
                                              <Const ConstValue="(2)" />
                                            </ScalarOperator>
                                          </Then>
                                          <Else>
                                            <ScalarOperator>
                                              <IF>
                                                <Condition>
                                                  <ScalarOperator>
                                                    <Logical Operation="NOT">
                                                      <ScalarOperator>
                                                        <Logical Operation="IS NULL">
                                                          <ScalarOperator>
                                                            <Identifier>
                                                              <ColumnReference Column="Expr1042" />
                                                            </Identifier>
                                                          </ScalarOperator>
                                                        </Logical>
                                                      </ScalarOperator>
                                                    </Logical>
                                                  </ScalarOperator>
                                                </Condition>
                                                <Then>
                                                  <ScalarOperator>
                                                    <Const ConstValue="(3)" />
                                                  </ScalarOperator>
                                                </Then>
                                                <Else>
                                                  <ScalarOperator>
                                                    <IF>
                                                      <Condition>
                                                        <ScalarOperator>
                                                          <Logical Operation="NOT">
                                                            <ScalarOperator>
                                                              <Logical Operation="IS NULL">
                                                                <ScalarOperator>
                                                                  <Identifier>
                                                                    <ColumnReference Column="Expr1043" />
                                                                  </Identifier>
                                                                </ScalarOperator>
                                                              </Logical>
                                                            </ScalarOperator>
                                                          </Logical>
                                                        </ScalarOperator>
                                                      </Condition>
                                                      <Then>
                                                        <ScalarOperator>
                                                          <Const ConstValue="(4)" />
                                                        </ScalarOperator>
                                                      </Then>
                                                      <Else>
                                                        <ScalarOperator>
                                                          <IF>
                                                            <Condition>
                                                              <ScalarOperator>
                                                                <Logical Operation="NOT">
                                                                  <ScalarOperator>
                                                                    <Logical Operation="IS NULL">
                                                                      <ScalarOperator>
                                                                        <Identifier>
                                                                          <ColumnReference Column="Expr1044" />
                                                                        </Identifier>
                                                                      </ScalarOperator>
                                                                    </Logical>
                                                                  </ScalarOperator>
                                                                </Logical>
                                                              </ScalarOperator>
                                                            </Condition>
                                                            <Then>
                                                              <ScalarOperator>
                                                                <Const ConstValue="(5)" />
                                                              </ScalarOperator>
                                                            </Then>
                                                            <Else>
                                                              <ScalarOperator>
                                                                <IF>
                                                                  <Condition>
                                                                    <ScalarOperator>
                                                                      <Logical Operation="NOT">
                                                                        <ScalarOperator>
                                                                          <Logical Operation="IS NULL">
                                                                            <ScalarOperator>
                                                                              <Identifier>
                                                                                <ColumnReference Column="Expr1045" />
                                                                              </Identifier>
                                                                            </ScalarOperator>
                                                                          </Logical>
                                                                        </ScalarOperator>
                                                                      </Logical>
                                                                    </ScalarOperator>
                                                                  </Condition>
                                                                  <Then>
                                                                    <ScalarOperator>
                                                                      <Const ConstValue="(6)" />
                                                                    </ScalarOperator>
                                                                  </Then>
                                                                  <Else>
                                                                    <ScalarOperator>
                                                                      <IF>
                                                                        <Condition>
                                                                          <ScalarOperator>
                                                                            <Logical Operation="NOT">
                                                                              <ScalarOperator>
                                                                                <Logical Operation="IS NULL">
                                                                                  <ScalarOperator>
                                                                                    <Identifier>
                                                                                      <ColumnReference Column="Expr1046" />
                                                                                    </Identifier>
                                                                                  </ScalarOperator>
                                                                                </Logical>
                                                                              </ScalarOperator>
                                                                            </Logical>
                                                                          </ScalarOperator>
                                                                        </Condition>
                                                                        <Then>
                                                                          <ScalarOperator>
                                                                            <Const ConstValue="(7)" />
                                                                          </ScalarOperator>
                                                                        </Then>
                                                                        <Else>
                                                                          <ScalarOperator>
                                                                            <IF>
                                                                              <Condition>
                                                                                <ScalarOperator>
                                                                                  <Logical Operation="NOT">
                                                                                    <ScalarOperator>
                                                                                      <Logical Operation="IS NULL">
                                                                                        <ScalarOperator>
                                                                                          <Identifier>
                                                                                            <ColumnReference Column="Expr1047" />
                                                                                          </Identifier>
                                                                                        </ScalarOperator>
                                                                                      </Logical>
                                                                                    </ScalarOperator>
                                                                                  </Logical>
                                                                                </ScalarOperator>
                                                                              </Condition>
                                                                              <Then>
                                                                                <ScalarOperator>
                                                                                  <Const ConstValue="(8)" />
                                                                                </ScalarOperator>
                                                                              </Then>
                                                                              <Else>
                                                                                <ScalarOperator>
                                                                                  <Const ConstValue="NULL" />
                                                                                </ScalarOperator>
                                                                              </Else>
                                                                            </IF>
                                                                          </ScalarOperator>
                                                                        </Else>
                                                                      </IF>
                                                                    </ScalarOperator>
                                                                  </Else>
                                                                </IF>
                                                              </ScalarOperator>
                                                            </Else>
                                                          </IF>
                                                        </ScalarOperator>
                                                      </Else>
                                                    </IF>
                                                  </ScalarOperator>
                                                </Else>
                                              </IF>
                                            </ScalarOperator>
                                          </Else>
                                        </IF>
                                      </ScalarOperator>
                                    </Else>
                                  </IF>
                                </ScalarOperator>
                              </Else>
                            </IF>
                          </ScalarOperator>
                        </Predicate>
                      </Assert>
                    </RelOp>
                  </Spool>
                </RelOp>
                <RelOp AvgRowSize="9" EstimateCPU="0.00160629" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="2769.47" LogicalOp="Assert" NodeId="48" Parallel="false" PhysicalOp="Assert" EstimatedTotalSubtreeCost="7.37639">
                  <OutputList />
                  <RunTimeInformation>
                    <RunTimeCountersPerThread Thread="0" ActualRows="7770" ActualEndOfScans="1" ActualExecutions="1" />
                  </RunTimeInformation>
                  <Assert StartupExpression="false">
                    <RelOp AvgRowSize="9" EstimateCPU="0.156678" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="2769.47" LogicalOp="Left Semi Join" NodeId="49" Parallel="false" PhysicalOp="Merge Join" EstimatedTotalSubtreeCost="7.37478">
                      <OutputList>
                        <ColumnReference Column="Expr1048" />
                      </OutputList>
                      <RunTimeInformation>
                        <RunTimeCountersPerThread Thread="0" ActualRows="7770" ActualEndOfScans="1" ActualExecutions="1" />
                      </RunTimeInformation>
                      <Merge ManyToMany="false">
                        <InnerSideJoinColumns>
                          <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContent]" Column="fkParentID" />
                        </InnerSideJoinColumns>
                        <OuterSideJoinColumns>
                          <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContent]" Column="pkID" />
                        </OuterSideJoinColumns>
                        <Residual>
                          <ScalarOperator ScalarString="[PhoenixCMS_RC].[dbo].[tblContent].[fkParentID]=[PhoenixCMS_RC].[dbo].[tblContent].[pkID]">
                            <Compare CompareOp="EQ">
                              <ScalarOperator>
                                <Identifier>
                                  <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContent]" Column="fkParentID" />
                                </Identifier>
                              </ScalarOperator>
                              <ScalarOperator>
                                <Identifier>
                                  <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContent]" Column="pkID" />
                                </Identifier>
                              </ScalarOperator>
                            </Compare>
                          </ScalarOperator>
                        </Residual>
                        <RelOp AvgRowSize="11" EstimateCPU="0.0557244" EstimateIO="0.0112613" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="3077.19" LogicalOp="Sort" NodeId="50" Parallel="false" PhysicalOp="Sort" EstimatedTotalSubtreeCost="6.98289">
                          <OutputList>
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContent]" Column="pkID" />
                          </OutputList>
                          <MemoryFractions Input="1" Output="1" />
                          <RunTimeInformation>
                            <RunTimeCountersPerThread Thread="0" ActualRebinds="1" ActualRewinds="0" ActualRows="7770" ActualEndOfScans="1" ActualExecutions="1" />
                          </RunTimeInformation>
                          <Sort Distinct="false">
                            <OrderBy>
                              <OrderByColumn Ascending="true">
                                <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContent]" Column="pkID" />
                              </OrderByColumn>
                            </OrderBy>
                            <RelOp AvgRowSize="11" EstimateCPU="0.000203866" EstimateIO="0" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="3077.19" LogicalOp="Eager Spool" NodeId="51" Parallel="false" PhysicalOp="Table Spool" EstimatedTotalSubtreeCost="6.9159">
                              <OutputList>
                                <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContent]" Column="pkID" />
                              </OutputList>
                              <RunTimeInformation>
                                <RunTimeCountersPerThread Thread="0" ActualRebinds="1" ActualRewinds="0" ActualRows="7770" ActualEndOfScans="1" ActualExecutions="1" />
                              </RunTimeInformation>
                              <Spool PrimaryNodeId="2" />
                            </RelOp>
                          </Sort>
                        </RelOp>
                        <RelOp AvgRowSize="11" EstimateCPU="0.0743124" EstimateIO="0.160903" EstimateRebinds="0" EstimateRewinds="0" EstimateRows="67414" LogicalOp="Index Scan" NodeId="52" Parallel="false" PhysicalOp="Index Scan" EstimatedTotalSubtreeCost="0.235215" TableCardinality="67414">
                          <OutputList>
                            <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContent]" Column="fkParentID" />
                          </OutputList>
                          <RunTimeInformation>
                            <RunTimeCountersPerThread Thread="0" ActualRows="59550" ActualEndOfScans="0" ActualExecutions="1" />
                          </RunTimeInformation>
                          <IndexScan Ordered="true" ScanDirection="FORWARD" ForcedIndex="true" ForceSeek="false" NoExpandHint="false">
                            <DefinedValues>
                              <DefinedValue>
                                <ColumnReference Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContent]" Column="fkParentID" />
                              </DefinedValue>
                            </DefinedValues>
                            <Object Database="[PhoenixCMS_RC]" Schema="[dbo]" Table="[tblContent]" Index="[IDX_tblContent_fkParentID]" IndexKind="NonClustered" />
                          </IndexScan>
                        </RelOp>
                      </Merge>
                    </RelOp>
                    <Predicate>
                      <ScalarOperator ScalarString="CASE WHEN NOT [Expr1048] IS NULL THEN (0) ELSE NULL END">
                        <IF>
                          <Condition>
                            <ScalarOperator>
                              <Logical Operation="NOT">
                                <ScalarOperator>
                                  <Logical Operation="IS NULL">
                                    <ScalarOperator>
                                      <Identifier>
                                        <ColumnReference Column="Expr1048" />
                                      </Identifier>
                                    </ScalarOperator>
                                  </Logical>
                                </ScalarOperator>
                              </Logical>
                            </ScalarOperator>
                          </Condition>
                          <Then>
                            <ScalarOperator>
                              <Const ConstValue="(0)" />
                            </ScalarOperator>
                          </Then>
                          <Else>
                            <ScalarOperator>
                              <Const ConstValue="NULL" />
                            </ScalarOperator>
                          </Else>
                        </IF>
                      </ScalarOperator>
                    </Predicate>
                  </Assert>
                </RelOp>
              </Sequence>
            </RelOp>
          </QueryPlan>
        </StmtSimple>
      </Statements>
    </Batch>
  </BatchSequence>
</ShowPlanXML>

    

#72533
Jun 19, 2013 17:09
Vote:
 

I did this test again on a large amount of content, 6000+ pages, and from the API, it either times out, gives me a zombie error, or takes around 4-6 hrs, while when i run the exec editDeleteChilds from the db, it takes a total of 8 min.  Also I did notice after doing the delete from the database, i'm getting some weird dojo errors (they aren't affecting me running the site, the cms/framework still work fine oddly enough) - but here they are below, not sure if they are related to the cache, or me running the delete from the db or what (i reset IIS to see if it was a cache issue, no go).

ErrorCtor {stack: "Error↵    at Error (<anonymous>)↵    at new ErrorC…Pi/Cms/component/SharedBlocksViewModel.js:190:18)", message: undefined, log: false, dojoType: "cancel", name: "CancelError"…}
 "Error
    at Error (<anonymous>)
    at new ErrorCtor (http://phoenixdweb.bbb.org/episerver/Shell/2.0.86/ClientResources/dtk/dojo/dojo.js:8554:21)
    at promise.cancel.cancel [as cancel] (http://phoenixdweb.bbb.org/episerver/Shell/2.0.86/ClientResources/dtk/dojo/dojo.js:8159:15)
    at null.<anonymous> (http://phoenixdweb.bbb.org/episerver/CMS/2.0.79/ClientResources/EPi/Cms/component/SiteTreeModel.js:142:33)
    at http://phoenixdweb.bbb.org/episerver/Shell/2.0.86/ClientResources/dtk/dojo/dojo.js:3135:55
    at Function.when (http://phoenixdweb.bbb.org/episerver/Shell/2.0.86/ClientResources/dtk/dojo/dojo.js:8957:12)
    at declare.getCurrentSite (http://phoenixdweb.bbb.org/episerver/CMS/2.0.79/ClientResources/EPi/Cms/component/SiteTreeModel.js:115:26)
    at declare.getAllLanguagesForCurrentSite (http://phoenixdweb.bbb.org/episerver/CMS/2.0.79/ClientResources/EPi/Cms/component/SiteTreeModel.js:176:22)
    at declare._allowMultilingual (http://phoenixdweb.bbb.org/episerver/CMS/2.0.79/ClientResources/EPi/Cms/_MultilingualMixin.js:77:38)
    at declare.constructor (http://phoenixdweb.bbb.org/episerver/CMS/2.0.79/ClientResources/EPi/Cms/component/SharedBlocksViewModel.js:190:18)
    ----------------------------------------
    rejected at signalDeferred (http://phoenixdweb.bbb.org/episerver/Shell/2.0.86/ClientResources/dtk/dojo/dojo.js:8286:15)
    at signalListener (http://phoenixdweb.bbb.org/episerver/Shell/2.0.86/ClientResources/dtk/dojo/dojo.js:8260:4)
    at Promise.then.promise.then (http://phoenixdweb.bbb.org/episerver/Shell/2.0.86/ClientResources/dtk/dojo/dojo.js:8460:5)
    at when (http://phoenixdweb.bbb.org/episerver/Shell/2.0.86/ClientResources/dtk/dojo/dojo.js:8968:26)
    at declare._allowMultilingual (http://phoenixdweb.bbb.org/episerver/CMS/2.0.79/ClientResources/EPi/Cms/_MultilingualMixin.js:77:13)
    at declare.constructor (http://phoenixdweb.bbb.org/episerver/CMS/2.0.79/ClientResources/EPi/Cms/component/SharedBlocksViewModel.js:190:18)
    at new <anonymous> (http://phoenixdweb.bbb.org/episerver/Shell/2.0.86/ClientResources/dtk/dojo/dojo.js:4337:8)
    at declare.postMixInProperties (http://phoenixdweb.bbb.org/episerver/CMS/2.0.79/ClientResources/EPi/Cms/component/SharedBlocks.js:134:53)
    at declare.create (http://phoenixdweb.bbb.org/episerver/Shell/2.0.86/ClientResources/dtk/dijit/_WidgetBase.js:341:8)
    at declare.postscript (http://phoenixdweb.bbb.org/episerver/Shell/2.0.86/ClientResources/dtk/dijit/_WidgetBase.js:300:8)
    ----------------------------------------
Error
    at Promise.then.promise.then (http://phoenixdweb.bbb.org/episerver/Shell/2.0.86/ClientResources/dtk/dojo/dojo.js:8454:24)
    at when (http://phoenixdweb.bbb.org/episerver/Shell/2.0.86/ClientResources/dtk/dojo/dojo.js:8968:26)
    at declare._allowMultilingual (http://phoenixdweb.bbb.org/episerver/CMS/2.0.79/ClientResources/EPi/Cms/_MultilingualMixin.js:77:13)
    at declare.constructor (http://phoenixdweb.bbb.org/episerver/CMS/2.0.79/ClientResources/EPi/Cms/component/SharedBlocksViewModel.js:190:18)
    at new <anonymous> (http://phoenixdweb.bbb.org/episerver/Shell/2.0.86/ClientResources/dtk/dojo/dojo.js:4337:8)
    at declare.postMixInProperties (http://phoenixdweb.bbb.org/episerver/CMS/2.0.79/ClientResources/EPi/Cms/component/SharedBlocks.js:134:53)
    at declare.create (http://phoenixdweb.bbb.org/episerver/Shell/2.0.86/ClientResources/dtk/dijit/_WidgetBase.js:341:8)
    at declare.postscript (http://phoenixdweb.bbb.org/episerver/Shell/2.0.86/ClientResources/dtk/dijit/_WidgetBase.js:300:8)
    at new <anonymous> (http://phoenixdweb.bbb.org/episerver/Shell/2.0.86/ClientResources/dtk/dojo/dojo.js:4343:7)
    at constructorExecutor (http://phoenixdweb.bbb.org/episerver/Shell/2.0.86/ClientResources/EPi/shell/widget/WidgetFactory.js:377:30)" dojo.js:8739
ErrorCtor {stack: "Error↵    at Error (<anonymous>)↵    at new ErrorC…ntResources/EPi/Cms/component/PageTree.js:213:18)", message: undefined, log: false, dojoType: "cancel", name: "CancelError"…}
 "Error
    at Error (<anonymous>)
    at new ErrorCtor (http://phoenixdweb.bbb.org/episerver/Shell/2.0.86/ClientResources/dtk/dojo/dojo.js:8554:21)
    at promise.cancel.cancel [as cancel] (http://phoenixdweb.bbb.org/episerver/Shell/2.0.86/ClientResources/dtk/dojo/dojo.js:8159:15)
    at null.<anonymous> (http://phoenixdweb.bbb.org/episerver/CMS/2.0.79/ClientResources/EPi/Cms/component/SiteTreeModel.js:142:33)
    at http://phoenixdweb.bbb.org/episerver/Shell/2.0.86/ClientResources/dtk/dojo/dojo.js:3135:55
    at Function.when (http://phoenixdweb.bbb.org/episerver/Shell/2.0.86/ClientResources/dtk/dojo/dojo.js:8957:12)
    at declare.getCurrentSite (http://phoenixdweb.bbb.org/episerver/CMS/2.0.79/ClientResources/EPi/Cms/component/SiteTreeModel.js:115:26)
    at declare.getAllLanguagesForCurrentSite (http://phoenixdweb.bbb.org/episerver/CMS/2.0.79/ClientResources/EPi/Cms/component/SiteTreeModel.js:176:22)
    at declare._allowMultilingual (http://phoenixdweb.bbb.org/episerver/CMS/2.0.79/ClientResources/EPi/Cms/_MultilingualMixin.js:77:38)
    at declare.startup (http://phoenixdweb.bbb.org/episerver/CMS/2.0.79/ClientResources/EPi/Cms/component/PageTree.js:213:18)
    ----------------------------------------
    rejected at signalDeferred (http://phoenixdweb.bbb.org/episerver/Shell/2.0.86/ClientResources/dtk/dojo/dojo.js:8286:15)
    at signalListener (http://phoenixdweb.bbb.org/episerver/Shell/2.0.86/ClientResources/dtk/dojo/dojo.js:8260:4)
    at Promise.then.promise.then (http://phoenixdweb.bbb.org/episerver/Shell/2.0.86/ClientResources/dtk/dojo/dojo.js:8460:5)
    at when (http://phoenixdweb.bbb.org/episerver/Shell/2.0.86/ClientResources/dtk/dojo/dojo.js:8968:26)
    at declare._allowMultilingual (http://phoenixdweb.bbb.org/episerver/CMS/2.0.79/ClientResources/EPi/Cms/_MultilingualMixin.js:77:13)
    at declare.startup (http://phoenixdweb.bbb.org/episerver/CMS/2.0.79/ClientResources/EPi/Cms/component/PageTree.js:213:18)
    at http://phoenixdweb.bbb.org/episerver/Shell/2.0.86/ClientResources/dtk/dijit/_WidgetsInTemplateMixin.js:59:8
    at Object.array.forEach (http://phoenixdweb.bbb.org/episerver/Shell/2.0.86/ClientResources/dtk/dojo/dojo.js:3612:6)
    at declare.startup (http://phoenixdweb.bbb.org/episerver/Shell/2.0.86/ClientResources/dtk/dijit/_WidgetsInTemplateMixin.js:57:10)
    at http://phoenixdweb.bbb.org/episerver/Shell/2.0.86/ClientResources/dtk/dijit/_WidgetBase.js:516:9
    ----------------------------------------
Error
    at Promise.then.promise.then (http://phoenixdweb.bbb.org/episerver/Shell/2.0.86/ClientResources/dtk/dojo/dojo.js:8454:24)
    at when (http://phoenixdweb.bbb.org/episerver/Shell/2.0.86/ClientResources/dtk/dojo/dojo.js:8968:26)
    at declare._allowMultilingual (http://phoenixdweb.bbb.org/episerver/CMS/2.0.79/ClientResources/EPi/Cms/_MultilingualMixin.js:77:13)
    at declare.startup (http://phoenixdweb.bbb.org/episerver/CMS/2.0.79/ClientResources/EPi/Cms/component/PageTree.js:213:18)
    at http://phoenixdweb.bbb.org/episerver/Shell/2.0.86/ClientResources/dtk/dijit/_WidgetsInTemplateMixin.js:59:8
    at Object.array.forEach (http://phoenixdweb.bbb.org/episerver/Shell/2.0.86/ClientResources/dtk/dojo/dojo.js:3612:6)
    at declare.startup (http://phoenixdweb.bbb.org/episerver/Shell/2.0.86/ClientResources/dtk/dijit/_WidgetsInTemplateMixin.js:57:10)
    at http://phoenixdweb.bbb.org/episerver/Shell/2.0.86/ClientResources/dtk/dijit/_WidgetBase.js:516:9
    at Object.array.forEach (http://phoenixdweb.bbb.org/episerver/Shell/2.0.86/ClientResources/dtk/dojo/dojo.js:3612:6)
    at declare.startup (http://phoenixdweb.bbb.org/episerver/Shell/2.0.86/ClientResources/dtk/dijit/_WidgetBase.js:514:9)" dojo.js:8739
ErrorCtor {stack: "Error↵    at Error (<anonymous>)↵    at new ErrorC…86/ClientResources/dtk/dijit/_WidgetBase.js:516:9", message: undefined, log: false, dojoType: "cancel", name: "CancelError"…}
 "Error
    at Error (<anonymous>)
    at new ErrorCtor (http://phoenixdweb.bbb.org/episerver/Shell/2.0.86/ClientResources/dtk/dojo/dojo.js:8554:21)
    at promise.cancel.cancel [as cancel] (http://phoenixdweb.bbb.org/episerver/Shell/2.0.86/ClientResources/dtk/dojo/dojo.js:8159:15)
    at null.<anonymous> (http://phoenixdweb.bbb.org/episerver/CMS/2.0.79/ClientResources/EPi/Cms/component/SiteTreeModel.js:142:33)
    at http://phoenixdweb.bbb.org/episerver/Shell/2.0.86/ClientResources/dtk/dojo/dojo.js:3135:55
    at Function.when (http://phoenixdweb.bbb.org/episerver/Shell/2.0.86/ClientResources/dtk/dojo/dojo.js:8957:12)
    at declare.getCurrentSite (http://phoenixdweb.bbb.org/episerver/CMS/2.0.79/ClientResources/EPi/Cms/component/SiteTreeModel.js:115:26)
    at declare._setTreePath (http://phoenixdweb.bbb.org/episerver/CMS/2.0.79/ClientResources/EPi/Cms/component/SiteTree.js:96:43)
    at declare.startup (http://phoenixdweb.bbb.org/episerver/CMS/2.0.79/ClientResources/EPi/Cms/component/SiteTree.js:92:18)
    at http://phoenixdweb.bbb.org/episerver/Shell/2.0.86/ClientResources/dtk/dijit/_WidgetBase.js:516:9
    ----------------------------------------
    rejected at signalDeferred (http://phoenixdweb.bbb.org/episerver/Shell/2.0.86/ClientResources/dtk/dojo/dojo.js:8286:15)
    at signalListener (http://phoenixdweb.bbb.org/episerver/Shell/2.0.86/ClientResources/dtk/dojo/dojo.js:8260:4)
    at Promise.then.promise.then (http://phoenixdweb.bbb.org/episerver/Shell/2.0.86/ClientResources/dtk/dojo/dojo.js:8460:5)
    at Function.when (http://phoenixdweb.bbb.org/episerver/Shell/2.0.86/ClientResources/dtk/dojo/dojo.js:8968:26)
    at declare._setTreePath (http://phoenixdweb.bbb.org/episerver/CMS/2.0.79/ClientResources/EPi/Cms/component/SiteTree.js:96:22)
    at declare.startup (http://phoenixdweb.bbb.org/episerver/CMS/2.0.79/ClientResources/EPi/Cms/component/SiteTree.js:92:18)
    at http://phoenixdweb.bbb.org/episerver/Shell/2.0.86/ClientResources/dtk/dijit/_WidgetBase.js:516:9
    at Object.array.forEach (http://phoenixdweb.bbb.org/episerver/Shell/2.0.86/ClientResources/dtk/dojo/dojo.js:3612:6)
    at declare.startup (http://phoenixdweb.bbb.org/episerver/Shell/2.0.86/ClientResources/dtk/dijit/_WidgetBase.js:514:9)
    at inherited__debug [as inherited] (http://phoenixdweb.bbb.org/episerver/Shell/2.0.86/ClientResources/dtk/dojo/dojo.js:4156:19)
    ----------------------------------------
Error
    at Promise.then.promise.then (http://phoenixdweb.bbb.org/episerver/Shell/2.0.86/ClientResources/dtk/dojo/dojo.js:8454:24)
    at Function.when (http://phoenixdweb.bbb.org/episerver/Shell/2.0.86/ClientResources/dtk/dojo/dojo.js:8968:26)
    at declare._setTreePath (http://phoenixdweb.bbb.org/episerver/CMS/2.0.79/ClientResources/EPi/Cms/component/SiteTree.js:96:22)
    at declare.startup (http://phoenixdweb.bbb.org/episerver/CMS/2.0.79/ClientResources/EPi/Cms/component/SiteTree.js:92:18)
    at http://phoenixdweb.bbb.org/episerver/Shell/2.0.86/ClientResources/dtk/dijit/_WidgetBase.js:516:9
    at Object.array.forEach (http://phoenixdweb.bbb.org/episerver/Shell/2.0.86/ClientResources/dtk/dojo/dojo.js:3612:6)
    at declare.startup (http://phoenixdweb.bbb.org/episerver/Shell/2.0.86/ClientResources/dtk/dijit/_WidgetBase.js:514:9)
    at inherited__debug [as inherited] (http://phoenixdweb.bbb.org/episerver/Shell/2.0.86/ClientResources/dtk/dojo/dojo.js:4156:19)
    at declare.startup (http://phoenixdweb.bbb.org/episerver/Shell/2.0.86/ClientResources/dtk/dijit/layout/_LayoutWidget.js:55:9)
    at inherited__debug [as inherited] (http://phoenixdweb.bbb.org/episerver/Shell/2.0.86/ClientResources/dtk/dojo/dojo.js:4156:19)" 

    

#72539
Jun 20, 2013 4:46
Vote:
 

A theory:

When you empty recycle bin from UI it runs on the request thread and i belive you get request timeout or DB Connection timeout and in this case DB connection be disposed and and the DB handler try to do rollback becuase the connection is disposed then you get the Zombie error. ( i think we have fixed it in the next version).

If the theory is correct you can do a a workaround by increase the timeout  values OR you can use the async version of deletechildren like this pseudo code

AsyncDataFactory asyncDF = new AsyncDataFactory(DataFactory.Instance);

asyncDF.DeleteChildrenCompleted += 

delegate(object sender, System.ComponentModel.AsyncCompletedEventArgs args)
{

//Insert code when the operation is completed

}

asyncDF.DeleteChildrenAsync(PageReference.WasteBasket, null);

 

 

#72543
Jun 20, 2013 9:02
Vote:
 

I'm experiencing this issue using the EPiServer UI on 7.1.2 trying to empty the trash when it contains several thousand pages.  When I click the 'Empty Trash' button a POST is sent to 

/EPiServer/cms/Stores/wastebasket/2.  After spinning for about 90 seconds I get a json response back from the call:

{}&&{"isSuccess":false,"isPartialSuccess":false,"message":"This SqlTransaction has completed; it is no longer usable.","extraInformation":null}

and a message is displayed on the UI saying "You do not have access rights to permanently delete content in trash".

 

I have followed up on Shahram Shahinzadeh theory and set the Connection Timeout to 0 and am still getting the error.  Does anyone have any advice on this?  

If the sql transaction is indeed timing out and EPi can't delete a large number of pages from the Trash, this sounds like a bug to me.

 

UPDATE:  If I 'restore' the majority of the items and then try to empty the trash when there are only a few (~30) pages in the trash it works.  But this is extremely frustrating if I can only delete small groups of pages at a time.

#77596
Edited, Nov 21, 2013 11:39
Vote:
 

try to set the commandTimeout also, you can set it by databaseQueryTimeout on episerver.dataStore -> dataSettings.

#77601
Nov 21, 2013 13:09
Vote:
 

HI Shahram, thanks for the reply.  I did some more tinkering and I think the issue might have been that one of the many pages I was trying to delete (page A) was 'used' on a page that I wasn't trying to delete (page B).  When I initially moved the pages I wanted to delete to the trash, EPi gave me a warning that page B had referenced page A, but the dialog said I could delete page A anyway. 


When I deleted page B I was able to move forward with all of my other deletes.  I tried again deleting several thousand pages that were not referenced by anything else and I didn't get the error. 

#77602
Nov 21, 2013 13:29
Vote:
 

mmm. if you get warning from EPi about refrences it is only notification that syas to user you are going to get broken link.

Do you have any special event handing on deleting event on Pages?

#77603
Nov 21, 2013 13:39
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.