Why does this union add so much time?

  • brian 20008 (12/1/2011)


    Agreed, it just seems to be with the overall execution.

    The indivudual queries (prior and post the union statement) run quick. It's only when everything is run and the union is performed that everything slows to a crawl.

    I had the same issue a year or 2 back with UNION ALL and solved it the same way you did. I never resolved the "why," so I am interested to see execution plans.

    Jared

    Jared
    CE - Microsoft

  • I don't usually work with the XML execution plans so pardon me if it's not a clean post...

    Estimated Plan...

    <ShowPlanXML xmlns="http://schemas.microsoft.com/sqlserver/2004/07/showplan" Version="1.1" Build="10.0.2746.0"><BatchSequence><Batch><Statements><StmtSimple StatementText="declare @ReaderId int declare @FilterAssigned bit set @readerId = 100; " StatementId="1" StatementCompId="1" StatementType="ASSIGN"/><StmtSimple StatementText=" set @FilterAssigned = 0; " StatementId="2" StatementCompId="2" StatementType="ASSIGN"/><StmtSimple StatementText=" select [Status] = esc.statusname, [Parent] = null, [Criteria] = ' = ''' + rtrim(esc.StatusCode) + '''', [Count] = sum(isnull(rq.[SubItemCount], 0)), [PickList] = rtrim(ESC.StatusDesc) + ' - [ ' + Cast(sum(isnull(rq.[SubItemCount], 0)) as varchar(5)) + ' Cases ] ', [Institution] = 'CATEGORY', [Modality] = '', [TagText] = '' from EXAM_STATUS_CODES esc left outer join view_ReadingQueue as rq on ( rq.Parent = esc.statusname ) where esc.UseInMainList = 1 and ( -- Get Non-Peer Categories without regard to Assignments (esc.statusname != 'PEER' And @FilterAssigned = 0) OR -- Get Non-Peer Categories Assigned to this Doc (esc.statusname != 'PEER' And @FilterAssigned = 1 And rq.AssignedReaderID = @ReaderID) OR -- Get PEER total count Not Read by this Doc (esc.statusname = 'PEER' And rq.AssignedReaderID != @ReaderID) ) group by esc.statusname, esc.StatusCode, ESC.StatusDesc union select [Status] = 'SubItem', [Parent] = rq.[Parent], [Criteria] = ' = ''' + rtrim(rq.StatusCode) + '''', [Count] = rq.subItemCount, [PickList] = rtrim(rq.Institution) + ' - ' + rq.Modality + ' [ ' + Cast(rq.SubItemCount as varchar(5)) + ' Cases ] ', [Institution] = rq.Institution, [Modality] = rq.modality, [TagText] = '' from view_ReadingQueue as rq where ( -- Get Non-Peer Subitems without regard to Assignments (rq.[Parent] != 'PEER' And @FilterAssigned = 0) OR -- Get Non-Peer SubItems Assigned to this Doc (rq.[Parent] != 'PEER' And @FilterAssigned = 1 And rq.AssignedReaderID = @ReaderID) OR -- Get PEER subitems Not Read by this Doc (rq.[Parent] = 'PEER' And rq.AssignedReaderID != @ReaderID) ) order by [Parent] " StatementId="3" StatementCompId="3" StatementType="SELECT" StatementSubTreeCost="25.5893" StatementEstRows="101059" StatementOptmLevel="FULL" QueryHash="0x9B6A47C379FE4375" QueryPlanHash="0x9B6727C80D5E8943"><StatementSetOptions QUOTED_IDENTIFIER="true" ARITHABORT="true" CONCAT_NULL_YIELDS_NULL="true" ANSI_NULLS="true" ANSI_PADDING="true" ANSI_WARNINGS="true" NUMERIC_ROUNDABORT="false"/><QueryPlan CachedPlanSize="224" CompileTime="773" CompileCPU="773" CompileMemory="2800"><RelOp NodeId="0" PhysicalOp="Parallelism" LogicalOp="Gather Streams" EstimateRows="101059" EstimateIO="0" EstimateCPU="0.662121" AvgRowSize="227" EstimatedTotalSubtreeCost="25.5893" Parallel="1" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Column="Union1037"/><ColumnReference Column="Union1038"/><ColumnReference Column="Union1039"/><ColumnReference Column="Union1040"/><ColumnReference Column="Union1041"/><ColumnReference Column="Union1042"/><ColumnReference Column="Union1043"/><ColumnReference Column="Union1044"/></OutputList><Parallelism><OrderBy><OrderByColumn Ascending="1"><ColumnReference Column="Union1038"/></OrderByColumn></OrderBy><RelOp NodeId="1" PhysicalOp="Stream Aggregate" LogicalOp="Aggregate" EstimateRows="101059" EstimateIO="0" EstimateCPU="0.0126325" AvgRowSize="227" EstimatedTotalSubtreeCost="24.9271" Parallel="1" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Column="Union1037"/><ColumnReference Column="Union1038"/><ColumnReference Column="Union1039"/><ColumnReference Column="Union1040"/><ColumnReference Column="Union1041"/><ColumnReference Column="Union1042"/><ColumnReference Column="Union1043"/><ColumnReference Column="Union1044"/></OutputList><StreamAggregate><DefinedValues/><GroupBy><ColumnReference Column="Union1038"/><ColumnReference Column="Union1037"/><ColumnReference Column="Union1039"/><ColumnReference Column="Union1040"/><ColumnReference Column="Union1041"/><ColumnReference Column="Union1042"/><ColumnReference Column="Union1043"/><ColumnReference Column="Union1044"/></GroupBy><RelOp NodeId="2" PhysicalOp="Sort" LogicalOp="Sort" EstimateRows="101060" EstimateIO="0.00140766" EstimateCPU="0.963978" AvgRowSize="227" EstimatedTotalSubtreeCost="24.9145" Parallel="1" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Column="Union1037"/><ColumnReference Column="Union1038"/><ColumnReference Column="Union1039"/><ColumnReference Column="Union1040"/><ColumnReference Column="Union1041"/><ColumnReference Column="Union1042"/><ColumnReference Column="Union1043"/><ColumnReference Column="Union1044"/></OutputList><MemoryFractions Input="0.283601" Output="1"/><Sort Distinct="0"><OrderBy><OrderByColumn Ascending="1"><ColumnReference Column="Union1038"/></OrderByColumn><OrderByColumn Ascending="1"><ColumnReference Column="Union1037"/></OrderByColumn><OrderByColumn Ascending="1"><ColumnReference Column="Union1039"/></OrderByColumn><OrderByColumn Ascending="1"><ColumnReference Column="Union1040"/></OrderByColumn><OrderByColumn Ascending="1"><ColumnReference Column="Union1041"/></OrderByColumn><OrderByColumn Ascending="1"><ColumnReference Column="Union1042"/></OrderByColumn><OrderByColumn Ascending="1"><ColumnReference Column="Union1043"/></OrderByColumn></OrderBy><RelOp NodeId="3" PhysicalOp="Concatenation" LogicalOp="Concatenation" EstimateRows="101060" EstimateIO="0" EstimateCPU="0.00126325" AvgRowSize="227" EstimatedTotalSubtreeCost="23.9491" Parallel="1" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Column="Union1037"/><ColumnReference Column="Union1038"/><ColumnReference Column="Union1039"/><ColumnReference Column="Union1040"/><ColumnReference Column="Union1041"/><ColumnReference Column="Union1042"/><ColumnReference Column="Union1043"/><ColumnReference Column="Union1044"/></OutputList><Concat><DefinedValues><DefinedValue><ColumnReference Column="Union1037"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/><ColumnReference Column="Expr1033"/></DefinedValue><DefinedValue><ColumnReference Column="Union1038"/><ColumnReference Column="Expr1015"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/></DefinedValue><DefinedValue><ColumnReference Column="Union1039"/><ColumnReference Column="Expr1016"/><ColumnReference Column="Expr1034"/></DefinedValue><DefinedValue><ColumnReference Column="Union1040"/><ColumnReference Column="Expr1014"/><ColumnReference Column="Expr1030"/></DefinedValue><DefinedValue><ColumnReference Column="Union1041"/><ColumnReference Column="Expr1017"/><ColumnReference Column="Expr1035"/></DefinedValue><DefinedValue><ColumnReference Column="Union1042"/><ColumnReference Column="Expr1018"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Institution"/></DefinedValue><DefinedValue><ColumnReference Column="Union1043"/><ColumnReference Column="Expr1019"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Modality"/></DefinedValue><DefinedValue><ColumnReference Column="Union1044"/><ColumnReference Column="Expr1020"/><ColumnReference Column="Expr1036"/></DefinedValue></DefinedValues><RelOp NodeId="4" PhysicalOp="Parallelism" LogicalOp="Repartition Streams" EstimateRows="11" EstimateIO="0" EstimateCPU="0.028523" AvgRowSize="102" EstimatedTotalSubtreeCost="12.1933" Parallel="1" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/><ColumnReference Column="Expr1014"/><ColumnReference Column="Expr1015"/><ColumnReference Column="Expr1016"/><ColumnReference Column="Expr1017"/><ColumnReference Column="Expr1018"/><ColumnReference Column="Expr1019"/><ColumnReference Column="Expr1020"/></OutputList><Parallelism PartitioningType="Hash"><PartitionColumns><ColumnReference Column="Expr1015"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/><ColumnReference Column="Expr1016"/><ColumnReference Column="Expr1014"/><ColumnReference Column="Expr1017"/><ColumnReference Column="Expr1018"/><ColumnReference Column="Expr1019"/><ColumnReference Column="Expr1020"/></PartitionColumns><RelOp NodeId="5" PhysicalOp="Compute Scalar" LogicalOp="Compute Scalar" EstimateRows="11" EstimateIO="0" EstimateCPU="1.375e-007" AvgRowSize="102" EstimatedTotalSubtreeCost="12.1648" Parallel="1" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/><ColumnReference Column="Expr1014"/><ColumnReference Column="Expr1015"/><ColumnReference Column="Expr1016"/><ColumnReference Column="Expr1017"/><ColumnReference Column="Expr1018"/><ColumnReference Column="Expr1019"/><ColumnReference Column="Expr1020"/></OutputList><ComputeScalar><DefinedValues><DefinedValue><ColumnReference Column="Expr1015"/><ScalarOperator ScalarString="NULL"><Const ConstValue="NULL"/></ScalarOperator></DefinedValue><DefinedValue><ColumnReference Column="Expr1016"/><ScalarOperator ScalarString="(' = '''+rtrim([STAIR].[dbo].[EXAM_STATUS_CODES].[StatusCode] as [esc].[StatusCode]))+''''"><Arithmetic Operation="ADD"><ScalarOperator><Arithmetic Operation="ADD"><ScalarOperator><Const ConstValue="' = '''"/></ScalarOperator><ScalarOperator><Intrinsic FunctionName="rtrim"><ScalarOperator><Identifier><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusCode"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator></Arithmetic></ScalarOperator><ScalarOperator><Const ConstValue="''''"/></ScalarOperator></Arithmetic></ScalarOperator></DefinedValue><DefinedValue><ColumnReference Column="Expr1017"/><ScalarOperator ScalarString="((rtrim([STAIR].[dbo].[EXAM_STATUS_CODES].[StatusDesc] as [esc].[StatusDesc])+' - [ ')+CONVERT(varchar(5),[Expr1014],0))+' Cases ] '"><Arithmetic Operation="ADD"><ScalarOperator><Arithmetic Operation="ADD"><ScalarOperator><Arithmetic Operation="ADD"><ScalarOperator><Intrinsic FunctionName="rtrim"><ScalarOperator><Identifier><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusDesc"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator><ScalarOperator><Const ConstValue="' - [ '"/></ScalarOperator></Arithmetic></ScalarOperator><ScalarOperator><Convert DataType="varchar" Length="5" Style="0" Implicit="0"><ScalarOperator><Identifier><ColumnReference Column="Expr1014"/></Identifier></ScalarOperator></Convert></ScalarOperator></Arithmetic></ScalarOperator><ScalarOperator><Const ConstValue="' Cases ] '"/></ScalarOperator></Arithmetic></ScalarOperator></DefinedValue><DefinedValue><ColumnReference Column="Expr1018"/><ScalarOperator ScalarString="'CATEGORY'"><Const ConstValue="'CATEGORY'"/></ScalarOperator></DefinedValue><DefinedValue><ColumnReference Column="Expr1019"/><ScalarOperator ScalarString="''"><Const ConstValue="''"/></ScalarOperator></DefinedValue><DefinedValue><ColumnReference Column="Expr1020"/><ScalarOperator ScalarString="''"><Const ConstValue="''"/></ScalarOperator></DefinedValue></DefinedValues><RelOp NodeId="6" PhysicalOp="Stream Aggregate" LogicalOp="Aggregate" EstimateRows="11" EstimateIO="0" EstimateCPU="7.2875e-006" AvgRowSize="121" EstimatedTotalSubtreeCost="12.1648" Parallel="1" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusCode"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusDesc"/><ColumnReference Column="Expr1014"/></OutputList><StreamAggregate><DefinedValues><DefinedValue><ColumnReference Column="Expr1014"/><ScalarOperator ScalarString="SUM([partialagg1055])"><Aggregate Distinct="0" AggType="SUM"><ScalarOperator><Identifier><ColumnReference Column="partialagg1055"/></Identifier></ScalarOperator></Aggregate></ScalarOperator></DefinedValue><DefinedValue><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/><ScalarOperator ScalarString="ANY([STAIR].[dbo].[EXAM_STATUS_CODES].[StatusName] as [esc].[StatusName])"><Aggregate Distinct="0" AggType="ANY"><ScalarOperator><Identifier><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/></Identifier></ScalarOperator></Aggregate></ScalarOperator></DefinedValue><DefinedValue><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusDesc"/><ScalarOperator ScalarString="ANY([STAIR].[dbo].[EXAM_STATUS_CODES].[StatusDesc] as [esc].[StatusDesc])"><Aggregate Distinct="0" AggType="ANY"><ScalarOperator><Identifier><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusDesc"/></Identifier></ScalarOperator></Aggregate></ScalarOperator></DefinedValue></DefinedValues><GroupBy><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusCode"/></GroupBy><RelOp NodeId="7" PhysicalOp="Sort" LogicalOp="Sort" EstimateRows="88" EstimateIO="0.00140766" EstimateCPU="0.000123359" AvgRowSize="121" EstimatedTotalSubtreeCost="12.1648" Parallel="1" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusCode"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusDesc"/><ColumnReference Column="partialagg1055"/></OutputList><MemoryFractions Input="0.000615953" Output="0.716399"/><Sort Distinct="0"><OrderBy><OrderByColumn Ascending="1"><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusCode"/></OrderByColumn></OrderBy><RelOp NodeId="8" PhysicalOp="Parallelism" LogicalOp="Repartition Streams" EstimateRows="88" EstimateIO="0" EstimateCPU="0.0285343" AvgRowSize="121" EstimatedTotalSubtreeCost="12.1633" Parallel="1" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusCode"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusDesc"/><ColumnReference Column="partialagg1055"/></OutputList><Parallelism PartitioningType="Hash"><PartitionColumns><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusCode"/></PartitionColumns><RelOp NodeId="9" PhysicalOp="Hash Match" LogicalOp="Partial Aggregate" EstimateRows="88" EstimateIO="0" EstimateCPU="0.059344" AvgRowSize="121" EstimatedTotalSubtreeCost="12.1347" Parallel="1" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusCode"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusDesc"/><ColumnReference Column="partialagg1055"/></OutputList><MemoryFractions Input="0" Output="0"/><Hash><DefinedValues><DefinedValue><ColumnReference Column="partialagg1055"/><ScalarOperator ScalarString="SUM(isnull([Expr1011],(0)))"><Aggregate Distinct="0" AggType="SUM"><ScalarOperator><Intrinsic FunctionName="isnull"><ScalarOperator><Identifier><ColumnReference Column="Expr1011"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="(0)"/></ScalarOperator></Intrinsic></ScalarOperator></Aggregate></ScalarOperator></DefinedValue><DefinedValue><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/><ScalarOperator ScalarString="ANY([STAIR].[dbo].[EXAM_STATUS_CODES].[StatusName] as [esc].[StatusName])"><Aggregate Distinct="0" AggType="ANY"><ScalarOperator><Identifier><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/></Identifier></ScalarOperator></Aggregate></ScalarOperator></DefinedValue><DefinedValue><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusDesc"/><ScalarOperator ScalarString="ANY([STAIR].[dbo].[EXAM_STATUS_CODES].[StatusDesc] as [esc].[StatusDesc])"><Aggregate Distinct="0" AggType="ANY"><ScalarOperator><Identifier><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusDesc"/></Identifier></ScalarOperator></Aggregate></ScalarOperator></DefinedValue></DefinedValues><HashKeysBuild><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusCode"/></HashKeysBuild><BuildResidual><ScalarOperator ScalarString="[STAIR].[dbo].[EXAM_STATUS_CODES].[StatusCode] as [esc].[StatusCode] = [STAIR].[dbo].[EXAM_STATUS_CODES].[StatusCode] as [esc].[StatusCode]"><Compare CompareOp="IS"><ScalarOperator><Identifier><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusCode"/></Identifier></ScalarOperator><ScalarOperator><Identifier><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusCode"/></Identifier></ScalarOperator></Compare></ScalarOperator></BuildResidual><RelOp NodeId="10" PhysicalOp="Filter" LogicalOp="Filter" EstimateRows="42863.1" EstimateIO="0" EstimateCPU="0.041937" AvgRowSize="121" EstimatedTotalSubtreeCost="12.0754" Parallel="1" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusCode"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusDesc"/><ColumnReference Column="Expr1011"/></OutputList><Filter StartupExpression="0"><RelOp NodeId="11" PhysicalOp="Hash Match" LogicalOp="Left Outer Join" EstimateRows="147147" EstimateIO="0" EstimateCPU="0.465761" AvgRowSize="125" EstimatedTotalSubtreeCost="12.0335" Parallel="1" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusCode"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusDesc"/><ColumnReference Column="Expr1011"/><ColumnReference Column="Expr1012"/></OutputList><MemoryFractions Input="0.00589491" Output="0.00595421"/><Hash><DefinedValues/><HashKeysBuild><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/></HashKeysBuild><HashKeysProbe><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/></HashKeysProbe><ProbeResidual><ScalarOperator ScalarString="[STAIR].[dbo].[EXAM_STATUS_CODES].[StatusName] as [esc].[StatusName]=[STAIR].[dbo].[EXAM_STATUS_CODES].[StatusName] as [esc].[StatusName]"><Compare CompareOp="EQ"><ScalarOperator><Identifier><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/></Identifier></ScalarOperator><ScalarOperator><Identifier><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/></Identifier></ScalarOperator></Compare></ScalarOperator></ProbeResidual><RelOp NodeId="12" PhysicalOp="Bitmap" LogicalOp="Bitmap Create" EstimateRows="1" EstimateIO="0" EstimateCPU="0.0285108" AvgRowSize="117" EstimatedTotalSubtreeCost="0.0604352" Parallel="1" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusCode"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusDesc"/></OutputList><Bitmap><DefinedValues><DefinedValue><ColumnReference Column="Bitmap1058"/></DefinedValue></DefinedValues><HashKeys><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/></HashKeys><RelOp NodeId="13" PhysicalOp="Parallelism" LogicalOp="Repartition Streams" EstimateRows="1" EstimateIO="0" EstimateCPU="0.0285108" AvgRowSize="117" EstimatedTotalSubtreeCost="0.0604352" Parallel="1" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusCode"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusDesc"/></OutputList><Parallelism PartitioningType="Hash"><PartitionColumns><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/></PartitionColumns><RelOp NodeId="14" PhysicalOp="Parallelism" LogicalOp="Distribute Streams" EstimateRows="1" EstimateIO="0" EstimateCPU="0.0285107" AvgRowSize="118" EstimatedTotalSubtreeCost="0.0318059" Parallel="1" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusCode"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusDesc"/></OutputList><Parallelism PartitioningType="RoundRobin"><RelOp NodeId="15" PhysicalOp="Clustered Index Scan" LogicalOp="Clustered Index Scan" EstimateRows="1" EstimateIO="0.003125" EstimateCPU="0.0001702" AvgRowSize="118" EstimatedTotalSubtreeCost="0.0032952" TableCardinality="12" Parallel="0" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusCode"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusDesc"/></OutputList><IndexScan Ordered="0" ForcedIndex="0" NoExpandHint="0"><DefinedValues><DefinedValue><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusCode"/></DefinedValue><DefinedValue><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/></DefinedValue><DefinedValue><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusDesc"/></DefinedValue></DefinedValues><Object Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Index="[PK_STATUS_CODES_STAIR_SCHEMA_2.9.01]" Alias="[esc]" TableReferenceId="1" IndexKind="Clustered"/><Predicate><ScalarOperator ScalarString="[STAIR].[dbo].[EXAM_STATUS_CODES].[UseInMainList] as [esc].[UseInMainList]=(1)"><Compare CompareOp="EQ"><ScalarOperator><Identifier><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="UseInMainList"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="(1)"/></ScalarOperator></Compare></ScalarOperator></Predicate></IndexScan></RelOp></Parallelism></RelOp></Parallelism></RelOp></Bitmap></RelOp><RelOp NodeId="16" PhysicalOp="Compute Scalar" LogicalOp="Compute Scalar" EstimateRows="351276" EstimateIO="0" EstimateCPU="0.00439094" AvgRowSize="21" EstimatedTotalSubtreeCost="11.5073" Parallel="1" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/><ColumnReference Column="Expr1011"/><ColumnReference Column="Expr1012"/></OutputList><ComputeScalar><DefinedValues><DefinedValue><ColumnReference Column="Expr1012"/><ScalarOperator ScalarString="isnull([STAIR].[dbo].[ReadingAssignments].[AssignedRad] as [ra].[AssignedRad],(0))"><Intrinsic FunctionName="isnull"><ScalarOperator><Identifier><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[ReadingAssignments]" Alias="[ra]" Column="AssignedRad"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="(0)"/></ScalarOperator></Intrinsic></ScalarOperator></DefinedValue></DefinedValues><RelOp NodeId="18" PhysicalOp="Compute Scalar" LogicalOp="Compute Scalar" EstimateRows="351276" EstimateIO="0" EstimateCPU="0.00439094" AvgRowSize="21" EstimatedTotalSubtreeCost="11.5029" Parallel="1" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[ReadingAssignments]" Alias="[ra]" Column="AssignedRad"/><ColumnReference Column="Expr1011"/></OutputList><ComputeScalar><DefinedValues><DefinedValue><ColumnReference Column="Expr1011"/><ScalarOperator ScalarString="CONVERT_IMPLICIT(int,[globalagg1054],0)"><Convert DataType="int" Style="0" Implicit="1"><ScalarOperator><Identifier><ColumnReference Column="globalagg1054"/></Identifier></ScalarOperator></Convert></ScalarOperator></DefinedValue></DefinedValues><RelOp NodeId="19" PhysicalOp="Parallelism" LogicalOp="Repartition Streams" EstimateRows="351276" EstimateIO="0" EstimateCPU="0.222898" AvgRowSize="25" EstimatedTotalSubtreeCost="11.4985" Parallel="1" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[ReadingAssignments]" Alias="[ra]" Column="AssignedRad"/><ColumnReference Column="globalagg1054"/></OutputList><Parallelism PartitioningType="Hash"><PartitionColumns><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/></PartitionColumns><Predicate><ScalarOperator ScalarString="PROBE([Bitmap1058],[STAIR].[dbo].[EXAM_STATUS_CODES].[StatusName] as [esc].[StatusName])"><Intrinsic FunctionName="PROBE"><ScalarOperator><Identifier><ColumnReference Column="Bitmap1058"/></Identifier></ScalarOperator><ScalarOperator><Identifier><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator></Predicate><RelOp NodeId="20" PhysicalOp="Stream Aggregate" LogicalOp="Aggregate" EstimateRows="351276" EstimateIO="0" EstimateCPU="0.0487879" AvgRowSize="25" EstimatedTotalSubtreeCost="11.2756" Parallel="1" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[ReadingAssignments]" Alias="[ra]" Column="AssignedRad"/><ColumnReference Column="globalagg1054"/></OutputList><StreamAggregate><DefinedValues><DefinedValue><ColumnReference Column="globalagg1054"/><ScalarOperator ScalarString="SUM([partialagg1053])"><Aggregate Distinct="0" AggType="SUM"><ScalarOperator><Identifier><ColumnReference Column="partialagg1053"/></Identifier></ScalarOperator></Aggregate></ScalarOperator></DefinedValue><DefinedValue><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/><ScalarOperator ScalarString="ANY([STAIR].[dbo].[EXAM_STATUS_CODES].[StatusName] as [esc].[StatusName])"><Aggregate Distinct="0" AggType="ANY"><ScalarOperator><Identifier><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/></Identifier></ScalarOperator></Aggregate></ScalarOperator></DefinedValue></DefinedValues><GroupBy><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Institution"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Modality"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[ReadingAssignments]" Alias="[ra]" Column="AssignedRad"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="SiteCode"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusCode"/></GroupBy><RelOp NodeId="21" PhysicalOp="Parallelism" LogicalOp="Repartition Streams" EstimateRows="357775" EstimateIO="0" EstimateCPU="1.98977" AvgRowSize="61" EstimatedTotalSubtreeCost="11.2268" Parallel="1" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Modality"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Institution"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusCode"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="SiteCode"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[ReadingAssignments]" Alias="[ra]" Column="AssignedRad"/><ColumnReference Column="partialagg1053"/></OutputList><Parallelism PartitioningType="Hash"><PartitionColumns><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Institution"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Modality"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[ReadingAssignments]" Alias="[ra]" Column="AssignedRad"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="SiteCode"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusCode"/></PartitionColumns><OrderBy><OrderByColumn Ascending="1"><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Institution"/></OrderByColumn><OrderByColumn Ascending="1"><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Modality"/></OrderByColumn><OrderByColumn Ascending="1"><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[ReadingAssignments]" Alias="[ra]" Column="AssignedRad"/></OrderByColumn><OrderByColumn Ascending="1"><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="SiteCode"/></OrderByColumn><OrderByColumn Ascending="1"><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusCode"/></OrderByColumn></OrderBy><RelOp NodeId="22" PhysicalOp="Stream Aggregate" LogicalOp="Aggregate" EstimateRows="357775" EstimateIO="0" EstimateCPU="0.0492288" AvgRowSize="61" EstimatedTotalSubtreeCost="9.23702" Parallel="1" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Modality"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Institution"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusCode"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="SiteCode"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[ReadingAssignments]" Alias="[ra]" Column="AssignedRad"/><ColumnReference Column="partialagg1053"/></OutputList><StreamAggregate><DefinedValues><DefinedValue><ColumnReference Column="partialagg1053"/><ScalarOperator ScalarString="Count(*)"><Aggregate AggType="countstar" Distinct="0"/></ScalarOperator></DefinedValue><DefinedValue><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/><ScalarOperator ScalarString="ANY([STAIR].[dbo].[EXAM_STATUS_CODES].[StatusName] as [esc].[StatusName])"><Aggregate Distinct="0" AggType="ANY"><ScalarOperator><Identifier><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/></Identifier></ScalarOperator></Aggregate></ScalarOperator></DefinedValue></DefinedValues><GroupBy><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Institution"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Modality"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[ReadingAssignments]" Alias="[ra]" Column="AssignedRad"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="SiteCode"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusCode"/></GroupBy><RelOp NodeId="23" PhysicalOp="Sort" LogicalOp="Distinct Sort" EstimateRows="358238" EstimateIO="0.00140766" EstimateCPU="3.79233" AvgRowSize="53" EstimatedTotalSubtreeCost="9.1878" Parallel="1" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Modality"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Institution"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusCode"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="SiteCode"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[ReadingAssignments]" Alias="[ra]" Column="AssignedRad"/></OutputList><MemoryFractions Input="0.983535" Output="0.99343"/><Sort Distinct="1"><OrderBy><OrderByColumn Ascending="1"><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Institution"/></OrderByColumn><OrderByColumn Ascending="1"><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Modality"/></OrderByColumn><OrderByColumn Ascending="1"><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[ReadingAssignments]" Alias="[ra]" Column="AssignedRad"/></OrderByColumn><OrderByColumn Ascending="1"><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="SiteCode"/></OrderByColumn><OrderByColumn Ascending="1"><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusCode"/></OrderByColumn><OrderByColumn Ascending="1"><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Masterkey"/></OrderByColumn></OrderBy><RelOp NodeId="24" PhysicalOp="Parallelism" LogicalOp="Repartition Streams" EstimateRows="358238" EstimateIO="0" EstimateCPU="1.15719" AvgRowSize="153" EstimatedTotalSubtreeCost="5.39406" Parallel="1" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Masterkey"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Modality"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Institution"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusCode"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="SiteCode"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[ReadingAssignments]" Alias="[ra]" Column="AssignedRad"/></OutputList><Parallelism PartitioningType="Hash"><PartitionColumns><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Institution"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Modality"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[ReadingAssignments]" Alias="[ra]" Column="AssignedRad"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="SiteCode"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusCode"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Masterkey"/></PartitionColumns><RelOp NodeId="25" PhysicalOp="Hash Match" LogicalOp="Right Outer Join" EstimateRows="358238" EstimateIO="0" EstimateCPU="0.544728" AvgRowSize="153" EstimatedTotalSubtreeCost="4.23688" Parallel="1" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Masterkey"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Modality"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Institution"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusCode"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="SiteCode"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[ReadingAssignments]" Alias="[ra]" Column="AssignedRad"/></OutputList><MemoryFractions Input="0.95587" Output="0.0101636"/><Hash><DefinedValues/><HashKeysBuild><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="InstitutionName"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="Modtype"/></HashKeysBuild><HashKeysProbe><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Institution"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Modality"/></HashKeysProbe><ProbeResidual><ScalarOperator ScalarString="[STAIR].[dbo].[FUTRNETCODES].[InstitutionName] as [fnc].[InstitutionName]=[STAIR].[dbo].[EXAMS].[Institution] as [e].[Institution] AND [STAIR].[dbo].[FUTRNETCODES].[Modtype] as [fnc].[Modtype]=[STAIR].[dbo].[EXAMS].[Modality] as [e].[Modality]"><Logical Operation="AND"><ScalarOperator><Compare CompareOp="EQ"><ScalarOperator><Identifier><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="InstitutionName"/></Identifier></ScalarOperator><ScalarOperator><Identifier><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Institution"/></Identifier></ScalarOperator></Compare></ScalarOperator><ScalarOperator><Compare CompareOp="EQ"><ScalarOperator><Identifier><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="Modtype"/></Identifier></ScalarOperator><ScalarOperator><Identifier><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Modality"/></Identifier></ScalarOperator></Compare></ScalarOperator></Logical></ScalarOperator></ProbeResidual><RelOp NodeId="26" PhysicalOp="Parallelism" LogicalOp="Repartition Streams" EstimateRows="888.458" EstimateIO="0" EstimateCPU="0.0289861" AvgRowSize="38" EstimatedTotalSubtreeCost="0.108433" Parallel="1" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="SiteCode"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="InstitutionName"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="Modtype"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[ReadingAssignments]" Alias="[ra]" Column="AssignedRad"/></OutputList><Parallelism PartitioningType="Hash"><PartitionColumns><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="InstitutionName"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="Modtype"/></PartitionColumns><RelOp NodeId="27" PhysicalOp="Merge Join" LogicalOp="Right Outer Join" EstimateRows="888.458" EstimateIO="0.000507769" EstimateCPU="0.00107903" AvgRowSize="38" EstimatedTotalSubtreeCost="0.0794465" Parallel="1" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="SiteCode"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="InstitutionName"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="Modtype"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[ReadingAssignments]" Alias="[ra]" Column="AssignedRad"/></OutputList><Merge ManyToMany="1"><InnerSideJoinColumns><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="SiteCode"/></InnerSideJoinColumns><OuterSideJoinColumns><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[ReadingAssignments]" Alias="[ra]" Column="Acct"/></OuterSideJoinColumns><Residual><ScalarOperator ScalarString="[STAIR].[dbo].[ReadingAssignments].[Acct] as [ra].[Acct]=[STAIR].[dbo].[FUTRNETCODES].[SiteCode] as [fnc].[SiteCode]"><Compare CompareOp="EQ"><ScalarOperator><Identifier><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[ReadingAssignments]" Alias="[ra]" Column="Acct"/></Identifier></ScalarOperator><ScalarOperator><Identifier><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="SiteCode"/></Identifier></ScalarOperator></Compare></ScalarOperator></Residual><RelOp NodeId="28" PhysicalOp="Sort" LogicalOp="Sort" EstimateRows="199" EstimateIO="0.00140766" EstimateCPU="0.000308841" AvgRowSize="14" EstimatedTotalSubtreeCost="0.0350625" Parallel="1" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[ReadingAssignments]" Alias="[ra]" Column="Acct"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[ReadingAssignments]" Alias="[ra]" Column="AssignedRad"/></OutputList><MemoryFractions Input="0.994105" Output="0.0382348"/><Sort Distinct="0"><OrderBy><OrderByColumn Ascending="1"><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[ReadingAssignments]" Alias="[ra]" Column="Acct"/></OrderByColumn></OrderBy><RelOp NodeId="29" PhysicalOp="Parallelism" LogicalOp="Distribute Streams" EstimateRows="199" EstimateIO="0" EstimateCPU="0.0291043" AvgRowSize="14" EstimatedTotalSubtreeCost="0.033346" Parallel="1" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[ReadingAssignments]" Alias="[ra]" Column="Acct"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[ReadingAssignments]" Alias="[ra]" Column="AssignedRad"/></OutputList><Parallelism PartitioningType="Hash"><PartitionColumns><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[ReadingAssignments]" Alias="[ra]" Column="Acct"/></PartitionColumns><RelOp NodeId="30" PhysicalOp="Clustered Index Scan" LogicalOp="Clustered Index Scan" EstimateRows="199" EstimateIO="0.00386574" EstimateCPU="0.0003759" AvgRowSize="14" EstimatedTotalSubtreeCost="0.00424164" TableCardinality="199" Parallel="0" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[ReadingAssignments]" Alias="[ra]" Column="Acct"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[ReadingAssignments]" Alias="[ra]" Column="AssignedRad"/></OutputList><IndexScan Ordered="0" ForcedIndex="0" NoExpandHint="0"><DefinedValues><DefinedValue><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[ReadingAssignments]" Alias="[ra]" Column="Acct"/></DefinedValue><DefinedValue><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[ReadingAssignments]" Alias="[ra]" Column="AssignedRad"/></DefinedValue></DefinedValues><Object Database="[STAIR]" Schema="[dbo]" Table="[ReadingAssignments]" Index="[PK_ReadingAssignments]" Alias="[ra]" TableReferenceId="1" IndexKind="Clustered"/></IndexScan></RelOp></Parallelism></RelOp></Sort></RelOp><RelOp NodeId="31" PhysicalOp="Parallelism" LogicalOp="Repartition Streams" EstimateRows="667" EstimateIO="0" EstimateCPU="0.0314098" AvgRowSize="34" EstimatedTotalSubtreeCost="0.0427943" Parallel="1" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="SiteCode"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="InstitutionName"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="Modtype"/></OutputList><Parallelism PartitioningType="Hash"><PartitionColumns><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="SiteCode"/></PartitionColumns><OrderBy><OrderByColumn Ascending="1"><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="SiteCode"/></OrderByColumn></OrderBy><RelOp NodeId="32" PhysicalOp="Index Scan" LogicalOp="Index Scan" EstimateRows="667" EstimateIO="0.0112731" EstimateCPU="0.000111338" AvgRowSize="34" EstimatedTotalSubtreeCost="0.0113845" TableCardinality="667" Parallel="1" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="SiteCode"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="InstitutionName"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="Modtype"/></OutputList><IndexScan Ordered="1" ScanDirection="FORWARD" ForcedIndex="0" ForceSeek="0" NoExpandHint="0"><DefinedValues><DefinedValue><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="SiteCode"/></DefinedValue><DefinedValue><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="InstitutionName"/></DefinedValue><DefinedValue><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="Modtype"/></DefinedValue></DefinedValues><Object Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Index="[IX_FUTRNETCODES_STAIR_SCHEMA_2.9.01]" Alias="[fnc]" TableReferenceId="1" IndexKind="NonClustered"/></IndexScan></RelOp></Parallelism></RelOp></Merge></RelOp></Parallelism></RelOp><RelOp NodeId="35" PhysicalOp="Parallelism" LogicalOp="Repartition Streams" EstimateRows="142322" EstimateIO="0" EstimateCPU="0.349645" AvgRowSize="146" EstimatedTotalSubtreeCost="3.58193" Parallel="1" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Masterkey"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Modality"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Institution"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusCode"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/></OutputList><Parallelism PartitioningType="Hash"><PartitionColumns><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Institution"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Modality"/></PartitionColumns><RelOp NodeId="36" PhysicalOp="Nested Loops" LogicalOp="Inner Join" EstimateRows="142322" EstimateIO="0" EstimateCPU="0.0743632" AvgRowSize="146" EstimatedTotalSubtreeCost="3.23229" Parallel="1" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Masterkey"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Modality"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Institution"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusCode"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/></OutputList><NestedLoops Optimized="1"><OuterReferences><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusCode"/></OuterReferences><RelOp NodeId="38" PhysicalOp="Parallelism" LogicalOp="Distribute Streams" EstimateRows="1" EstimateIO="0" EstimateCPU="0.0285033" AvgRowSize="18" EstimatedTotalSubtreeCost="0.0317985" Parallel="1" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusCode"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/></OutputList><Parallelism PartitioningType="RoundRobin"><RelOp NodeId="39" PhysicalOp="Clustered Index Scan" LogicalOp="Clustered Index Scan" EstimateRows="1" EstimateIO="0.003125" EstimateCPU="0.0001702" AvgRowSize="18" EstimatedTotalSubtreeCost="0.0032952" TableCardinality="12" Parallel="0" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusCode"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/></OutputList><IndexScan Ordered="0" ForcedIndex="0" NoExpandHint="0"><DefinedValues><DefinedValue><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusCode"/></DefinedValue><DefinedValue><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/></DefinedValue></DefinedValues><Object Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Index="[PK_STATUS_CODES_STAIR_SCHEMA_2.9.01]" Alias="[esc]" TableReferenceId="2" IndexKind="Clustered"/><Predicate><ScalarOperator ScalarString="[STAIR].[dbo].[EXAM_STATUS_CODES].[UseInMainList] as [esc].[UseInMainList]=(1)"><Compare CompareOp="EQ"><ScalarOperator><Identifier><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="UseInMainList"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="(1)"/></ScalarOperator></Compare></ScalarOperator></Predicate></IndexScan></RelOp></Parallelism></RelOp><RelOp NodeId="40" PhysicalOp="Index Seek" LogicalOp="Index Seek" EstimateRows="142322" EstimateIO="2.88683" EstimateCPU="0.156711" AvgRowSize="140" EstimatedTotalSubtreeCost="3.04354" TableCardinality="859528" Parallel="1" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Masterkey"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Modality"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Institution"/></OutputList><IndexScan Ordered="1" ScanDirection="FORWARD" ForcedIndex="0" ForceSeek="0" NoExpandHint="0"><DefinedValues><DefinedValue><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Masterkey"/></DefinedValue><DefinedValue><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Modality"/></DefinedValue><DefinedValue><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Institution"/></DefinedValue></DefinedValues><Object Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Index="[stair_tuning_ix1_exams]" Alias="[e]" TableReferenceId="1" IndexKind="NonClustered"/><SeekPredicates><SeekPredicateNew><SeekKeys><Prefix ScanType="EQ"><RangeColumns><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="StatusCode"/></RangeColumns><RangeExpressions><ScalarOperator ScalarString="[STAIR].[dbo].[EXAM_STATUS_CODES].[StatusCode] as [esc].[StatusCode]"><Identifier><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusCode"/></Identifier></ScalarOperator></RangeExpressions></Prefix></SeekKeys></SeekPredicateNew></SeekPredicates><Predicate><ScalarOperator ScalarString="CONVERT_IMPLICIT(int,[STAIR].[dbo].[EXAMS].[StatusCode] as [e].[StatusCode],0)<>(9)"><Compare CompareOp="NE"><ScalarOperator><Convert DataType="int" Style="0" Implicit="1"><ScalarOperator><Identifier><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="StatusCode"/></Identifier></ScalarOperator></Convert></ScalarOperator><ScalarOperator><Const ConstValue="(9)"/></ScalarOperator></Compare></ScalarOperator></Predicate></IndexScan></RelOp></NestedLoops></RelOp></Parallelism></RelOp></Hash></RelOp></Parallelism></RelOp></Sort></RelOp></StreamAggregate></RelOp></Parallelism></RelOp></StreamAggregate></RelOp></Parallelism></RelOp></ComputeScalar></RelOp></ComputeScalar></RelOp></Hash></RelOp><Predicate><ScalarOperator ScalarString="[@FilterAssigned]=(0) AND [STAIR].[dbo].[EXAM_STATUS_CODES].[StatusName] as [esc].[StatusName]<>'PEER' OR [@FilterAssigned]=(1) AND [Expr1012]=[@ReaderId] AND [STAIR].[dbo].[EXAM_STATUS_CODES].[StatusName] as [esc].[StatusName]<>'PEER' OR [STAIR].[dbo].[EXAM_STATUS_CODES].[StatusName] as [esc].[StatusName]='PEER' AND [Expr1012]<>[@ReaderId]"><Logical Operation="OR"><ScalarOperator><Logical Operation="AND"><ScalarOperator><Identifier><ColumnReference Column="ConstExpr1045"><ScalarOperator><Compare CompareOp="EQ"><ScalarOperator><Identifier><ColumnReference Column="@FilterAssigned"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="(0)"/></ScalarOperator></Compare></ScalarOperator></ColumnReference></Identifier></ScalarOperator><ScalarOperator><Compare CompareOp="NE"><ScalarOperator><Identifier><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="'PEER'"/></ScalarOperator></Compare></ScalarOperator></Logical></ScalarOperator><ScalarOperator><Logical Operation="AND"><ScalarOperator><Identifier><ColumnReference Column="ConstExpr1046"><ScalarOperator><Compare CompareOp="EQ"><ScalarOperator><Identifier><ColumnReference Column="@FilterAssigned"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="(1)"/></ScalarOperator></Compare></ScalarOperator></ColumnReference></Identifier></ScalarOperator><ScalarOperator><Compare CompareOp="EQ"><ScalarOperator><Identifier><ColumnReference Column="Expr1012"/></Identifier></ScalarOperator><ScalarOperator><Identifier><ColumnReference Column="@ReaderId"/></Identifier></ScalarOperator></Compare></ScalarOperator><ScalarOperator><Compare CompareOp="NE"><ScalarOperator><Identifier><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="'PEER'"/></ScalarOperator></Compare></ScalarOperator></Logical></ScalarOperator><ScalarOperator><Logical Operation="AND"><ScalarOperator><Compare CompareOp="EQ"><ScalarOperator><Identifier><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="'PEER'"/></ScalarOperator></Compare></ScalarOperator><ScalarOperator><Compare CompareOp="NE"><ScalarOperator><Identifier><ColumnReference Column="Expr1012"/></Identifier></ScalarOperator><ScalarOperator><Identifier><ColumnReference Column="@ReaderId"/></Identifier></ScalarOperator></Compare></ScalarOperator></Logical></ScalarOperator></Logical></ScalarOperator></Predicate></Filter></RelOp></Hash></RelOp></Parallelism></RelOp></Sort></RelOp></StreamAggregate></RelOp></ComputeScalar></RelOp></Parallelism></RelOp><RelOp NodeId="87" PhysicalOp="Parallelism" LogicalOp="Repartition Streams" EstimateRows="101049" EstimateIO="0" EstimateCPU="0.368774" AvgRowSize="161" EstimatedTotalSubtreeCost="11.7545" Parallel="1" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Modality"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Institution"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/><ColumnReference Column="Expr1030"/><ColumnReference Column="Expr1033"/><ColumnReference Column="Expr1034"/><ColumnReference Column="Expr1035"/><ColumnReference Column="Expr1036"/></OutputList><Parallelism PartitioningType="Hash"><PartitionColumns><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/><ColumnReference Column="Expr1033"/><ColumnReference Column="Expr1034"/><ColumnReference Column="Expr1030"/><ColumnReference Column="Expr1035"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Institution"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Modality"/><ColumnReference Column="Expr1036"/></PartitionColumns><RelOp NodeId="88" PhysicalOp="Compute Scalar" LogicalOp="Compute Scalar" EstimateRows="101049" EstimateIO="0" EstimateCPU="0.00126312" AvgRowSize="161" EstimatedTotalSubtreeCost="11.3857" Parallel="1" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Modality"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Institution"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/><ColumnReference Column="Expr1030"/><ColumnReference Column="Expr1033"/><ColumnReference Column="Expr1034"/><ColumnReference Column="Expr1035"/><ColumnReference Column="Expr1036"/></OutputList><ComputeScalar><DefinedValues><DefinedValue><ColumnReference Column="Expr1033"/><ScalarOperator ScalarString="'SubItem'"><Const ConstValue="'SubItem'"/></ScalarOperator></DefinedValue><DefinedValue><ColumnReference Column="Expr1035"/><ScalarOperator ScalarString="([Expr1050]+CONVERT(varchar(5),[Expr1030],0))+' Cases ] '"><Arithmetic Operation="ADD"><ScalarOperator><Arithmetic Operation="ADD"><ScalarOperator><Identifier><ColumnReference Column="Expr1050"/></Identifier></ScalarOperator><ScalarOperator><Convert DataType="varchar" Length="5" Style="0" Implicit="0"><ScalarOperator><Identifier><ColumnReference Column="Expr1030"/></Identifier></ScalarOperator></Convert></ScalarOperator></Arithmetic></ScalarOperator><ScalarOperator><Const ConstValue="' Cases ] '"/></ScalarOperator></Arithmetic></ScalarOperator></DefinedValue><DefinedValue><ColumnReference Column="Expr1036"/><ScalarOperator ScalarString="''"><Const ConstValue="''"/></ScalarOperator></DefinedValue></DefinedValues><RelOp NodeId="89" PhysicalOp="Filter" LogicalOp="Filter" EstimateRows="101049" EstimateIO="0" EstimateCPU="0.100114" AvgRowSize="147" EstimatedTotalSubtreeCost="11.3845" Parallel="1" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Modality"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Institution"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/><ColumnReference Column="Expr1030"/><ColumnReference Column="Expr1034"/><ColumnReference Column="Expr1050"/></OutputList><Filter StartupExpression="0"><RelOp NodeId="90" PhysicalOp="Compute Scalar" LogicalOp="Compute Scalar" EstimateRows="351276" EstimateIO="0" EstimateCPU="0.00439094" AvgRowSize="151" EstimatedTotalSubtreeCost="11.2844" Parallel="1" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Modality"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Institution"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/><ColumnReference Column="Expr1030"/><ColumnReference Column="Expr1034"/><ColumnReference Column="Expr1050"/><ColumnReference Column="Expr1051"/></OutputList><ComputeScalar><DefinedValues><DefinedValue><ColumnReference Column="Expr1034"/><ScalarOperator ScalarString="(' = '''+rtrim([STAIR].[dbo].[EXAM_STATUS_CODES].[StatusCode] as [esc].[StatusCode]))+''''"><Arithmetic Operation="ADD"><ScalarOperator><Arithmetic Operation="ADD"><ScalarOperator><Const ConstValue="' = '''"/></ScalarOperator><ScalarOperator><Intrinsic FunctionName="rtrim"><ScalarOperator><Identifier><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusCode"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator></Arithmetic></ScalarOperator><ScalarOperator><Const ConstValue="''''"/></ScalarOperator></Arithmetic></ScalarOperator></DefinedValue><DefinedValue><ColumnReference Column="Expr1050"/><ScalarOperator ScalarString="((rtrim([STAIR].[dbo].[EXAMS].[Institution] as [e].[Institution])+' - ')+[STAIR].[dbo].[EXAMS].[Modality] as [e].[Modality])+' [ '"><Arithmetic Operation="ADD"><ScalarOperator><Arithmetic Operation="ADD"><ScalarOperator><Arithmetic Operation="ADD"><ScalarOperator><Intrinsic FunctionName="rtrim"><ScalarOperator><Identifier><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Institution"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator><ScalarOperator><Const ConstValue="' - '"/></ScalarOperator></Arithmetic></ScalarOperator><ScalarOperator><Identifier><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Modality"/></Identifier></ScalarOperator></Arithmetic></ScalarOperator><ScalarOperator><Const ConstValue="' [ '"/></ScalarOperator></Arithmetic></ScalarOperator></DefinedValue><DefinedValue><ColumnReference Column="Expr1051"/><ScalarOperator ScalarString="isnull([STAIR].[dbo].[ReadingAssignments].[AssignedRad] as [ra].[AssignedRad],(0))"><Intrinsic FunctionName="isnull"><ScalarOperator><Identifier><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[ReadingAssignments]" Alias="[ra]" Column="AssignedRad"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="(0)"/></ScalarOperator></Intrinsic></ScalarOperator></DefinedValue></DefinedValues><RelOp NodeId="92" PhysicalOp="Compute Scalar" LogicalOp="Compute Scalar" EstimateRows="351276" EstimateIO="0" EstimateCPU="0.00439094" AvgRowSize="54" EstimatedTotalSubtreeCost="11.28" Parallel="1" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Modality"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Institution"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusCode"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[ReadingAssignments]" Alias="[ra]" Column="AssignedRad"/><ColumnReference Column="Expr1030"/></OutputList><ComputeScalar><DefinedValues><DefinedValue><ColumnReference Column="Expr1030"/><ScalarOperator ScalarString="CONVERT_IMPLICIT(int,[globalagg1057],0)"><Convert DataType="int" Style="0" Implicit="1"><ScalarOperator><Identifier><ColumnReference Column="globalagg1057"/></Identifier></ScalarOperator></Convert></ScalarOperator></DefinedValue></DefinedValues><RelOp NodeId="93" PhysicalOp="Stream Aggregate" LogicalOp="Aggregate" EstimateRows="351276" EstimateIO="0" EstimateCPU="0.0487879" AvgRowSize="58" EstimatedTotalSubtreeCost="11.2756" Parallel="1" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Modality"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Institution"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusCode"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[ReadingAssignments]" Alias="[ra]" Column="AssignedRad"/><ColumnReference Column="globalagg1057"/></OutputList><StreamAggregate><DefinedValues><DefinedValue><ColumnReference Column="globalagg1057"/><ScalarOperator ScalarString="SUM([partialagg1056])"><Aggregate Distinct="0" AggType="SUM"><ScalarOperator><Identifier><ColumnReference Column="partialagg1056"/></Identifier></ScalarOperator></Aggregate></ScalarOperator></DefinedValue><DefinedValue><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/><ScalarOperator ScalarString="ANY([STAIR].[dbo].[EXAM_STATUS_CODES].[StatusName] as [esc].[StatusName])"><Aggregate Distinct="0" AggType="ANY"><ScalarOperator><Identifier><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/></Identifier></ScalarOperator></Aggregate></ScalarOperator></DefinedValue></DefinedValues><GroupBy><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Institution"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Modality"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[ReadingAssignments]" Alias="[ra]" Column="AssignedRad"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="SiteCode"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusCode"/></GroupBy><RelOp NodeId="94" PhysicalOp="Parallelism" LogicalOp="Repartition Streams" EstimateRows="357775" EstimateIO="0" EstimateCPU="1.98977" AvgRowSize="61" EstimatedTotalSubtreeCost="11.2268" Parallel="1" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Modality"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Institution"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusCode"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="SiteCode"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[ReadingAssignments]" Alias="[ra]" Column="AssignedRad"/><ColumnReference Column="partialagg1056"/></OutputList><Parallelism PartitioningType="Hash"><PartitionColumns><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Institution"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Modality"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[ReadingAssignments]" Alias="[ra]" Column="AssignedRad"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="SiteCode"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusCode"/></PartitionColumns><OrderBy><OrderByColumn Ascending="1"><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Institution"/></OrderByColumn><OrderByColumn Ascending="1"><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Modality"/></OrderByColumn><OrderByColumn Ascending="1"><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[ReadingAssignments]" Alias="[ra]" Column="AssignedRad"/></OrderByColumn><OrderByColumn Ascending="1"><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="SiteCode"/></OrderByColumn><OrderByColumn Ascending="1"><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusCode"/></OrderByColumn></OrderBy><RelOp NodeId="95" PhysicalOp="Stream Aggregate" LogicalOp="Aggregate" EstimateRows="357775" EstimateIO="0" EstimateCPU="0.0492288" AvgRowSize="61" EstimatedTotalSubtreeCost="9.23702" Parallel="1" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Modality"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Institution"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusCode"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="SiteCode"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[ReadingAssignments]" Alias="[ra]" Column="AssignedRad"/><ColumnReference Column="partialagg1056"/></OutputList><StreamAggregate><DefinedValues><DefinedValue><ColumnReference Column="partialagg1056"/><ScalarOperator ScalarString="Count(*)"><Aggregate AggType="countstar" Distinct="0"/></ScalarOperator></DefinedValue><DefinedValue><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/><ScalarOperator ScalarString="ANY([STAIR].[dbo].[EXAM_STATUS_CODES].[StatusName] as [esc].[StatusName])"><Aggregate Distinct="0" AggType="ANY"><ScalarOperator><Identifier><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/></Identifier></ScalarOperator></Aggregate></ScalarOperator></DefinedValue></DefinedValues><GroupBy><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Institution"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Modality"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[ReadingAssignments]" Alias="[ra]" Column="AssignedRad"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="SiteCode"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusCode"/></GroupBy><RelOp NodeId="96" PhysicalOp="Sort" LogicalOp="Distinct Sort" EstimateRows="358238" EstimateIO="0.00140766" EstimateCPU="3.79233" AvgRowSize="53" EstimatedTotalSubtreeCost="9.1878" Parallel="1" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Modality"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Institution"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusCode"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="SiteCode"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[ReadingAssignments]" Alias="[ra]" Column="AssignedRad"/></OutputList><MemoryFractions Input="0.708782" Output="0.716399"/><Sort Distinct="1"><OrderBy><OrderByColumn Ascending="1"><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Institution"/></OrderByColumn><OrderByColumn Ascending="1"><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Modality"/></OrderByColumn><OrderByColumn Ascending="1"><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[ReadingAssignments]" Alias="[ra]" Column="AssignedRad"/></OrderByColumn><OrderByColumn Ascending="1"><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="SiteCode"/></OrderByColumn><OrderByColumn Ascending="1"><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusCode"/></OrderByColumn><OrderByColumn Ascending="1"><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Masterkey"/></OrderByColumn></OrderBy><RelOp NodeId="97" PhysicalOp="Parallelism" LogicalOp="Repartition Streams" EstimateRows="358238" EstimateIO="0" EstimateCPU="1.15719" AvgRowSize="153" EstimatedTotalSubtreeCost="5.39406" Parallel="1" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Masterkey"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Modality"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Institution"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusCode"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="SiteCode"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[ReadingAssignments]" Alias="[ra]" Column="AssignedRad"/></OutputList><Parallelism PartitioningType="Hash"><PartitionColumns><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Institution"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Modality"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[ReadingAssignments]" Alias="[ra]" Column="AssignedRad"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="SiteCode"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusCode"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Masterkey"/></PartitionColumns><RelOp NodeId="98" PhysicalOp="Hash Match" LogicalOp="Right Outer Join" EstimateRows="358238" EstimateIO="0" EstimateCPU="0.544728" AvgRowSize="153" EstimatedTotalSubtreeCost="4.23688" Parallel="1" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Masterkey"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Modality"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Institution"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusCode"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="SiteCode"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[ReadingAssignments]" Alias="[ra]" Column="AssignedRad"/></OutputList><MemoryFractions Input="0.688846" Output="0.0073244"/><Hash><DefinedValues/><HashKeysBuild><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="InstitutionName"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="Modtype"/></HashKeysBuild><HashKeysProbe><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Institution"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Modality"/></HashKeysProbe><ProbeResidual><ScalarOperator ScalarString="[STAIR].[dbo].[FUTRNETCODES].[InstitutionName] as [fnc].[InstitutionName]=[STAIR].[dbo].[EXAMS].[Institution] as [e].[Institution] AND [STAIR].[dbo].[FUTRNETCODES].[Modtype] as [fnc].[Modtype]=[STAIR].[dbo].[EXAMS].[Modality] as [e].[Modality]"><Logical Operation="AND"><ScalarOperator><Compare CompareOp="EQ"><ScalarOperator><Identifier><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="InstitutionName"/></Identifier></ScalarOperator><ScalarOperator><Identifier><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Institution"/></Identifier></ScalarOperator></Compare></ScalarOperator><ScalarOperator><Compare CompareOp="EQ"><ScalarOperator><Identifier><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="Modtype"/></Identifier></ScalarOperator><ScalarOperator><Identifier><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Modality"/></Identifier></ScalarOperator></Compare></ScalarOperator></Logical></ScalarOperator></ProbeResidual><RelOp NodeId="99" PhysicalOp="Parallelism" LogicalOp="Repartition Streams" EstimateRows="888.458" EstimateIO="0" EstimateCPU="0.0289861" AvgRowSize="38" EstimatedTotalSubtreeCost="0.108433" Parallel="1" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="SiteCode"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="InstitutionName"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="Modtype"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[ReadingAssignments]" Alias="[ra]" Column="AssignedRad"/></OutputList><Parallelism PartitioningType="Hash"><PartitionColumns><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="InstitutionName"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="Modtype"/></PartitionColumns><RelOp NodeId="100" PhysicalOp="Merge Join" LogicalOp="Right Outer Join" EstimateRows="888.458" EstimateIO="0.000507769" EstimateCPU="0.00107903" AvgRowSize="38" EstimatedTotalSubtreeCost="0.0794465" Parallel="1" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="SiteCode"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="InstitutionName"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="Modtype"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[ReadingAssignments]" Alias="[ra]" Column="AssignedRad"/></OutputList><Merge ManyToMany="1"><InnerSideJoinColumns><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="SiteCode"/></InnerSideJoinColumns><OuterSideJoinColumns><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[ReadingAssignments]" Alias="[ra]" Column="Acct"/></OuterSideJoinColumns><Residual><ScalarOperator ScalarString="[STAIR].[dbo].[ReadingAssignments].[Acct] as [ra].[Acct]=[STAIR].[dbo].[FUTRNETCODES].[SiteCode] as [fnc].[SiteCode]"><Compare CompareOp="EQ"><ScalarOperator><Identifier><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[ReadingAssignments]" Alias="[ra]" Column="Acct"/></Identifier></ScalarOperator><ScalarOperator><Identifier><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="SiteCode"/></Identifier></ScalarOperator></Compare></ScalarOperator></Residual><RelOp NodeId="101" PhysicalOp="Sort" LogicalOp="Sort" EstimateRows="199" EstimateIO="0.00140766" EstimateCPU="0.000308841" AvgRowSize="14" EstimatedTotalSubtreeCost="0.0350625" Parallel="1" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[ReadingAssignments]" Alias="[ra]" Column="Acct"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[ReadingAssignments]" Alias="[ra]" Column="AssignedRad"/></OutputList><MemoryFractions Input="0.716399" Output="0.0275538"/><Sort Distinct="0"><OrderBy><OrderByColumn Ascending="1"><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[ReadingAssignments]" Alias="[ra]" Column="Acct"/></OrderByColumn></OrderBy><RelOp NodeId="102" PhysicalOp="Parallelism" LogicalOp="Distribute Streams" EstimateRows="199" EstimateIO="0" EstimateCPU="0.0291043" AvgRowSize="14" EstimatedTotalSubtreeCost="0.033346" Parallel="1" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[ReadingAssignments]" Alias="[ra]" Column="Acct"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[ReadingAssignments]" Alias="[ra]" Column="AssignedRad"/></OutputList><Parallelism PartitioningType="Hash"><PartitionColumns><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[ReadingAssignments]" Alias="[ra]" Column="Acct"/></PartitionColumns><RelOp NodeId="103" PhysicalOp="Clustered Index Scan" LogicalOp="Clustered Index Scan" EstimateRows="199" EstimateIO="0.00386574" EstimateCPU="0.0003759" AvgRowSize="14" EstimatedTotalSubtreeCost="0.00424164" TableCardinality="199" Parallel="0" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[ReadingAssignments]" Alias="[ra]" Column="Acct"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[ReadingAssignments]" Alias="[ra]" Column="AssignedRad"/></OutputList><IndexScan Ordered="0" ForcedIndex="0" NoExpandHint="0"><DefinedValues><DefinedValue><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[ReadingAssignments]" Alias="[ra]" Column="Acct"/></DefinedValue><DefinedValue><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[ReadingAssignments]" Alias="[ra]" Column="AssignedRad"/></DefinedValue></DefinedValues><Object Database="[STAIR]" Schema="[dbo]" Table="[ReadingAssignments]" Index="[PK_ReadingAssignments]" Alias="[ra]" TableReferenceId="2" IndexKind="Clustered"/></IndexScan></RelOp></Parallelism></RelOp></Sort></RelOp><RelOp NodeId="104" PhysicalOp="Parallelism" LogicalOp="Repartition Streams" EstimateRows="667" EstimateIO="0" EstimateCPU="0.0314098" AvgRowSize="34" EstimatedTotalSubtreeCost="0.0427943" Parallel="1" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="SiteCode"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="InstitutionName"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="Modtype"/></OutputList><Parallelism PartitioningType="Hash"><PartitionColumns><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="SiteCode"/></PartitionColumns><OrderBy><OrderByColumn Ascending="1"><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="SiteCode"/></OrderByColumn></OrderBy><RelOp NodeId="105" PhysicalOp="Index Scan" LogicalOp="Index Scan" EstimateRows="667" EstimateIO="0.0112731" EstimateCPU="0.000111338" AvgRowSize="34" EstimatedTotalSubtreeCost="0.0113845" TableCardinality="667" Parallel="1" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="SiteCode"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="InstitutionName"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="Modtype"/></OutputList><IndexScan Ordered="1" ScanDirection="FORWARD" ForcedIndex="0" ForceSeek="0" NoExpandHint="0"><DefinedValues><DefinedValue><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="SiteCode"/></DefinedValue><DefinedValue><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="InstitutionName"/></DefinedValue><DefinedValue><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="Modtype"/></DefinedValue></DefinedValues><Object Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Index="[IX_FUTRNETCODES_STAIR_SCHEMA_2.9.01]" Alias="[fnc]" TableReferenceId="2" IndexKind="NonClustered"/></IndexScan></RelOp></Parallelism></RelOp></Merge></RelOp></Parallelism></RelOp><RelOp NodeId="108" PhysicalOp="Parallelism" LogicalOp="Repartition Streams" EstimateRows="142322" EstimateIO="0" EstimateCPU="0.349645" AvgRowSize="146" EstimatedTotalSubtreeCost="3.58193" Parallel="1" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Masterkey"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Modality"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Institution"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusCode"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/></OutputList><Parallelism PartitioningType="Hash"><PartitionColumns><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Institution"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Modality"/></PartitionColumns><RelOp NodeId="109" PhysicalOp="Nested Loops" LogicalOp="Inner Join" EstimateRows="142322" EstimateIO="0" EstimateCPU="0.0743632" AvgRowSize="146" EstimatedTotalSubtreeCost="3.23229" Parallel="1" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Masterkey"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Modality"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Institution"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusCode"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/></OutputList><NestedLoops Optimized="1"><OuterReferences><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusCode"/></OuterReferences><RelOp NodeId="111" PhysicalOp="Parallelism" LogicalOp="Distribute Streams" EstimateRows="1" EstimateIO="0" EstimateCPU="0.0285033" AvgRowSize="18" EstimatedTotalSubtreeCost="0.0317985" Parallel="1" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusCode"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/></OutputList><Parallelism PartitioningType="RoundRobin"><RelOp NodeId="112" PhysicalOp="Clustered Index Scan" LogicalOp="Clustered Index Scan" EstimateRows="1" EstimateIO="0.003125" EstimateCPU="0.0001702" AvgRowSize="18" EstimatedTotalSubtreeCost="0.0032952" TableCardinality="12" Parallel="0" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusCode"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/></OutputList><IndexScan Ordered="0" ForcedIndex="0" NoExpandHint="0"><DefinedValues><DefinedValue><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusCode"/></DefinedValue><DefinedValue><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/></DefinedValue></DefinedValues><Object Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Index="[PK_STATUS_CODES_STAIR_SCHEMA_2.9.01]" Alias="[esc]" TableReferenceId="3" IndexKind="Clustered"/><Predicate><ScalarOperator ScalarString="[STAIR].[dbo].[EXAM_STATUS_CODES].[UseInMainList] as [esc].[UseInMainList]=(1)"><Compare CompareOp="EQ"><ScalarOperator><Identifier><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="UseInMainList"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="(1)"/></ScalarOperator></Compare></ScalarOperator></Predicate></IndexScan></RelOp></Parallelism></RelOp><RelOp NodeId="113" PhysicalOp="Index Seek" LogicalOp="Index Seek" EstimateRows="142322" EstimateIO="2.88683" EstimateCPU="0.156711" AvgRowSize="140" EstimatedTotalSubtreeCost="3.04354" TableCardinality="859528" Parallel="1" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Masterkey"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Modality"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Institution"/></OutputList><IndexScan Ordered="1" ScanDirection="FORWARD" ForcedIndex="0" ForceSeek="0" NoExpandHint="0"><DefinedValues><DefinedValue><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Masterkey"/></DefinedValue><DefinedValue><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Modality"/></DefinedValue><DefinedValue><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Institution"/></DefinedValue></DefinedValues><Object Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Index="[stair_tuning_ix1_exams]" Alias="[e]" TableReferenceId="2" IndexKind="NonClustered"/><SeekPredicates><SeekPredicateNew><SeekKeys><Prefix ScanType="EQ"><RangeColumns><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="StatusCode"/></RangeColumns><RangeExpressions><ScalarOperator ScalarString="[STAIR].[dbo].[EXAM_STATUS_CODES].[StatusCode] as [esc].[StatusCode]"><Identifier><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusCode"/></Identifier></ScalarOperator></RangeExpressions></Prefix></SeekKeys></SeekPredicateNew></SeekPredicates><Predicate><ScalarOperator ScalarString="CONVERT_IMPLICIT(int,[STAIR].[dbo].[EXAMS].[StatusCode] as [e].[StatusCode],0)<>(9)"><Compare CompareOp="NE"><ScalarOperator><Convert DataType="int" Style="0" Implicit="1"><ScalarOperator><Identifier><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="StatusCode"/></Identifier></ScalarOperator></Convert></ScalarOperator><ScalarOperator><Const ConstValue="(9)"/></ScalarOperator></Compare></ScalarOperator></Predicate></IndexScan></RelOp></NestedLoops></RelOp></Parallelism></RelOp></Hash></RelOp></Parallelism></RelOp></Sort></RelOp></StreamAggregate></RelOp></Parallelism></RelOp></StreamAggregate></RelOp></ComputeScalar></RelOp></ComputeScalar></RelOp><Predicate><ScalarOperator ScalarString="[@FilterAssigned]=(0) AND [STAIR].[dbo].[EXAM_STATUS_CODES].[StatusName] as [esc].[StatusName]<>'PEER' OR [@FilterAssigned]=(1) AND [Expr1051]=[@ReaderId] AND [STAIR].[dbo].[EXAM_STATUS_CODES].[StatusName] as [esc].[StatusName]<>'PEER' OR [Expr1051]<>[@ReaderId] AND [STAIR].[dbo].[EXAM_STATUS_CODES].[StatusName] as [esc].[StatusName]='PEER'"><Logical Operation="OR"><ScalarOperator><Logical Operation="AND"><ScalarOperator><Identifier><ColumnReference Column="ConstExpr1047"><ScalarOperator><Compare CompareOp="EQ"><ScalarOperator><Identifier><ColumnReference Column="@FilterAssigned"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="(0)"/></ScalarOperator></Compare></ScalarOperator></ColumnReference></Identifier></ScalarOperator><ScalarOperator><Compare CompareOp="NE"><ScalarOperator><Identifier><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="'PEER'"/></ScalarOperator></Compare></ScalarOperator></Logical></ScalarOperator><ScalarOperator><Logical Operation="AND"><ScalarOperator><Identifier><ColumnReference Column="ConstExpr1048"><ScalarOperator><Compare CompareOp="EQ"><ScalarOperator><Identifier><ColumnReference Column="@FilterAssigned"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="(1)"/></ScalarOperator></Compare></ScalarOperator></ColumnReference></Identifier></ScalarOperator><ScalarOperator><Compare CompareOp="EQ"><ScalarOperator><Identifier><ColumnReference Column="Expr1051"/></Identifier></ScalarOperator><ScalarOperator><Identifier><ColumnReference Column="@ReaderId"/></Identifier></ScalarOperator></Compare></ScalarOperator><ScalarOperator><Compare CompareOp="NE"><ScalarOperator><Identifier><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="'PEER'"/></ScalarOperator></Compare></ScalarOperator></Logical></ScalarOperator><ScalarOperator><Logical Operation="AND"><ScalarOperator><Compare CompareOp="NE"><ScalarOperator><Identifier><ColumnReference Column="Expr1051"/></Identifier></ScalarOperator><ScalarOperator><Identifier><ColumnReference Column="@ReaderId"/></Identifier></ScalarOperator></Compare></ScalarOperator><ScalarOperator><Compare CompareOp="EQ"><ScalarOperator><Identifier><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="'PEER'"/></ScalarOperator></Compare></ScalarOperator></Logical></ScalarOperator></Logical></ScalarOperator></Predicate></Filter></RelOp></ComputeScalar></RelOp></Parallelism></RelOp></Concat></RelOp></Sort></RelOp></StreamAggregate></RelOp></Parallelism></RelOp></QueryPlan></StmtSimple></Statements></Batch></BatchSequence></ShowPlanXML>

  • brian 20008 (12/1/2011)


    I don't usually work with the XML execution plans so pardon me if it's not a clean post...

    Brian, any chance you can bring up the actual execution plans and then simply rt-click/save as them and attach them here? You'll want to use 'save execution plan as' and then use save as type execution plan files (*.sqlplan).


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

  • Actual Execution Plan

    <ShowPlanXML xmlns="http://schemas.microsoft.com/sqlserver/2004/07/showplan" Version="1.1" Build="10.0.2746.0"><BatchSequence><Batch><Statements><StmtSimple StatementText="select [Status] = esc.statusname, [Parent] = null, [Criteria] = ' = ''' + rtrim(esc.StatusCode) + '''', [Count] = sum(isnull(rq.[SubItemCount], 0)), [PickList] = rtrim(ESC.StatusDesc) + ' - [ ' + Cast(sum(isnull(rq.[SubItemCount], 0)) as varchar(5)) + ' Cases ] ', [Institution] = 'CATEGORY', [Modality] = '', [TagText] = '' from EXAM_STATUS_CODES esc left outer join view_ReadingQueue as rq on ( rq.Parent = esc.statusname ) where esc.UseInMainList = 1 and ( -- Get Non-Peer Categories without regard to Assignments (esc.statusname != 'PEER' And @FilterAssigned = 0) OR -- Get Non-Peer Categories Assigned to this Doc (esc.statusname != 'PEER' And @FilterAssigned = 1 And rq.AssignedReaderID = @ReaderID) OR -- Get PEER total count Not Read by this Doc (esc.statusname = 'PEER' And rq.AssignedReaderID != @ReaderID) ) group by esc.statusname, esc.StatusCode, ESC.StatusDesc union select [Status] = 'SubItem', [Parent] = rq.[Parent], [Criteria] = ' = ''' + rtrim(rq.StatusCode) + '''', [Count] = rq.subItemCount, [PickList] = rtrim(rq.Institution) + ' - ' + rq.Modality + ' [ ' + Cast(rq.SubItemCount as varchar(5)) + ' Cases ] ', [Institution] = rq.Institution, [Modality] = rq.modality, [TagText] = '' from view_ReadingQueue as rq where ( -- Get Non-Peer Subitems without regard to Assignments (rq.[Parent] != 'PEER' And @FilterAssigned = 0) OR -- Get Non-Peer SubItems Assigned to this Doc (rq.[Parent] != 'PEER' And @FilterAssigned = 1 And rq.AssignedReaderID = @ReaderID) OR -- Get PEER subitems Not Read by this Doc (rq.[Parent] = 'PEER' And rq.AssignedReaderID != @ReaderID) ) order by [Parent]

    " StatementId="1" StatementCompId="3" StatementType="SELECT" StatementSubTreeCost="25.7147" StatementEstRows="101059" StatementOptmLevel="FULL" QueryHash="0x9B6A47C379FE4375" QueryPlanHash="0x9B6727C80D5E8943"><StatementSetOptions QUOTED_IDENTIFIER="true" ARITHABORT="true" CONCAT_NULL_YIELDS_NULL="true" ANSI_NULLS="true" ANSI_PADDING="true" ANSI_WARNINGS="true" NUMERIC_ROUNDABORT="false"/><QueryPlan DegreeOfParallelism="16" MemoryGrant="40960" CachedPlanSize="232" CompileTime="786" CompileCPU="786" CompileMemory="2800"><RelOp NodeId="0" PhysicalOp="Parallelism" LogicalOp="Gather Streams" EstimateRows="101059" EstimateIO="0" EstimateCPU="0.662121" AvgRowSize="227" EstimatedTotalSubtreeCost="25.7147" Parallel="1" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Column="Union1037"/><ColumnReference Column="Union1038"/><ColumnReference Column="Union1039"/><ColumnReference Column="Union1040"/><ColumnReference Column="Union1041"/><ColumnReference Column="Union1042"/><ColumnReference Column="Union1043"/><ColumnReference Column="Union1044"/></OutputList><RunTimeInformation><RunTimeCountersPerThread Thread="0" ActualRows="105" ActualEndOfScans="1" ActualExecutions="1"/></RunTimeInformation><Parallelism><OrderBy><OrderByColumn Ascending="1"><ColumnReference Column="Union1038"/></OrderByColumn></OrderBy><RelOp NodeId="1" PhysicalOp="Stream Aggregate" LogicalOp="Aggregate" EstimateRows="101059" EstimateIO="0" EstimateCPU="0.0126325" AvgRowSize="227" EstimatedTotalSubtreeCost="25.0526" Parallel="1" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Column="Union1037"/><ColumnReference Column="Union1038"/><ColumnReference Column="Union1039"/><ColumnReference Column="Union1040"/><ColumnReference Column="Union1041"/><ColumnReference Column="Union1042"/><ColumnReference Column="Union1043"/><ColumnReference Column="Union1044"/></OutputList><RunTimeInformation><RunTimeCountersPerThread Thread="10" ActualRows="7" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="5" ActualRows="7" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="15" ActualRows="8" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="14" ActualRows="3" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="16" ActualRows="7" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="13" ActualRows="7" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="11" ActualRows="4" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="9" ActualRows="10" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="7" ActualRows="12" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="12" ActualRows="5" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="8" ActualRows="5" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="6" ActualRows="5" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="2" ActualRows="5" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="1" ActualRows="7" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="4" ActualRows="5" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="3" ActualRows="8" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0"/></RunTimeInformation><StreamAggregate><DefinedValues/><GroupBy><ColumnReference Column="Union1038"/><ColumnReference Column="Union1037"/><ColumnReference Column="Union1039"/><ColumnReference Column="Union1040"/><ColumnReference Column="Union1041"/><ColumnReference Column="Union1042"/><ColumnReference Column="Union1043"/><ColumnReference Column="Union1044"/></GroupBy><RelOp NodeId="2" PhysicalOp="Sort" LogicalOp="Sort" EstimateRows="101060" EstimateIO="0.00140766" EstimateCPU="0.963978" AvgRowSize="227" EstimatedTotalSubtreeCost="25.04" Parallel="1" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Column="Union1037"/><ColumnReference Column="Union1038"/><ColumnReference Column="Union1039"/><ColumnReference Column="Union1040"/><ColumnReference Column="Union1041"/><ColumnReference Column="Union1042"/><ColumnReference Column="Union1043"/><ColumnReference Column="Union1044"/></OutputList><MemoryFractions Input="0.283601" Output="1"/><RunTimeInformation><RunTimeCountersPerThread Thread="10" ActualRows="11" ActualRebinds="1" ActualRewinds="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="5" ActualRows="9" ActualRebinds="1" ActualRewinds="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="15" ActualRows="11" ActualRebinds="1" ActualRewinds="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="14" ActualRows="7" ActualRebinds="1" ActualRewinds="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="13" ActualRows="11" ActualRebinds="1" ActualRewinds="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="16" ActualRows="8" ActualRebinds="1" ActualRewinds="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="11" ActualRows="4" ActualRebinds="1" ActualRewinds="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="9" ActualRows="11" ActualRebinds="1" ActualRewinds="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="7" ActualRows="17" ActualRebinds="1" ActualRewinds="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="12" ActualRows="5" ActualRebinds="1" ActualRewinds="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="8" ActualRows="8" ActualRebinds="1" ActualRewinds="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="6" ActualRows="7" ActualRebinds="1" ActualRewinds="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="1" ActualRows="13" ActualRebinds="1" ActualRewinds="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="2" ActualRows="7" ActualRebinds="1" ActualRewinds="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="3" ActualRows="10" ActualRebinds="1" ActualRewinds="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="4" ActualRows="7" ActualRebinds="1" ActualRewinds="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="0" ActualRows="0" ActualRebinds="0" ActualRewinds="0" ActualEndOfScans="0" ActualExecutions="0"/></RunTimeInformation><Sort Distinct="0"><OrderBy><OrderByColumn Ascending="1"><ColumnReference Column="Union1038"/></OrderByColumn><OrderByColumn Ascending="1"><ColumnReference Column="Union1037"/></OrderByColumn><OrderByColumn Ascending="1"><ColumnReference Column="Union1039"/></OrderByColumn><OrderByColumn Ascending="1"><ColumnReference Column="Union1040"/></OrderByColumn><OrderByColumn Ascending="1"><ColumnReference Column="Union1041"/></OrderByColumn><OrderByColumn Ascending="1"><ColumnReference Column="Union1042"/></OrderByColumn><OrderByColumn Ascending="1"><ColumnReference Column="Union1043"/></OrderByColumn></OrderBy><RelOp NodeId="3" PhysicalOp="Concatenation" LogicalOp="Concatenation" EstimateRows="101060" EstimateIO="0" EstimateCPU="0.00126325" AvgRowSize="227" EstimatedTotalSubtreeCost="24.0746" Parallel="1" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Column="Union1037"/><ColumnReference Column="Union1038"/><ColumnReference Column="Union1039"/><ColumnReference Column="Union1040"/><ColumnReference Column="Union1041"/><ColumnReference Column="Union1042"/><ColumnReference Column="Union1043"/><ColumnReference Column="Union1044"/></OutputList><RunTimeInformation><RunTimeCountersPerThread Thread="10" ActualRows="11" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="5" ActualRows="9" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="15" ActualRows="11" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="13" ActualRows="11" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="14" ActualRows="7" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="16" ActualRows="8" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="11" ActualRows="4" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="12" ActualRows="5" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="7" ActualRows="17" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="8" ActualRows="8" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="9" ActualRows="11" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="6" ActualRows="7" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="1" ActualRows="13" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="2" ActualRows="7" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="4" ActualRows="7" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="3" ActualRows="10" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0"/></RunTimeInformation><Concat><DefinedValues><DefinedValue><ColumnReference Column="Union1037"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/><ColumnReference Column="Expr1033"/></DefinedValue><DefinedValue><ColumnReference Column="Union1038"/><ColumnReference Column="Expr1015"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/></DefinedValue><DefinedValue><ColumnReference Column="Union1039"/><ColumnReference Column="Expr1016"/><ColumnReference Column="Expr1034"/></DefinedValue><DefinedValue><ColumnReference Column="Union1040"/><ColumnReference Column="Expr1014"/><ColumnReference Column="Expr1030"/></DefinedValue><DefinedValue><ColumnReference Column="Union1041"/><ColumnReference Column="Expr1017"/><ColumnReference Column="Expr1035"/></DefinedValue><DefinedValue><ColumnReference Column="Union1042"/><ColumnReference Column="Expr1018"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Institution"/></DefinedValue><DefinedValue><ColumnReference Column="Union1043"/><ColumnReference Column="Expr1019"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Modality"/></DefinedValue><DefinedValue><ColumnReference Column="Union1044"/><ColumnReference Column="Expr1020"/><ColumnReference Column="Expr1036"/></DefinedValue></DefinedValues><RelOp NodeId="4" PhysicalOp="Parallelism" LogicalOp="Repartition Streams" EstimateRows="11" EstimateIO="0" EstimateCPU="0.028523" AvgRowSize="102" EstimatedTotalSubtreeCost="12.3188" Parallel="1" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/><ColumnReference Column="Expr1014"/><ColumnReference Column="Expr1015"/><ColumnReference Column="Expr1016"/><ColumnReference Column="Expr1017"/><ColumnReference Column="Expr1018"/><ColumnReference Column="Expr1019"/><ColumnReference Column="Expr1020"/></OutputList><RunTimeInformation><RunTimeCountersPerThread Thread="10" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="15" ActualRows="1" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="14" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="13" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="16" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="12" ActualRows="1" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="11" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="7" ActualRows="1" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="8" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="5" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="9" ActualRows="1" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="6" ActualRows="1" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="2" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="1" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="3" ActualRows="1" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="4" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0"/></RunTimeInformation><Parallelism PartitioningType="Hash"><PartitionColumns><ColumnReference Column="Expr1015"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/><ColumnReference Column="Expr1016"/><ColumnReference Column="Expr1014"/><ColumnReference Column="Expr1017"/><ColumnReference Column="Expr1018"/><ColumnReference Column="Expr1019"/><ColumnReference Column="Expr1020"/></PartitionColumns><RelOp NodeId="5" PhysicalOp="Compute Scalar" LogicalOp="Compute Scalar" EstimateRows="11" EstimateIO="0" EstimateCPU="1.375e-007" AvgRowSize="102" EstimatedTotalSubtreeCost="12.2903" Parallel="1" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/><ColumnReference Column="Expr1014"/><ColumnReference Column="Expr1015"/><ColumnReference Column="Expr1016"/><ColumnReference Column="Expr1017"/><ColumnReference Column="Expr1018"/><ColumnReference Column="Expr1019"/><ColumnReference Column="Expr1020"/></OutputList><ComputeScalar><DefinedValues><DefinedValue><ColumnReference Column="Expr1015"/><ScalarOperator ScalarString="NULL"><Const ConstValue="NULL"/></ScalarOperator></DefinedValue><DefinedValue><ColumnReference Column="Expr1016"/><ScalarOperator ScalarString="(' = '''+rtrim([STAIR].[dbo].[EXAM_STATUS_CODES].[StatusCode] as [esc].[StatusCode]))+''''"><Arithmetic Operation="ADD"><ScalarOperator><Arithmetic Operation="ADD"><ScalarOperator><Const ConstValue="' = '''"/></ScalarOperator><ScalarOperator><Intrinsic FunctionName="rtrim"><ScalarOperator><Identifier><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusCode"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator></Arithmetic></ScalarOperator><ScalarOperator><Const ConstValue="''''"/></ScalarOperator></Arithmetic></ScalarOperator></DefinedValue><DefinedValue><ColumnReference Column="Expr1017"/><ScalarOperator ScalarString="((rtrim([STAIR].[dbo].[EXAM_STATUS_CODES].[StatusDesc] as [esc].[StatusDesc])+' - [ ')+CONVERT(varchar(5),[Expr1014],0))+' Cases ] '"><Arithmetic Operation="ADD"><ScalarOperator><Arithmetic Operation="ADD"><ScalarOperator><Arithmetic Operation="ADD"><ScalarOperator><Intrinsic FunctionName="rtrim"><ScalarOperator><Identifier><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusDesc"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator><ScalarOperator><Const ConstValue="' - [ '"/></ScalarOperator></Arithmetic></ScalarOperator><ScalarOperator><Convert DataType="varchar" Length="5" Style="0" Implicit="0"><ScalarOperator><Identifier><ColumnReference Column="Expr1014"/></Identifier></ScalarOperator></Convert></ScalarOperator></Arithmetic></ScalarOperator><ScalarOperator><Const ConstValue="' Cases ] '"/></ScalarOperator></Arithmetic></ScalarOperator></DefinedValue><DefinedValue><ColumnReference Column="Expr1018"/><ScalarOperator ScalarString="'CATEGORY'"><Const ConstValue="'CATEGORY'"/></ScalarOperator></DefinedValue><DefinedValue><ColumnReference Column="Expr1019"/><ScalarOperator ScalarString="''"><Const ConstValue="''"/></ScalarOperator></DefinedValue><DefinedValue><ColumnReference Column="Expr1020"/><ScalarOperator ScalarString="''"><Const ConstValue="''"/></ScalarOperator></DefinedValue></DefinedValues><RelOp NodeId="6" PhysicalOp="Stream Aggregate" LogicalOp="Aggregate" EstimateRows="11" EstimateIO="0" EstimateCPU="7.2875e-006" AvgRowSize="121" EstimatedTotalSubtreeCost="12.2903" Parallel="1" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusCode"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusDesc"/><ColumnReference Column="Expr1014"/></OutputList><RunTimeInformation><RunTimeCountersPerThread Thread="11" ActualRows="1" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="12" ActualRows="1" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="16" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="15" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="4" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="9" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="5" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="13" ActualRows="1" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="8" ActualRows="1" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="7" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="10" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="3" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="14" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="6" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="1" ActualRows="1" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="2" ActualRows="1" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0"/></RunTimeInformation><StreamAggregate><DefinedValues><DefinedValue><ColumnReference Column="Expr1014"/><ScalarOperator ScalarString="SUM([partialagg1055])"><Aggregate Distinct="0" AggType="SUM"><ScalarOperator><Identifier><ColumnReference Column="partialagg1055"/></Identifier></ScalarOperator></Aggregate></ScalarOperator></DefinedValue><DefinedValue><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/><ScalarOperator ScalarString="ANY([STAIR].[dbo].[EXAM_STATUS_CODES].[StatusName] as [esc].[StatusName])"><Aggregate Distinct="0" AggType="ANY"><ScalarOperator><Identifier><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/></Identifier></ScalarOperator></Aggregate></ScalarOperator></DefinedValue><DefinedValue><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusDesc"/><ScalarOperator ScalarString="ANY([STAIR].[dbo].[EXAM_STATUS_CODES].[StatusDesc] as [esc].[StatusDesc])"><Aggregate Distinct="0" AggType="ANY"><ScalarOperator><Identifier><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusDesc"/></Identifier></ScalarOperator></Aggregate></ScalarOperator></DefinedValue></DefinedValues><GroupBy><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusCode"/></GroupBy><RelOp NodeId="7" PhysicalOp="Sort" LogicalOp="Sort" EstimateRows="88" EstimateIO="0.00140766" EstimateCPU="0.000123359" AvgRowSize="121" EstimatedTotalSubtreeCost="12.2903" Parallel="1" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusCode"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusDesc"/><ColumnReference Column="partialagg1055"/></OutputList><MemoryFractions Input="0.000615953" Output="0.716399"/><RunTimeInformation><RunTimeCountersPerThread Thread="11" ActualRows="1" ActualRebinds="1" ActualRewinds="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="12" ActualRows="1" ActualRebinds="1" ActualRewinds="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="16" ActualRows="0" ActualRebinds="1" ActualRewinds="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="15" ActualRows="0" ActualRebinds="1" ActualRewinds="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="4" ActualRows="0" ActualRebinds="1" ActualRewinds="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="9" ActualRows="0" ActualRebinds="1" ActualRewinds="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="13" ActualRows="1" ActualRebinds="1" ActualRewinds="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="5" ActualRows="0" ActualRebinds="1" ActualRewinds="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="8" ActualRows="1" ActualRebinds="1" ActualRewinds="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="10" ActualRows="0" ActualRebinds="1" ActualRewinds="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="7" ActualRows="0" ActualRebinds="1" ActualRewinds="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="3" ActualRows="0" ActualRebinds="1" ActualRewinds="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="14" ActualRows="0" ActualRebinds="1" ActualRewinds="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="6" ActualRows="0" ActualRebinds="1" ActualRewinds="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="1" ActualRows="1" ActualRebinds="1" ActualRewinds="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="2" ActualRows="1" ActualRebinds="1" ActualRewinds="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="0" ActualRows="0" ActualRebinds="0" ActualRewinds="0" ActualEndOfScans="0" ActualExecutions="0"/></RunTimeInformation><Sort Distinct="0"><OrderBy><OrderByColumn Ascending="1"><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusCode"/></OrderByColumn></OrderBy><RelOp NodeId="8" PhysicalOp="Parallelism" LogicalOp="Repartition Streams" EstimateRows="88" EstimateIO="0" EstimateCPU="0.0285343" AvgRowSize="121" EstimatedTotalSubtreeCost="12.2887" Parallel="1" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusCode"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusDesc"/><ColumnReference Column="partialagg1055"/></OutputList><RunTimeInformation><RunTimeCountersPerThread Thread="11" ActualRows="1" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="16" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="12" ActualRows="1" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="15" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="7" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="13" ActualRows="1" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="14" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="9" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="4" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="5" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="10" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="8" ActualRows="1" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="6" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="3" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="1" ActualRows="1" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="2" ActualRows="1" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0"/></RunTimeInformation><Parallelism PartitioningType="Hash"><PartitionColumns><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusCode"/></PartitionColumns><RelOp NodeId="9" PhysicalOp="Hash Match" LogicalOp="Partial Aggregate" EstimateRows="88" EstimateIO="0" EstimateCPU="0.059344" AvgRowSize="121" EstimatedTotalSubtreeCost="12.2602" Parallel="1" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusCode"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusDesc"/><ColumnReference Column="partialagg1055"/></OutputList><MemoryFractions Input="0" Output="0"/><RunTimeInformation><RunTimeCountersPerThread Thread="15" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="13" ActualRows="1" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="4" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="9" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="14" ActualRows="1" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="10" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="1" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="7" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="16" ActualRows="2" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="12" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="6" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="3" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="8" ActualRows="1" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="11" ActualRows="1" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="2" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="5" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0"/></RunTimeInformation><Hash><DefinedValues><DefinedValue><ColumnReference Column="partialagg1055"/><ScalarOperator ScalarString="SUM(isnull([Expr1011],(0)))"><Aggregate Distinct="0" AggType="SUM"><ScalarOperator><Intrinsic FunctionName="isnull"><ScalarOperator><Identifier><ColumnReference Column="Expr1011"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="(0)"/></ScalarOperator></Intrinsic></ScalarOperator></Aggregate></ScalarOperator></DefinedValue><DefinedValue><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/><ScalarOperator ScalarString="ANY([STAIR].[dbo].[EXAM_STATUS_CODES].[StatusName] as [esc].[StatusName])"><Aggregate Distinct="0" AggType="ANY"><ScalarOperator><Identifier><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/></Identifier></ScalarOperator></Aggregate></ScalarOperator></DefinedValue><DefinedValue><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusDesc"/><ScalarOperator ScalarString="ANY([STAIR].[dbo].[EXAM_STATUS_CODES].[StatusDesc] as [esc].[StatusDesc])"><Aggregate Distinct="0" AggType="ANY"><ScalarOperator><Identifier><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusDesc"/></Identifier></ScalarOperator></Aggregate></ScalarOperator></DefinedValue></DefinedValues><HashKeysBuild><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusCode"/></HashKeysBuild><BuildResidual><ScalarOperator ScalarString="[STAIR].[dbo].[EXAM_STATUS_CODES].[StatusCode] as [esc].[StatusCode] = [STAIR].[dbo].[EXAM_STATUS_CODES].[StatusCode] as [esc].[StatusCode]"><Compare CompareOp="IS"><ScalarOperator><Identifier><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusCode"/></Identifier></ScalarOperator><ScalarOperator><Identifier><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusCode"/></Identifier></ScalarOperator></Compare></ScalarOperator></BuildResidual><RelOp NodeId="10" PhysicalOp="Filter" LogicalOp="Filter" EstimateRows="42863.1" EstimateIO="0" EstimateCPU="0.041937" AvgRowSize="121" EstimatedTotalSubtreeCost="12.2009" Parallel="1" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusCode"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusDesc"/><ColumnReference Column="Expr1011"/></OutputList><RunTimeInformation><RunTimeCountersPerThread Thread="15" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="14" ActualRows="43" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="13" ActualRows="1" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="9" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="7" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="4" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="16" ActualRows="83" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="1" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="10" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="12" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="3" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="6" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="8" ActualRows="1" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="11" ActualRows="15" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="2" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="5" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0"/></RunTimeInformation><Filter StartupExpression="0"><RelOp NodeId="11" PhysicalOp="Hash Match" LogicalOp="Left Outer Join" EstimateRows="147147" EstimateIO="0" EstimateCPU="0.591217" AvgRowSize="125" EstimatedTotalSubtreeCost="12.1589" Parallel="1" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusCode"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusDesc"/><ColumnReference Column="Expr1011"/><ColumnReference Column="Expr1012"/></OutputList><MemoryFractions Input="0.00589491" Output="0.00595421"/><RunTimeInformation><RunTimeCountersPerThread Thread="15" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="14" ActualRows="43" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="13" ActualRows="1" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="4" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="9" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="7" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="16" ActualRows="84" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="1" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="10" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="12" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="6" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="3" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="11" ActualRows="15" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="8" ActualRows="1" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="2" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="5" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0"/></RunTimeInformation><Hash><DefinedValues/><HashKeysBuild><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/></HashKeysBuild><HashKeysProbe><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/></HashKeysProbe><ProbeResidual><ScalarOperator ScalarString="[STAIR].[dbo].[EXAM_STATUS_CODES].[StatusName] as [esc].[StatusName]=[STAIR].[dbo].[EXAM_STATUS_CODES].[StatusName] as [esc].[StatusName]"><Compare CompareOp="EQ"><ScalarOperator><Identifier><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/></Identifier></ScalarOperator><ScalarOperator><Identifier><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/></Identifier></ScalarOperator></Compare></ScalarOperator></ProbeResidual><RelOp NodeId="12" PhysicalOp="Bitmap" LogicalOp="Bitmap Create" EstimateRows="1" EstimateIO="0" EstimateCPU="0.0285108" AvgRowSize="117" EstimatedTotalSubtreeCost="0.0604352" Parallel="1" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusCode"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusDesc"/></OutputList><RunTimeInformation><RunTimeCountersPerThread Thread="15" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="16" ActualRows="3" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="14" ActualRows="1" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="10" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="13" ActualRows="1" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="12" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="7" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="9" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="4" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="11" ActualRows="1" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="8" ActualRows="1" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="5" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="6" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="3" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="1" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="2" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0"/></RunTimeInformation><Bitmap><DefinedValues><DefinedValue><ColumnReference Column="Bitmap1058"/></DefinedValue></DefinedValues><HashKeys><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/></HashKeys><RelOp NodeId="13" PhysicalOp="Parallelism" LogicalOp="Repartition Streams" EstimateRows="1" EstimateIO="0" EstimateCPU="0.0285108" AvgRowSize="117" EstimatedTotalSubtreeCost="0.0604352" Parallel="1" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusCode"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusDesc"/></OutputList><RunTimeInformation><RunTimeCountersPerThread Thread="15" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="16" ActualRows="3" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="14" ActualRows="1" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="10" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="13" ActualRows="1" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="12" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="4" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="9" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="7" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="11" ActualRows="1" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="8" ActualRows="1" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="5" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="6" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="3" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="1" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="2" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0"/></RunTimeInformation><Parallelism PartitioningType="Hash"><PartitionColumns><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/></PartitionColumns><RelOp NodeId="14" PhysicalOp="Parallelism" LogicalOp="Distribute Streams" EstimateRows="1" EstimateIO="0" EstimateCPU="0.0285107" AvgRowSize="118" EstimatedTotalSubtreeCost="0.0318059" Parallel="1" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusCode"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusDesc"/></OutputList><RunTimeInformation><RunTimeCountersPerThread Thread="16" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="3" ActualRows="1" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="12" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="6" ActualRows="1" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="10" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="14" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="2" ActualRows="1" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="7" ActualRows="1" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="1" ActualRows="1" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="5" ActualRows="1" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="9" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="15" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="11" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="13" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="4" ActualRows="1" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="8" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0"/></RunTimeInformation><Parallelism PartitioningType="RoundRobin"><RelOp NodeId="15" PhysicalOp="Clustered Index Scan" LogicalOp="Clustered Index Scan" EstimateRows="1" EstimateIO="0.003125" EstimateCPU="0.0001702" AvgRowSize="118" EstimatedTotalSubtreeCost="0.0032952" TableCardinality="12" Parallel="0" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusCode"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusDesc"/></OutputList><RunTimeInformation><RunTimeCountersPerThread Thread="1" ActualRows="7" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0"/></RunTimeInformation><IndexScan Ordered="0" ForcedIndex="0" NoExpandHint="0"><DefinedValues><DefinedValue><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusCode"/></DefinedValue><DefinedValue><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/></DefinedValue><DefinedValue><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusDesc"/></DefinedValue></DefinedValues><Object Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Index="[PK_STATUS_CODES_STAIR_SCHEMA_2.9.01]" Alias="[esc]" TableReferenceId="1" IndexKind="Clustered"/><Predicate><ScalarOperator ScalarString="[STAIR].[dbo].[EXAM_STATUS_CODES].[UseInMainList] as [esc].[UseInMainList]=(1)"><Compare CompareOp="EQ"><ScalarOperator><Identifier><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="UseInMainList"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="(1)"/></ScalarOperator></Compare></ScalarOperator></Predicate></IndexScan></RelOp></Parallelism></RelOp></Parallelism></RelOp></Bitmap></RelOp><RelOp NodeId="16" PhysicalOp="Compute Scalar" LogicalOp="Compute Scalar" EstimateRows="351276" EstimateIO="0" EstimateCPU="0.00439094" AvgRowSize="21" EstimatedTotalSubtreeCost="11.5073" Parallel="1" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/><ColumnReference Column="Expr1011"/><ColumnReference Column="Expr1012"/></OutputList><ComputeScalar><DefinedValues><DefinedValue><ColumnReference Column="Expr1012"/><ScalarOperator ScalarString="isnull([STAIR].[dbo].[ReadingAssignments].[AssignedRad] as [ra].[AssignedRad],(0))"><Intrinsic FunctionName="isnull"><ScalarOperator><Identifier><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[ReadingAssignments]" Alias="[ra]" Column="AssignedRad"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="(0)"/></ScalarOperator></Intrinsic></ScalarOperator></DefinedValue></DefinedValues><RelOp NodeId="18" PhysicalOp="Compute Scalar" LogicalOp="Compute Scalar" EstimateRows="351276" EstimateIO="0" EstimateCPU="0.00439094" AvgRowSize="21" EstimatedTotalSubtreeCost="11.5029" Parallel="1" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[ReadingAssignments]" Alias="[ra]" Column="AssignedRad"/><ColumnReference Column="Expr1011"/></OutputList><ComputeScalar><DefinedValues><DefinedValue><ColumnReference Column="Expr1011"/><ScalarOperator ScalarString="CONVERT_IMPLICIT(int,[globalagg1054],0)"><Convert DataType="int" Style="0" Implicit="1"><ScalarOperator><Identifier><ColumnReference Column="globalagg1054"/></Identifier></ScalarOperator></Convert></ScalarOperator></DefinedValue></DefinedValues><RelOp NodeId="19" PhysicalOp="Parallelism" LogicalOp="Repartition Streams" EstimateRows="351276" EstimateIO="0" EstimateCPU="0.222898" AvgRowSize="25" EstimatedTotalSubtreeCost="11.4985" Parallel="1" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[ReadingAssignments]" Alias="[ra]" Column="AssignedRad"/><ColumnReference Column="globalagg1054"/></OutputList><RunTimeInformation><RunTimeCountersPerThread Thread="15" ActualRows="0" ActualEndOfScans="0" ActualExecutions="1"/><RunTimeCountersPerThread Thread="16" ActualRows="82" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="14" ActualRows="43" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="10" ActualRows="0" ActualEndOfScans="0" ActualExecutions="1"/><RunTimeCountersPerThread Thread="13" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="12" ActualRows="0" ActualEndOfScans="0" ActualExecutions="1"/><RunTimeCountersPerThread Thread="7" ActualRows="0" ActualEndOfScans="0" ActualExecutions="1"/><RunTimeCountersPerThread Thread="4" ActualRows="0" ActualEndOfScans="0" ActualExecutions="1"/><RunTimeCountersPerThread Thread="9" ActualRows="0" ActualEndOfScans="0" ActualExecutions="1"/><RunTimeCountersPerThread Thread="11" ActualRows="15" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="8" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="5" ActualRows="0" ActualEndOfScans="0" ActualExecutions="1"/><RunTimeCountersPerThread Thread="6" ActualRows="0" ActualEndOfScans="0" ActualExecutions="1"/><RunTimeCountersPerThread Thread="3" ActualRows="0" ActualEndOfScans="0" ActualExecutions="1"/><RunTimeCountersPerThread Thread="2" ActualRows="0" ActualEndOfScans="0" ActualExecutions="1"/><RunTimeCountersPerThread Thread="1" ActualRows="0" ActualEndOfScans="0" ActualExecutions="1"/><RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0"/></RunTimeInformation><Parallelism PartitioningType="Hash"><PartitionColumns><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/></PartitionColumns><Predicate><ScalarOperator ScalarString="PROBE([Bitmap1058],[STAIR].[dbo].[EXAM_STATUS_CODES].[StatusName] as [esc].[StatusName])"><Intrinsic FunctionName="PROBE"><ScalarOperator><Identifier><ColumnReference Column="Bitmap1058"/></Identifier></ScalarOperator><ScalarOperator><Identifier><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator></Predicate><RelOp NodeId="20" PhysicalOp="Stream Aggregate" LogicalOp="Aggregate" EstimateRows="351276" EstimateIO="0" EstimateCPU="0.0487879" AvgRowSize="25" EstimatedTotalSubtreeCost="11.2756" Parallel="1" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[ReadingAssignments]" Alias="[ra]" Column="AssignedRad"/><ColumnReference Column="globalagg1054"/></OutputList><RunTimeInformation><RunTimeCountersPerThread Thread="2" ActualRows="12" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="1" ActualRows="3" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="15" ActualRows="7" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="13" ActualRows="11" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="14" ActualRows="7" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="11" ActualRows="7" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="6" ActualRows="8" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="16" ActualRows="13" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="10" ActualRows="11" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="9" ActualRows="9" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="8" ActualRows="9" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="3" ActualRows="12" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="12" ActualRows="5" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="4" ActualRows="11" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="5" ActualRows="4" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="7" ActualRows="11" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0"/></RunTimeInformation><StreamAggregate><DefinedValues><DefinedValue><ColumnReference Column="globalagg1054"/><ScalarOperator ScalarString="SUM([partialagg1053])"><Aggregate Distinct="0" AggType="SUM"><ScalarOperator><Identifier><ColumnReference Column="partialagg1053"/></Identifier></ScalarOperator></Aggregate></ScalarOperator></DefinedValue><DefinedValue><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/><ScalarOperator ScalarString="ANY([STAIR].[dbo].[EXAM_STATUS_CODES].[StatusName] as [esc].[StatusName])"><Aggregate Distinct="0" AggType="ANY"><ScalarOperator><Identifier><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/></Identifier></ScalarOperator></Aggregate></ScalarOperator></DefinedValue></DefinedValues><GroupBy><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Institution"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Modality"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[ReadingAssignments]" Alias="[ra]" Column="AssignedRad"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="SiteCode"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusCode"/></GroupBy><RelOp NodeId="21" PhysicalOp="Parallelism" LogicalOp="Repartition Streams" EstimateRows="357775" EstimateIO="0" EstimateCPU="1.98977" AvgRowSize="61" EstimatedTotalSubtreeCost="11.2268" Parallel="1" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Modality"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Institution"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusCode"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="SiteCode"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[ReadingAssignments]" Alias="[ra]" Column="AssignedRad"/><ColumnReference Column="partialagg1053"/></OutputList><RunTimeInformation><RunTimeCountersPerThread Thread="2" ActualRows="65" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="1" ActualRows="24" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="15" ActualRows="32" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="13" ActualRows="81" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="14" ActualRows="47" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="11" ActualRows="38" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="6" ActualRows="51" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="10" ActualRows="44" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="9" ActualRows="65" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="16" ActualRows="109" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="8" ActualRows="41" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="3" ActualRows="127" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="12" ActualRows="42" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="4" ActualRows="63" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="5" ActualRows="33" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="7" ActualRows="42" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0"/></RunTimeInformation><Parallelism PartitioningType="Hash"><PartitionColumns><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Institution"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Modality"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[ReadingAssignments]" Alias="[ra]" Column="AssignedRad"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="SiteCode"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusCode"/></PartitionColumns><OrderBy><OrderByColumn Ascending="1"><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Institution"/></OrderByColumn><OrderByColumn Ascending="1"><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Modality"/></OrderByColumn><OrderByColumn Ascending="1"><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[ReadingAssignments]" Alias="[ra]" Column="AssignedRad"/></OrderByColumn><OrderByColumn Ascending="1"><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="SiteCode"/></OrderByColumn><OrderByColumn Ascending="1"><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusCode"/></OrderByColumn></OrderBy><RelOp NodeId="22" PhysicalOp="Stream Aggregate" LogicalOp="Aggregate" EstimateRows="357775" EstimateIO="0" EstimateCPU="0.0492288" AvgRowSize="61" EstimatedTotalSubtreeCost="9.23702" Parallel="1" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Modality"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Institution"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusCode"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="SiteCode"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[ReadingAssignments]" Alias="[ra]" Column="AssignedRad"/><ColumnReference Column="partialagg1053"/></OutputList><RunTimeInformation><RunTimeCountersPerThread Thread="15" ActualRows="56" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="8" ActualRows="61" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="13" ActualRows="60" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="11" ActualRows="48" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="7" ActualRows="56" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="4" ActualRows="53" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="6" ActualRows="60" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="2" ActualRows="59" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="12" ActualRows="61" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="5" ActualRows="56" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="9" ActualRows="56" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="3" ActualRows="57" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="16" ActualRows="56" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="1" ActualRows="56" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="10" ActualRows="56" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="14" ActualRows="53" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0"/></RunTimeInformation><StreamAggregate><DefinedValues><DefinedValue><ColumnReference Column="partialagg1053"/><ScalarOperator ScalarString="Count(*)"><Aggregate AggType="countstar" Distinct="0"/></ScalarOperator></DefinedValue><DefinedValue><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/><ScalarOperator ScalarString="ANY([STAIR].[dbo].[EXAM_STATUS_CODES].[StatusName] as [esc].[StatusName])"><Aggregate Distinct="0" AggType="ANY"><ScalarOperator><Identifier><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/></Identifier></ScalarOperator></Aggregate></ScalarOperator></DefinedValue></DefinedValues><GroupBy><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Institution"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Modality"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[ReadingAssignments]" Alias="[ra]" Column="AssignedRad"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="SiteCode"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusCode"/></GroupBy><RelOp NodeId="23" PhysicalOp="Sort" LogicalOp="Distinct Sort" EstimateRows="358238" EstimateIO="0.00140766" EstimateCPU="3.79233" AvgRowSize="53" EstimatedTotalSubtreeCost="9.1878" Parallel="1" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Modality"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Institution"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusCode"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="SiteCode"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[ReadingAssignments]" Alias="[ra]" Column="AssignedRad"/></OutputList><MemoryFractions Input="0.983535" Output="0.99343"/><RunTimeInformation><RunTimeCountersPerThread Thread="15" ActualRows="148" ActualRebinds="1" ActualRewinds="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="8" ActualRows="179" ActualRebinds="1" ActualRewinds="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="13" ActualRows="138" ActualRebinds="1" ActualRewinds="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="11" ActualRows="151" ActualRebinds="1" ActualRewinds="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="4" ActualRows="168" ActualRebinds="1" ActualRewinds="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="2" ActualRows="171" ActualRebinds="1" ActualRewinds="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="7" ActualRows="163" ActualRebinds="1" ActualRewinds="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="6" ActualRows="152" ActualRebinds="1" ActualRewinds="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="12" ActualRows="138" ActualRebinds="1" ActualRewinds="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="5" ActualRows="144" ActualRebinds="1" ActualRewinds="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="9" ActualRows="162" ActualRebinds="1" ActualRewinds="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="3" ActualRows="162" ActualRebinds="1" ActualRewinds="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="16" ActualRows="155" ActualRebinds="1" ActualRewinds="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="10" ActualRows="153" ActualRebinds="1" ActualRewinds="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="1" ActualRows="150" ActualRebinds="1" ActualRewinds="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="14" ActualRows="153" ActualRebinds="1" ActualRewinds="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="0" ActualRows="0" ActualRebinds="0" ActualRewinds="0" ActualEndOfScans="0" ActualExecutions="0"/></RunTimeInformation><Sort Distinct="1"><OrderBy><OrderByColumn Ascending="1"><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Institution"/></OrderByColumn><OrderByColumn Ascending="1"><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Modality"/></OrderByColumn><OrderByColumn Ascending="1"><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[ReadingAssignments]" Alias="[ra]" Column="AssignedRad"/></OrderByColumn><OrderByColumn Ascending="1"><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="SiteCode"/></OrderByColumn><OrderByColumn Ascending="1"><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusCode"/></OrderByColumn><OrderByColumn Ascending="1"><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Masterkey"/></OrderByColumn></OrderBy><RelOp NodeId="24" PhysicalOp="Parallelism" LogicalOp="Repartition Streams" EstimateRows="358238" EstimateIO="0" EstimateCPU="1.15719" AvgRowSize="153" EstimatedTotalSubtreeCost="5.39406" Parallel="1" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Masterkey"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Modality"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Institution"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusCode"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="SiteCode"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[ReadingAssignments]" Alias="[ra]" Column="AssignedRad"/></OutputList><RunTimeInformation><RunTimeCountersPerThread Thread="15" ActualRows="186" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="8" ActualRows="248" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="11" ActualRows="202" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="6" ActualRows="197" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="7" ActualRows="212" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="12" ActualRows="186" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="2" ActualRows="221" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="9" ActualRows="215" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="4" ActualRows="224" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="13" ActualRows="180" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="5" ActualRows="176" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="16" ActualRows="200" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="10" ActualRows="197" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="3" ActualRows="214" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="14" ActualRows="194" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="1" ActualRows="191" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0"/></RunTimeInformation><Parallelism PartitioningType="Hash"><PartitionColumns><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Institution"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Modality"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[ReadingAssignments]" Alias="[ra]" Column="AssignedRad"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="SiteCode"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusCode"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Masterkey"/></PartitionColumns><RelOp NodeId="25" PhysicalOp="Hash Match" LogicalOp="Right Outer Join" EstimateRows="358238" EstimateIO="0" EstimateCPU="0.544728" AvgRowSize="153" EstimatedTotalSubtreeCost="4.23688" Parallel="1" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Masterkey"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Modality"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Institution"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusCode"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="SiteCode"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[ReadingAssignments]" Alias="[ra]" Column="AssignedRad"/></OutputList><MemoryFractions Input="0.95587" Output="0.0101636"/><RunTimeInformation><RunTimeCountersPerThread Thread="5" ActualRows="21" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="2" ActualRows="170" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="13" ActualRows="32" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="8" ActualRows="306" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="6" ActualRows="12" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="1" ActualRows="39" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="15" ActualRows="207" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="10" ActualRows="229" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="4" ActualRows="122" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="16" ActualRows="229" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="14" ActualRows="48" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="3" ActualRows="2" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="9" ActualRows="985" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="11" ActualRows="375" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="12" ActualRows="1" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="7" ActualRows="465" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0"/></RunTimeInformation><Hash><DefinedValues/><HashKeysBuild><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="InstitutionName"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="Modtype"/></HashKeysBuild><HashKeysProbe><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Institution"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Modality"/></HashKeysProbe><ProbeResidual><ScalarOperator ScalarString="[STAIR].[dbo].[FUTRNETCODES].[InstitutionName] as [fnc].[InstitutionName]=[STAIR].[dbo].[EXAMS].[Institution] as [e].[Institution] AND [STAIR].[dbo].[FUTRNETCODES].[Modtype] as [fnc].[Modtype]=[STAIR].[dbo].[EXAMS].[Modality] as [e].[Modality]"><Logical Operation="AND"><ScalarOperator><Compare CompareOp="EQ"><ScalarOperator><Identifier><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="InstitutionName"/></Identifier></ScalarOperator><ScalarOperator><Identifier><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Institution"/></Identifier></ScalarOperator></Compare></ScalarOperator><ScalarOperator><Compare CompareOp="EQ"><ScalarOperator><Identifier><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="Modtype"/></Identifier></ScalarOperator><ScalarOperator><Identifier><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Modality"/></Identifier></ScalarOperator></Compare></ScalarOperator></Logical></ScalarOperator></ProbeResidual><RelOp NodeId="26" PhysicalOp="Parallelism" LogicalOp="Repartition Streams" EstimateRows="888.458" EstimateIO="0" EstimateCPU="0.0289861" AvgRowSize="38" EstimatedTotalSubtreeCost="0.108433" Parallel="1" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="SiteCode"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="InstitutionName"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="Modtype"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[ReadingAssignments]" Alias="[ra]" Column="AssignedRad"/></OutputList><RunTimeInformation><RunTimeCountersPerThread Thread="5" ActualRows="104" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="2" ActualRows="58" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="13" ActualRows="54" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="8" ActualRows="74" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="6" ActualRows="70" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="1" ActualRows="49" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="15" ActualRows="72" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="10" ActualRows="54" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="4" ActualRows="37" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="16" ActualRows="41" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="14" ActualRows="84" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="3" ActualRows="212" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="9" ActualRows="40" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="11" ActualRows="65" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="12" ActualRows="67" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="7" ActualRows="101" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0"/></RunTimeInformation><Parallelism PartitioningType="Hash"><PartitionColumns><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="InstitutionName"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="Modtype"/></PartitionColumns><RelOp NodeId="27" PhysicalOp="Merge Join" LogicalOp="Right Outer Join" EstimateRows="888.458" EstimateIO="0.000507769" EstimateCPU="0.00107903" AvgRowSize="38" EstimatedTotalSubtreeCost="0.0794465" Parallel="1" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="SiteCode"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="InstitutionName"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="Modtype"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[ReadingAssignments]" Alias="[ra]" Column="AssignedRad"/></OutputList><RunTimeInformation><RunTimeCountersPerThread Thread="1" ActualRows="29" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="15" ActualRows="40" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="16" ActualRows="73" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="13" ActualRows="72" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="2" ActualRows="70" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="9" ActualRows="40" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="5" ActualRows="36" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="10" ActualRows="29" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="3" ActualRows="65" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="4" ActualRows="54" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="14" ActualRows="71" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="7" ActualRows="40" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="6" ActualRows="118" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="12" ActualRows="59" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="8" ActualRows="324" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="11" ActualRows="62" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0"/></RunTimeInformation><Merge ManyToMany="1"><InnerSideJoinColumns><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="SiteCode"/></InnerSideJoinColumns><OuterSideJoinColumns><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[ReadingAssignments]" Alias="[ra]" Column="Acct"/></OuterSideJoinColumns><Residual><ScalarOperator ScalarString="[STAIR].[dbo].[ReadingAssignments].[Acct] as [ra].[Acct]=[STAIR].[dbo].[FUTRNETCODES].[SiteCode] as [fnc].[SiteCode]"><Compare CompareOp="EQ"><ScalarOperator><Identifier><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[ReadingAssignments]" Alias="[ra]" Column="Acct"/></Identifier></ScalarOperator><ScalarOperator><Identifier><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="SiteCode"/></Identifier></ScalarOperator></Compare></ScalarOperator></Residual><RelOp NodeId="28" PhysicalOp="Sort" LogicalOp="Sort" EstimateRows="199" EstimateIO="0.00140766" EstimateCPU="0.000308841" AvgRowSize="14" EstimatedTotalSubtreeCost="0.0350625" Parallel="1" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[ReadingAssignments]" Alias="[ra]" Column="Acct"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[ReadingAssignments]" Alias="[ra]" Column="AssignedRad"/></OutputList><MemoryFractions Input="0.994105" Output="0.0382348"/><RunTimeInformation><RunTimeCountersPerThread Thread="1" ActualRows="10" ActualRebinds="1" ActualRewinds="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="15" ActualRows="7" ActualRebinds="1" ActualRewinds="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="16" ActualRows="21" ActualRebinds="1" ActualRewinds="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="13" ActualRows="14" ActualRebinds="1" ActualRewinds="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="2" ActualRows="17" ActualRebinds="1" ActualRewinds="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="9" ActualRows="10" ActualRebinds="1" ActualRewinds="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="5" ActualRows="9" ActualRebinds="1" ActualRewinds="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="4" ActualRows="13" ActualRebinds="1" ActualRewinds="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="3" ActualRows="5" ActualRebinds="1" ActualRewinds="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="14" ActualRows="7" ActualRebinds="1" ActualRewinds="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="10" ActualRows="6" ActualRebinds="1" ActualRewinds="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="7" ActualRows="7" ActualRebinds="1" ActualRewinds="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="6" ActualRows="19" ActualRebinds="1" ActualRewinds="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="12" ActualRows="17" ActualRebinds="1" ActualRewinds="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="11" ActualRows="14" ActualRebinds="1" ActualRewinds="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="8" ActualRows="23" ActualRebinds="1" ActualRewinds="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="0" ActualRows="0" ActualRebinds="0" ActualRewinds="0" ActualEndOfScans="0" ActualExecutions="0"/></RunTimeInformation><Sort Distinct="0"><OrderBy><OrderByColumn Ascending="1"><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[ReadingAssignments]" Alias="[ra]" Column="Acct"/></OrderByColumn></OrderBy><RelOp NodeId="29" PhysicalOp="Parallelism" LogicalOp="Distribute Streams" EstimateRows="199" EstimateIO="0" EstimateCPU="0.0291043" AvgRowSize="14" EstimatedTotalSubtreeCost="0.033346" Parallel="1" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[ReadingAssignments]" Alias="[ra]" Column="Acct"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[ReadingAssignments]" Alias="[ra]" Column="AssignedRad"/></OutputList><RunTimeInformation><RunTimeCountersPerThread Thread="1" ActualRows="10" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="15" ActualRows="7" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="16" ActualRows="21" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="13" ActualRows="14" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="9" ActualRows="10" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="2" ActualRows="17" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="5" ActualRows="9" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="4" ActualRows="13" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="3" ActualRows="5" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="14" ActualRows="7" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="10" ActualRows="6" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="6" ActualRows="19" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="7" ActualRows="7" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="12" ActualRows="17" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="11" ActualRows="14" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="8" ActualRows="23" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0"/></RunTimeInformation><Parallelism PartitioningType="Hash"><PartitionColumns><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[ReadingAssignments]" Alias="[ra]" Column="Acct"/></PartitionColumns><RelOp NodeId="30" PhysicalOp="Clustered Index Scan" LogicalOp="Clustered Index Scan" EstimateRows="199" EstimateIO="0.00386574" EstimateCPU="0.0003759" AvgRowSize="14" EstimatedTotalSubtreeCost="0.00424164" TableCardinality="199" Parallel="0" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[ReadingAssignments]" Alias="[ra]" Column="Acct"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[ReadingAssignments]" Alias="[ra]" Column="AssignedRad"/></OutputList><RunTimeInformation><RunTimeCountersPerThread Thread="1" ActualRows="199" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0"/></RunTimeInformation><IndexScan Ordered="0" ForcedIndex="0" NoExpandHint="0"><DefinedValues><DefinedValue><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[ReadingAssignments]" Alias="[ra]" Column="Acct"/></DefinedValue><DefinedValue><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[ReadingAssignments]" Alias="[ra]" Column="AssignedRad"/></DefinedValue></DefinedValues><Object Database="[STAIR]" Schema="[dbo]" Table="[ReadingAssignments]" Index="[PK_ReadingAssignments]" Alias="[ra]" TableReferenceId="1" IndexKind="Clustered"/></IndexScan></RelOp></Parallelism></RelOp></Sort></RelOp><RelOp NodeId="31" PhysicalOp="Parallelism" LogicalOp="Repartition Streams" EstimateRows="667" EstimateIO="0" EstimateCPU="0.0314098" AvgRowSize="34" EstimatedTotalSubtreeCost="0.0427943" Parallel="1" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="SiteCode"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="InstitutionName"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="Modtype"/></OutputList><RunTimeInformation><RunTimeCountersPerThread Thread="1" ActualRows="29" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="15" ActualRows="30" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="16" ActualRows="52" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="13" ActualRows="58" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="2" ActualRows="41" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="9" ActualRows="37" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="5" ActualRows="30" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="10" ActualRows="23" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="3" ActualRows="43" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="4" ActualRows="38" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="14" ActualRows="68" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="7" ActualRows="32" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="6" ActualRows="45" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="12" ActualRows="41" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="11" ActualRows="41" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="8" ActualRows="59" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0"/></RunTimeInformation><Parallelism PartitioningType="Hash"><PartitionColumns><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="SiteCode"/></PartitionColumns><OrderBy><OrderByColumn Ascending="1"><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="SiteCode"/></OrderByColumn></OrderBy><RelOp NodeId="32" PhysicalOp="Index Scan" LogicalOp="Index Scan" EstimateRows="667" EstimateIO="0.0112731" EstimateCPU="0.000111338" AvgRowSize="34" EstimatedTotalSubtreeCost="0.0113845" TableCardinality="667" Parallel="1" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="SiteCode"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="InstitutionName"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="Modtype"/></OutputList><RunTimeInformation><RunTimeCountersPerThread Thread="14" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="1" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="5" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="12" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="2" ActualRows="78" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="3" ActualRows="47" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="13" ActualRows="63" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="9" ActualRows="52" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="15" ActualRows="47" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="10" ActualRows="52" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="7" ActualRows="56" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="16" ActualRows="39" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="11" ActualRows="48" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="8" ActualRows="55" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="4" ActualRows="71" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="6" ActualRows="59" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0"/></RunTimeInformation><IndexScan Ordered="1" ScanDirection="FORWARD" ForcedIndex="0" ForceSeek="0" NoExpandHint="0"><DefinedValues><DefinedValue><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="SiteCode"/></DefinedValue><DefinedValue><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="InstitutionName"/></DefinedValue><DefinedValue><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="Modtype"/></DefinedValue></DefinedValues><Object Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Index="[IX_FUTRNETCODES_STAIR_SCHEMA_2.9.01]" Alias="[fnc]" TableReferenceId="1" IndexKind="NonClustered"/></IndexScan></RelOp></Parallelism></RelOp></Merge></RelOp></Parallelism></RelOp><RelOp NodeId="35" PhysicalOp="Parallelism" LogicalOp="Repartition Streams" EstimateRows="142322" EstimateIO="0" EstimateCPU="0.349645" AvgRowSize="146" EstimatedTotalSubtreeCost="3.58193" Parallel="1" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Masterkey"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Modality"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Institution"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusCode"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/></OutputList><RunTimeInformation><RunTimeCountersPerThread Thread="5" ActualRows="15" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="2" ActualRows="67" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="13" ActualRows="28" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="8" ActualRows="259" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="6" ActualRows="12" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="1" ActualRows="31" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="15" ActualRows="152" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="10" ActualRows="128" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="4" ActualRows="74" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="16" ActualRows="111" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="14" ActualRows="46" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="3" ActualRows="1" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="9" ActualRows="501" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="11" ActualRows="370" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="12" ActualRows="1" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="7" ActualRows="141" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0"/></RunTimeInformation><Parallelism PartitioningType="Hash"><PartitionColumns><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Institution"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Modality"/></PartitionColumns><RelOp NodeId="36" PhysicalOp="Nested Loops" LogicalOp="Inner Join" EstimateRows="142322" EstimateIO="0" EstimateCPU="0.0743632" AvgRowSize="146" EstimatedTotalSubtreeCost="3.23229" Parallel="1" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Masterkey"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Modality"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Institution"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusCode"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/></OutputList><RunTimeInformation><RunTimeCountersPerThread Thread="10" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="6" ActualRows="36" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="9" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="7" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="1" ActualRows="205" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="5" ActualRows="1696" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="2" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="12" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="8" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="3" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="15" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="14" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="16" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="13" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="11" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="4" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0"/></RunTimeInformation><NestedLoops Optimized="1"><OuterReferences><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusCode"/></OuterReferences><RelOp NodeId="38" PhysicalOp="Parallelism" LogicalOp="Distribute Streams" EstimateRows="1" EstimateIO="0" EstimateCPU="0.0285033" AvgRowSize="18" EstimatedTotalSubtreeCost="0.0317985" Parallel="1" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusCode"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/></OutputList><RunTimeInformation><RunTimeCountersPerThread Thread="7" ActualRows="1" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="6" ActualRows="1" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="5" ActualRows="1" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="3" ActualRows="1" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="12" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="9" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="2" ActualRows="1" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="14" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="10" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="15" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="1" ActualRows="1" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="8" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="16" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="13" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="4" ActualRows="1" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="11" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0"/></RunTimeInformation><Parallelism PartitioningType="RoundRobin"><RelOp NodeId="39" PhysicalOp="Clustered Index Scan" LogicalOp="Clustered Index Scan" EstimateRows="1" EstimateIO="0.003125" EstimateCPU="0.0001702" AvgRowSize="18" EstimatedTotalSubtreeCost="0.0032952" TableCardinality="12" Parallel="0" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusCode"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/></OutputList><RunTimeInformation><RunTimeCountersPerThread Thread="1" ActualRows="7" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0"/></RunTimeInformation><IndexScan Ordered="0" ForcedIndex="0" NoExpandHint="0"><DefinedValues><DefinedValue><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusCode"/></DefinedValue><DefinedValue><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/></DefinedValue></DefinedValues><Object Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Index="[PK_STATUS_CODES_STAIR_SCHEMA_2.9.01]" Alias="[esc]" TableReferenceId="2" IndexKind="Clustered"/><Predicate><ScalarOperator ScalarString="[STAIR].[dbo].[EXAM_STATUS_CODES].[UseInMainList] as [esc].[UseInMainList]=(1)"><Compare CompareOp="EQ"><ScalarOperator><Identifier><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="UseInMainList"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="(1)"/></ScalarOperator></Compare></ScalarOperator></Predicate></IndexScan></RelOp></Parallelism></RelOp><RelOp NodeId="40" PhysicalOp="Index Seek" LogicalOp="Index Seek" EstimateRows="142322" EstimateIO="2.88683" EstimateCPU="0.156711" AvgRowSize="140" EstimatedTotalSubtreeCost="3.04354" TableCardinality="859529" Parallel="1" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Masterkey"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Modality"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Institution"/></OutputList><RunTimeInformation><RunTimeCountersPerThread Thread="10" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0"/><RunTimeCountersPerThread Thread="6" ActualRows="36" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="9" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0"/><RunTimeCountersPerThread Thread="7" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="1" ActualRows="205" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="5" ActualRows="1696" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="2" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="12" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0"/><RunTimeCountersPerThread Thread="8" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0"/><RunTimeCountersPerThread Thread="3" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="15" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0"/><RunTimeCountersPerThread Thread="14" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0"/><RunTimeCountersPerThread Thread="16" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0"/><RunTimeCountersPerThread Thread="13" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0"/><RunTimeCountersPerThread Thread="11" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0"/><RunTimeCountersPerThread Thread="4" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0"/></RunTimeInformation><IndexScan Ordered="1" ScanDirection="FORWARD" ForcedIndex="0" ForceSeek="0" NoExpandHint="0"><DefinedValues><DefinedValue><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Masterkey"/></DefinedValue><DefinedValue><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Modality"/></DefinedValue><DefinedValue><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Institution"/></DefinedValue></DefinedValues><Object Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Index="[stair_tuning_ix1_exams]" Alias="[e]" TableReferenceId="1" IndexKind="NonClustered"/><SeekPredicates><SeekPredicateNew><SeekKeys><Prefix ScanType="EQ"><RangeColumns><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="StatusCode"/></RangeColumns><RangeExpressions><ScalarOperator ScalarString="[STAIR].[dbo].[EXAM_STATUS_CODES].[StatusCode] as [esc].[StatusCode]"><Identifier><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusCode"/></Identifier></ScalarOperator></RangeExpressions></Prefix></SeekKeys></SeekPredicateNew></SeekPredicates><Predicate><ScalarOperator ScalarString="CONVERT_IMPLICIT(int,[STAIR].[dbo].[EXAMS].[StatusCode] as [e].[StatusCode],0)<>(9)"><Compare CompareOp="NE"><ScalarOperator><Convert DataType="int" Style="0" Implicit="1"><ScalarOperator><Identifier><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="StatusCode"/></Identifier></ScalarOperator></Convert></ScalarOperator><ScalarOperator><Const ConstValue="(9)"/></ScalarOperator></Compare></ScalarOperator></Predicate></IndexScan></RelOp></NestedLoops></RelOp></Parallelism></RelOp></Hash></RelOp></Parallelism></RelOp></Sort></RelOp></StreamAggregate></RelOp></Parallelism></RelOp></StreamAggregate></RelOp></Parallelism></RelOp></ComputeScalar></RelOp></ComputeScalar></RelOp></Hash></RelOp><Predicate><ScalarOperator ScalarString="[@FilterAssigned]=(0) AND [STAIR].[dbo].[EXAM_STATUS_CODES].[StatusName] as [esc].[StatusName]<>'PEER' OR [@FilterAssigned]=(1) AND [Expr1012]=[@ReaderId] AND [STAIR].[dbo].[EXAM_STATUS_CODES].[StatusName] as [esc].[StatusName]<>'PEER' OR [STAIR].[dbo].[EXAM_STATUS_CODES].[StatusName] as [esc].[StatusName]='PEER' AND [Expr1012]<>[@ReaderId]"><Logical Operation="OR"><ScalarOperator><Logical Operation="AND"><ScalarOperator><Identifier><ColumnReference Column="ConstExpr1045"><ScalarOperator><Compare CompareOp="EQ"><ScalarOperator><Identifier><ColumnReference Column="@FilterAssigned"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="(0)"/></ScalarOperator></Compare></ScalarOperator></ColumnReference></Identifier></ScalarOperator><ScalarOperator><Compare CompareOp="NE"><ScalarOperator><Identifier><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="'PEER'"/></ScalarOperator></Compare></ScalarOperator></Logical></ScalarOperator><ScalarOperator><Logical Operation="AND"><ScalarOperator><Identifier><ColumnReference Column="ConstExpr1046"><ScalarOperator><Compare CompareOp="EQ"><ScalarOperator><Identifier><ColumnReference Column="@FilterAssigned"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="(1)"/></ScalarOperator></Compare></ScalarOperator></ColumnReference></Identifier></ScalarOperator><ScalarOperator><Compare CompareOp="EQ"><ScalarOperator><Identifier><ColumnReference Column="Expr1012"/></Identifier></ScalarOperator><ScalarOperator><Identifier><ColumnReference Column="@ReaderId"/></Identifier></ScalarOperator></Compare></ScalarOperator><ScalarOperator><Compare CompareOp="NE"><ScalarOperator><Identifier><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="'PEER'"/></ScalarOperator></Compare></ScalarOperator></Logical></ScalarOperator><ScalarOperator><Logical Operation="AND"><ScalarOperator><Compare CompareOp="EQ"><ScalarOperator><Identifier><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="'PEER'"/></ScalarOperator></Compare></ScalarOperator><ScalarOperator><Compare CompareOp="NE"><ScalarOperator><Identifier><ColumnReference Column="Expr1012"/></Identifier></ScalarOperator><ScalarOperator><Identifier><ColumnReference Column="@ReaderId"/></Identifier></ScalarOperator></Compare></ScalarOperator></Logical></ScalarOperator></Logical></ScalarOperator></Predicate></Filter></RelOp></Hash></RelOp></Parallelism></RelOp></Sort></RelOp></StreamAggregate></RelOp></ComputeScalar></RelOp></Parallelism></RelOp><RelOp NodeId="87" PhysicalOp="Parallelism" LogicalOp="Repartition Streams" EstimateRows="101049" EstimateIO="0" EstimateCPU="0.368774" AvgRowSize="161" EstimatedTotalSubtreeCost="11.7545" Parallel="1" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Modality"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Institution"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/><ColumnReference Column="Expr1030"/><ColumnReference Column="Expr1033"/><ColumnReference Column="Expr1034"/><ColumnReference Column="Expr1035"/><ColumnReference Column="Expr1036"/></OutputList><RunTimeInformation><RunTimeCountersPerThread Thread="10" ActualRows="11" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="15" ActualRows="10" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="14" ActualRows="7" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="13" ActualRows="11" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="16" ActualRows="8" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="11" ActualRows="4" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="12" ActualRows="4" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="7" ActualRows="16" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="8" ActualRows="8" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="9" ActualRows="10" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="5" ActualRows="9" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="6" ActualRows="6" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="1" ActualRows="13" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="2" ActualRows="7" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="4" ActualRows="7" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="3" ActualRows="9" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0"/></RunTimeInformation><Parallelism PartitioningType="Hash"><PartitionColumns><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/><ColumnReference Column="Expr1033"/><ColumnReference Column="Expr1034"/><ColumnReference Column="Expr1030"/><ColumnReference Column="Expr1035"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Institution"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Modality"/><ColumnReference Column="Expr1036"/></PartitionColumns><RelOp NodeId="88" PhysicalOp="Compute Scalar" LogicalOp="Compute Scalar" EstimateRows="101049" EstimateIO="0" EstimateCPU="0.00126312" AvgRowSize="161" EstimatedTotalSubtreeCost="11.3857" Parallel="1" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Modality"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Institution"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/><ColumnReference Column="Expr1030"/><ColumnReference Column="Expr1033"/><ColumnReference Column="Expr1034"/><ColumnReference Column="Expr1035"/><ColumnReference Column="Expr1036"/></OutputList><ComputeScalar><DefinedValues><DefinedValue><ColumnReference Column="Expr1033"/><ScalarOperator ScalarString="'SubItem'"><Const ConstValue="'SubItem'"/></ScalarOperator></DefinedValue><DefinedValue><ColumnReference Column="Expr1035"/><ScalarOperator ScalarString="([Expr1050]+CONVERT(varchar(5),[Expr1030],0))+' Cases ] '"><Arithmetic Operation="ADD"><ScalarOperator><Arithmetic Operation="ADD"><ScalarOperator><Identifier><ColumnReference Column="Expr1050"/></Identifier></ScalarOperator><ScalarOperator><Convert DataType="varchar" Length="5" Style="0" Implicit="0"><ScalarOperator><Identifier><ColumnReference Column="Expr1030"/></Identifier></ScalarOperator></Convert></ScalarOperator></Arithmetic></ScalarOperator><ScalarOperator><Const ConstValue="' Cases ] '"/></ScalarOperator></Arithmetic></ScalarOperator></DefinedValue><DefinedValue><ColumnReference Column="Expr1036"/><ScalarOperator ScalarString="''"><Const ConstValue="''"/></ScalarOperator></DefinedValue></DefinedValues><RelOp NodeId="89" PhysicalOp="Filter" LogicalOp="Filter" EstimateRows="101049" EstimateIO="0" EstimateCPU="0.100114" AvgRowSize="147" EstimatedTotalSubtreeCost="11.3845" Parallel="1" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Modality"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Institution"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/><ColumnReference Column="Expr1030"/><ColumnReference Column="Expr1034"/><ColumnReference Column="Expr1050"/></OutputList><RunTimeInformation><RunTimeCountersPerThread Thread="1" ActualRows="3" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="13" ActualRows="11" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="10" ActualRows="11" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="15" ActualRows="7" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="3" ActualRows="12" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="14" ActualRows="7" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="6" ActualRows="8" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="7" ActualRows="11" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="5" ActualRows="4" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="16" ActualRows="13" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="4" ActualRows="11" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="8" ActualRows="9" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="9" ActualRows="9" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="12" ActualRows="5" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="2" ActualRows="12" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="11" ActualRows="7" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0"/></RunTimeInformation><Filter StartupExpression="0"><RelOp NodeId="90" PhysicalOp="Compute Scalar" LogicalOp="Compute Scalar" EstimateRows="351276" EstimateIO="0" EstimateCPU="0.00439094" AvgRowSize="151" EstimatedTotalSubtreeCost="11.2844" Parallel="1" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Modality"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Institution"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/><ColumnReference Column="Expr1030"/><ColumnReference Column="Expr1034"/><ColumnReference Column="Expr1050"/><ColumnReference Column="Expr1051"/></OutputList><ComputeScalar><DefinedValues><DefinedValue><ColumnReference Column="Expr1034"/><ScalarOperator ScalarString="(' = '''+rtrim([STAIR].[dbo].[EXAM_STATUS_CODES].[StatusCode] as [esc].[StatusCode]))+''''"><Arithmetic Operation="ADD"><ScalarOperator><Arithmetic Operation="ADD"><ScalarOperator><Const ConstValue="' = '''"/></ScalarOperator><ScalarOperator><Intrinsic FunctionName="rtrim"><ScalarOperator><Identifier><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusCode"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator></Arithmetic></ScalarOperator><ScalarOperator><Const ConstValue="''''"/></ScalarOperator></Arithmetic></ScalarOperator></DefinedValue><DefinedValue><ColumnReference Column="Expr1050"/><ScalarOperator ScalarString="((rtrim([STAIR].[dbo].[EXAMS].[Institution] as [e].[Institution])+' - ')+[STAIR].[dbo].[EXAMS].[Modality] as [e].[Modality])+' [ '"><Arithmetic Operation="ADD"><ScalarOperator><Arithmetic Operation="ADD"><ScalarOperator><Arithmetic Operation="ADD"><ScalarOperator><Intrinsic FunctionName="rtrim"><ScalarOperator><Identifier><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Institution"/></Identifier></ScalarOperator></Intrinsic></ScalarOperator><ScalarOperator><Const ConstValue="' - '"/></ScalarOperator></Arithmetic></ScalarOperator><ScalarOperator><Identifier><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Modality"/></Identifier></ScalarOperator></Arithmetic></ScalarOperator><ScalarOperator><Const ConstValue="' [ '"/></ScalarOperator></Arithmetic></ScalarOperator></DefinedValue><DefinedValue><ColumnReference Column="Expr1051"/><ScalarOperator ScalarString="isnull([STAIR].[dbo].[ReadingAssignments].[AssignedRad] as [ra].[AssignedRad],(0))"><Intrinsic FunctionName="isnull"><ScalarOperator><Identifier><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[ReadingAssignments]" Alias="[ra]" Column="AssignedRad"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="(0)"/></ScalarOperator></Intrinsic></ScalarOperator></DefinedValue></DefinedValues><RelOp NodeId="92" PhysicalOp="Compute Scalar" LogicalOp="Compute Scalar" EstimateRows="351276" EstimateIO="0" EstimateCPU="0.00439094" AvgRowSize="54" EstimatedTotalSubtreeCost="11.28" Parallel="1" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Modality"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Institution"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusCode"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[ReadingAssignments]" Alias="[ra]" Column="AssignedRad"/><ColumnReference Column="Expr1030"/></OutputList><ComputeScalar><DefinedValues><DefinedValue><ColumnReference Column="Expr1030"/><ScalarOperator ScalarString="CONVERT_IMPLICIT(int,[globalagg1057],0)"><Convert DataType="int" Style="0" Implicit="1"><ScalarOperator><Identifier><ColumnReference Column="globalagg1057"/></Identifier></ScalarOperator></Convert></ScalarOperator></DefinedValue></DefinedValues><RelOp NodeId="93" PhysicalOp="Stream Aggregate" LogicalOp="Aggregate" EstimateRows="351276" EstimateIO="0" EstimateCPU="0.0487879" AvgRowSize="58" EstimatedTotalSubtreeCost="11.2756" Parallel="1" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Modality"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Institution"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusCode"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[ReadingAssignments]" Alias="[ra]" Column="AssignedRad"/><ColumnReference Column="globalagg1057"/></OutputList><RunTimeInformation><RunTimeCountersPerThread Thread="1" ActualRows="3" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="13" ActualRows="11" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="10" ActualRows="11" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="15" ActualRows="7" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="3" ActualRows="12" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="14" ActualRows="7" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="6" ActualRows="8" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="7" ActualRows="11" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="5" ActualRows="4" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="16" ActualRows="13" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="4" ActualRows="11" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="8" ActualRows="9" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="9" ActualRows="9" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="12" ActualRows="5" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="2" ActualRows="12" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="11" ActualRows="7" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0"/></RunTimeInformation><StreamAggregate><DefinedValues><DefinedValue><ColumnReference Column="globalagg1057"/><ScalarOperator ScalarString="SUM([partialagg1056])"><Aggregate Distinct="0" AggType="SUM"><ScalarOperator><Identifier><ColumnReference Column="partialagg1056"/></Identifier></ScalarOperator></Aggregate></ScalarOperator></DefinedValue><DefinedValue><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/><ScalarOperator ScalarString="ANY([STAIR].[dbo].[EXAM_STATUS_CODES].[StatusName] as [esc].[StatusName])"><Aggregate Distinct="0" AggType="ANY"><ScalarOperator><Identifier><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/></Identifier></ScalarOperator></Aggregate></ScalarOperator></DefinedValue></DefinedValues><GroupBy><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Institution"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Modality"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[ReadingAssignments]" Alias="[ra]" Column="AssignedRad"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="SiteCode"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusCode"/></GroupBy><RelOp NodeId="94" PhysicalOp="Parallelism" LogicalOp="Repartition Streams" EstimateRows="357775" EstimateIO="0" EstimateCPU="1.98977" AvgRowSize="61" EstimatedTotalSubtreeCost="11.2268" Parallel="1" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Modality"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Institution"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusCode"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="SiteCode"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[ReadingAssignments]" Alias="[ra]" Column="AssignedRad"/><ColumnReference Column="partialagg1056"/></OutputList><RunTimeInformation><RunTimeCountersPerThread Thread="1" ActualRows="24" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="13" ActualRows="81" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="10" ActualRows="44" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="3" ActualRows="127" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="15" ActualRows="32" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="14" ActualRows="47" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="6" ActualRows="51" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="7" ActualRows="42" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="5" ActualRows="33" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="16" ActualRows="109" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="4" ActualRows="63" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="8" ActualRows="41" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="9" ActualRows="65" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="12" ActualRows="42" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="2" ActualRows="65" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="11" ActualRows="38" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0"/></RunTimeInformation><Parallelism PartitioningType="Hash"><PartitionColumns><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Institution"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Modality"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[ReadingAssignments]" Alias="[ra]" Column="AssignedRad"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="SiteCode"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusCode"/></PartitionColumns><OrderBy><OrderByColumn Ascending="1"><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Institution"/></OrderByColumn><OrderByColumn Ascending="1"><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Modality"/></OrderByColumn><OrderByColumn Ascending="1"><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[ReadingAssignments]" Alias="[ra]" Column="AssignedRad"/></OrderByColumn><OrderByColumn Ascending="1"><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="SiteCode"/></OrderByColumn><OrderByColumn Ascending="1"><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusCode"/></OrderByColumn></OrderBy><RelOp NodeId="95" PhysicalOp="Stream Aggregate" LogicalOp="Aggregate" EstimateRows="357775" EstimateIO="0" EstimateCPU="0.0492288" AvgRowSize="61" EstimatedTotalSubtreeCost="9.23702" Parallel="1" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Modality"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Institution"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusCode"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="SiteCode"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[ReadingAssignments]" Alias="[ra]" Column="AssignedRad"/><ColumnReference Column="partialagg1056"/></OutputList><RunTimeInformation><RunTimeCountersPerThread Thread="12" ActualRows="61" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="7" ActualRows="56" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="8" ActualRows="61" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="5" ActualRows="56" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="13" ActualRows="60" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="9" ActualRows="56" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="2" ActualRows="59" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="4" ActualRows="53" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="15" ActualRows="56" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="3" ActualRows="57" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="11" ActualRows="48" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="6" ActualRows="60" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="10" ActualRows="56" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="1" ActualRows="56" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="16" ActualRows="56" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="14" ActualRows="53" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0"/></RunTimeInformation><StreamAggregate><DefinedValues><DefinedValue><ColumnReference Column="partialagg1056"/><ScalarOperator ScalarString="Count(*)"><Aggregate AggType="countstar" Distinct="0"/></ScalarOperator></DefinedValue><DefinedValue><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/><ScalarOperator ScalarString="ANY([STAIR].[dbo].[EXAM_STATUS_CODES].[StatusName] as [esc].[StatusName])"><Aggregate Distinct="0" AggType="ANY"><ScalarOperator><Identifier><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/></Identifier></ScalarOperator></Aggregate></ScalarOperator></DefinedValue></DefinedValues><GroupBy><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Institution"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Modality"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[ReadingAssignments]" Alias="[ra]" Column="AssignedRad"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="SiteCode"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusCode"/></GroupBy><RelOp NodeId="96" PhysicalOp="Sort" LogicalOp="Distinct Sort" EstimateRows="358238" EstimateIO="0.00140766" EstimateCPU="3.79233" AvgRowSize="53" EstimatedTotalSubtreeCost="9.1878" Parallel="1" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Modality"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Institution"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusCode"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="SiteCode"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[ReadingAssignments]" Alias="[ra]" Column="AssignedRad"/></OutputList><MemoryFractions Input="0.708782" Output="0.716399"/><RunTimeInformation><RunTimeCountersPerThread Thread="12" ActualRows="138" ActualRebinds="1" ActualRewinds="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="7" ActualRows="163" ActualRebinds="1" ActualRewinds="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="8" ActualRows="179" ActualRebinds="1" ActualRewinds="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="5" ActualRows="144" ActualRebinds="1" ActualRewinds="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="13" ActualRows="138" ActualRebinds="1" ActualRewinds="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="9" ActualRows="162" ActualRebinds="1" ActualRewinds="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="2" ActualRows="171" ActualRebinds="1" ActualRewinds="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="4" ActualRows="168" ActualRebinds="1" ActualRewinds="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="15" ActualRows="148" ActualRebinds="1" ActualRewinds="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="3" ActualRows="162" ActualRebinds="1" ActualRewinds="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="11" ActualRows="151" ActualRebinds="1" ActualRewinds="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="6" ActualRows="152" ActualRebinds="1" ActualRewinds="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="10" ActualRows="153" ActualRebinds="1" ActualRewinds="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="1" ActualRows="150" ActualRebinds="1" ActualRewinds="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="16" ActualRows="155" ActualRebinds="1" ActualRewinds="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="14" ActualRows="153" ActualRebinds="1" ActualRewinds="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="0" ActualRows="0" ActualRebinds="0" ActualRewinds="0" ActualEndOfScans="0" ActualExecutions="0"/></RunTimeInformation><Sort Distinct="1"><OrderBy><OrderByColumn Ascending="1"><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Institution"/></OrderByColumn><OrderByColumn Ascending="1"><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Modality"/></OrderByColumn><OrderByColumn Ascending="1"><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[ReadingAssignments]" Alias="[ra]" Column="AssignedRad"/></OrderByColumn><OrderByColumn Ascending="1"><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="SiteCode"/></OrderByColumn><OrderByColumn Ascending="1"><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusCode"/></OrderByColumn><OrderByColumn Ascending="1"><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Masterkey"/></OrderByColumn></OrderBy><RelOp NodeId="97" PhysicalOp="Parallelism" LogicalOp="Repartition Streams" EstimateRows="358238" EstimateIO="0" EstimateCPU="1.15719" AvgRowSize="153" EstimatedTotalSubtreeCost="5.39406" Parallel="1" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Masterkey"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Modality"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Institution"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusCode"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="SiteCode"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[ReadingAssignments]" Alias="[ra]" Column="AssignedRad"/></OutputList><RunTimeInformation><RunTimeCountersPerThread Thread="12" ActualRows="186" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="7" ActualRows="212" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="8" ActualRows="248" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="13" ActualRows="180" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="5" ActualRows="176" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="9" ActualRows="215" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="2" ActualRows="221" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="4" ActualRows="224" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="15" ActualRows="186" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="3" ActualRows="214" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="11" ActualRows="202" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="6" ActualRows="197" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="10" ActualRows="197" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="1" ActualRows="191" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="16" ActualRows="200" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="14" ActualRows="194" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0"/></RunTimeInformation><Parallelism PartitioningType="Hash"><PartitionColumns><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Institution"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Modality"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[ReadingAssignments]" Alias="[ra]" Column="AssignedRad"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="SiteCode"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusCode"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Masterkey"/></PartitionColumns><RelOp NodeId="98" PhysicalOp="Hash Match" LogicalOp="Right Outer Join" EstimateRows="358238" EstimateIO="0" EstimateCPU="0.544728" AvgRowSize="153" EstimatedTotalSubtreeCost="4.23688" Parallel="1" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Masterkey"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Modality"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Institution"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusCode"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="SiteCode"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[ReadingAssignments]" Alias="[ra]" Column="AssignedRad"/></OutputList><MemoryFractions Input="0.688846" Output="0.0073244"/><RunTimeInformation><RunTimeCountersPerThread Thread="5" ActualRows="21" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="10" ActualRows="229" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="11" ActualRows="375" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="1" ActualRows="39" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="3" ActualRows="2" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="13" ActualRows="32" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="9" ActualRows="985" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="6" ActualRows="12" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="7" ActualRows="465" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="16" ActualRows="229" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="14" ActualRows="48" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="2" ActualRows="170" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="12" ActualRows="1" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="15" ActualRows="207" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="8" ActualRows="306" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="4" ActualRows="122" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0"/></RunTimeInformation><Hash><DefinedValues/><HashKeysBuild><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="InstitutionName"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="Modtype"/></HashKeysBuild><HashKeysProbe><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Institution"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Modality"/></HashKeysProbe><ProbeResidual><ScalarOperator ScalarString="[STAIR].[dbo].[FUTRNETCODES].[InstitutionName] as [fnc].[InstitutionName]=[STAIR].[dbo].[EXAMS].[Institution] as [e].[Institution] AND [STAIR].[dbo].[FUTRNETCODES].[Modtype] as [fnc].[Modtype]=[STAIR].[dbo].[EXAMS].[Modality] as [e].[Modality]"><Logical Operation="AND"><ScalarOperator><Compare CompareOp="EQ"><ScalarOperator><Identifier><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="InstitutionName"/></Identifier></ScalarOperator><ScalarOperator><Identifier><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Institution"/></Identifier></ScalarOperator></Compare></ScalarOperator><ScalarOperator><Compare CompareOp="EQ"><ScalarOperator><Identifier><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="Modtype"/></Identifier></ScalarOperator><ScalarOperator><Identifier><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Modality"/></Identifier></ScalarOperator></Compare></ScalarOperator></Logical></ScalarOperator></ProbeResidual><RelOp NodeId="99" PhysicalOp="Parallelism" LogicalOp="Repartition Streams" EstimateRows="888.458" EstimateIO="0" EstimateCPU="0.0289861" AvgRowSize="38" EstimatedTotalSubtreeCost="0.108433" Parallel="1" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="SiteCode"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="InstitutionName"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="Modtype"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[ReadingAssignments]" Alias="[ra]" Column="AssignedRad"/></OutputList><RunTimeInformation><RunTimeCountersPerThread Thread="5" ActualRows="104" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="10" ActualRows="54" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="11" ActualRows="65" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="3" ActualRows="212" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="1" ActualRows="49" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="13" ActualRows="54" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="9" ActualRows="40" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="7" ActualRows="101" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="16" ActualRows="41" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="6" ActualRows="70" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="14" ActualRows="84" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="2" ActualRows="58" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="15" ActualRows="72" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="12" ActualRows="67" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="8" ActualRows="74" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="4" ActualRows="37" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0"/></RunTimeInformation><Parallelism PartitioningType="Hash"><PartitionColumns><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="InstitutionName"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="Modtype"/></PartitionColumns><RelOp NodeId="100" PhysicalOp="Merge Join" LogicalOp="Right Outer Join" EstimateRows="888.458" EstimateIO="0.000507769" EstimateCPU="0.00107903" AvgRowSize="38" EstimatedTotalSubtreeCost="0.0794465" Parallel="1" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="SiteCode"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="InstitutionName"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="Modtype"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[ReadingAssignments]" Alias="[ra]" Column="AssignedRad"/></OutputList><RunTimeInformation><RunTimeCountersPerThread Thread="13" ActualRows="72" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="16" ActualRows="73" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="1" ActualRows="29" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="6" ActualRows="118" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="12" ActualRows="59" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="11" ActualRows="62" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="7" ActualRows="40" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="10" ActualRows="29" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="2" ActualRows="70" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="5" ActualRows="36" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="3" ActualRows="65" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="9" ActualRows="40" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="14" ActualRows="71" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="15" ActualRows="40" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="4" ActualRows="54" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="8" ActualRows="324" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0"/></RunTimeInformation><Merge ManyToMany="1"><InnerSideJoinColumns><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="SiteCode"/></InnerSideJoinColumns><OuterSideJoinColumns><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[ReadingAssignments]" Alias="[ra]" Column="Acct"/></OuterSideJoinColumns><Residual><ScalarOperator ScalarString="[STAIR].[dbo].[ReadingAssignments].[Acct] as [ra].[Acct]=[STAIR].[dbo].[FUTRNETCODES].[SiteCode] as [fnc].[SiteCode]"><Compare CompareOp="EQ"><ScalarOperator><Identifier><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[ReadingAssignments]" Alias="[ra]" Column="Acct"/></Identifier></ScalarOperator><ScalarOperator><Identifier><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="SiteCode"/></Identifier></ScalarOperator></Compare></ScalarOperator></Residual><RelOp NodeId="101" PhysicalOp="Sort" LogicalOp="Sort" EstimateRows="199" EstimateIO="0.00140766" EstimateCPU="0.000308841" AvgRowSize="14" EstimatedTotalSubtreeCost="0.0350625" Parallel="1" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[ReadingAssignments]" Alias="[ra]" Column="Acct"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[ReadingAssignments]" Alias="[ra]" Column="AssignedRad"/></OutputList><MemoryFractions Input="0.716399" Output="0.0275538"/><RunTimeInformation><RunTimeCountersPerThread Thread="13" ActualRows="14" ActualRebinds="1" ActualRewinds="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="16" ActualRows="21" ActualRebinds="1" ActualRewinds="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="1" ActualRows="10" ActualRebinds="1" ActualRewinds="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="6" ActualRows="19" ActualRebinds="1" ActualRewinds="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="12" ActualRows="17" ActualRebinds="1" ActualRewinds="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="10" ActualRows="6" ActualRebinds="1" ActualRewinds="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="11" ActualRows="14" ActualRebinds="1" ActualRewinds="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="2" ActualRows="17" ActualRebinds="1" ActualRewinds="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="7" ActualRows="7" ActualRebinds="1" ActualRewinds="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="5" ActualRows="9" ActualRebinds="1" ActualRewinds="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="3" ActualRows="5" ActualRebinds="1" ActualRewinds="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="9" ActualRows="10" ActualRebinds="1" ActualRewinds="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="14" ActualRows="7" ActualRebinds="1" ActualRewinds="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="15" ActualRows="7" ActualRebinds="1" ActualRewinds="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="4" ActualRows="13" ActualRebinds="1" ActualRewinds="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="8" ActualRows="23" ActualRebinds="1" ActualRewinds="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="0" ActualRows="0" ActualRebinds="0" ActualRewinds="0" ActualEndOfScans="0" ActualExecutions="0"/></RunTimeInformation><Sort Distinct="0"><OrderBy><OrderByColumn Ascending="1"><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[ReadingAssignments]" Alias="[ra]" Column="Acct"/></OrderByColumn></OrderBy><RelOp NodeId="102" PhysicalOp="Parallelism" LogicalOp="Distribute Streams" EstimateRows="199" EstimateIO="0" EstimateCPU="0.0291043" AvgRowSize="14" EstimatedTotalSubtreeCost="0.033346" Parallel="1" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[ReadingAssignments]" Alias="[ra]" Column="Acct"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[ReadingAssignments]" Alias="[ra]" Column="AssignedRad"/></OutputList><RunTimeInformation><RunTimeCountersPerThread Thread="13" ActualRows="14" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="16" ActualRows="21" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="1" ActualRows="10" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="6" ActualRows="19" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="12" ActualRows="17" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="10" ActualRows="6" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="11" ActualRows="14" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="2" ActualRows="17" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="5" ActualRows="9" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="7" ActualRows="7" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="3" ActualRows="5" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="14" ActualRows="7" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="9" ActualRows="10" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="15" ActualRows="7" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="4" ActualRows="13" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="8" ActualRows="23" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0"/></RunTimeInformation><Parallelism PartitioningType="Hash"><PartitionColumns><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[ReadingAssignments]" Alias="[ra]" Column="Acct"/></PartitionColumns><RelOp NodeId="103" PhysicalOp="Clustered Index Scan" LogicalOp="Clustered Index Scan" EstimateRows="199" EstimateIO="0.00386574" EstimateCPU="0.0003759" AvgRowSize="14" EstimatedTotalSubtreeCost="0.00424164" TableCardinality="199" Parallel="0" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[ReadingAssignments]" Alias="[ra]" Column="Acct"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[ReadingAssignments]" Alias="[ra]" Column="AssignedRad"/></OutputList><RunTimeInformation><RunTimeCountersPerThread Thread="1" ActualRows="199" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0"/></RunTimeInformation><IndexScan Ordered="0" ForcedIndex="0" NoExpandHint="0"><DefinedValues><DefinedValue><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[ReadingAssignments]" Alias="[ra]" Column="Acct"/></DefinedValue><DefinedValue><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[ReadingAssignments]" Alias="[ra]" Column="AssignedRad"/></DefinedValue></DefinedValues><Object Database="[STAIR]" Schema="[dbo]" Table="[ReadingAssignments]" Index="[PK_ReadingAssignments]" Alias="[ra]" TableReferenceId="2" IndexKind="Clustered"/></IndexScan></RelOp></Parallelism></RelOp></Sort></RelOp><RelOp NodeId="104" PhysicalOp="Parallelism" LogicalOp="Repartition Streams" EstimateRows="667" EstimateIO="0" EstimateCPU="0.0314098" AvgRowSize="34" EstimatedTotalSubtreeCost="0.0427943" Parallel="1" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="SiteCode"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="InstitutionName"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="Modtype"/></OutputList><RunTimeInformation><RunTimeCountersPerThread Thread="13" ActualRows="58" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="16" ActualRows="52" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="6" ActualRows="45" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="1" ActualRows="29" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="12" ActualRows="41" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="10" ActualRows="23" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="11" ActualRows="41" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="7" ActualRows="32" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="2" ActualRows="41" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="5" ActualRows="30" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="3" ActualRows="43" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="14" ActualRows="68" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="9" ActualRows="37" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="15" ActualRows="30" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="4" ActualRows="38" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="8" ActualRows="59" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0"/></RunTimeInformation><Parallelism PartitioningType="Hash"><PartitionColumns><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="SiteCode"/></PartitionColumns><OrderBy><OrderByColumn Ascending="1"><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="SiteCode"/></OrderByColumn></OrderBy><RelOp NodeId="105" PhysicalOp="Index Scan" LogicalOp="Index Scan" EstimateRows="667" EstimateIO="0.0112731" EstimateCPU="0.000111338" AvgRowSize="34" EstimatedTotalSubtreeCost="0.0113845" TableCardinality="667" Parallel="1" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="SiteCode"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="InstitutionName"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="Modtype"/></OutputList><RunTimeInformation><RunTimeCountersPerThread Thread="12" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="2" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="13" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="11" ActualRows="47" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="6" ActualRows="78" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="15" ActualRows="63" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="7" ActualRows="52" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="14" ActualRows="47" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="9" ActualRows="39" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="3" ActualRows="52" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="4" ActualRows="56" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="10" ActualRows="55" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="1" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="16" ActualRows="48" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="8" ActualRows="59" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="5" ActualRows="71" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0"/></RunTimeInformation><IndexScan Ordered="1" ScanDirection="FORWARD" ForcedIndex="0" ForceSeek="0" NoExpandHint="0"><DefinedValues><DefinedValue><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="SiteCode"/></DefinedValue><DefinedValue><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="InstitutionName"/></DefinedValue><DefinedValue><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Alias="[fnc]" Column="Modtype"/></DefinedValue></DefinedValues><Object Database="[STAIR]" Schema="[dbo]" Table="[FUTRNETCODES]" Index="[IX_FUTRNETCODES_STAIR_SCHEMA_2.9.01]" Alias="[fnc]" TableReferenceId="2" IndexKind="NonClustered"/></IndexScan></RelOp></Parallelism></RelOp></Merge></RelOp></Parallelism></RelOp><RelOp NodeId="108" PhysicalOp="Parallelism" LogicalOp="Repartition Streams" EstimateRows="142322" EstimateIO="0" EstimateCPU="0.349645" AvgRowSize="146" EstimatedTotalSubtreeCost="3.58193" Parallel="1" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Masterkey"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Modality"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Institution"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusCode"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/></OutputList><RunTimeInformation><RunTimeCountersPerThread Thread="5" ActualRows="15" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="10" ActualRows="128" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="11" ActualRows="370" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="1" ActualRows="31" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="3" ActualRows="1" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="13" ActualRows="28" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="9" ActualRows="501" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="7" ActualRows="141" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="16" ActualRows="111" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="6" ActualRows="12" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="14" ActualRows="46" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="2" ActualRows="67" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="15" ActualRows="152" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="12" ActualRows="1" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="8" ActualRows="259" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="4" ActualRows="74" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0"/></RunTimeInformation><Parallelism PartitioningType="Hash"><PartitionColumns><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Institution"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Modality"/></PartitionColumns><RelOp NodeId="109" PhysicalOp="Nested Loops" LogicalOp="Inner Join" EstimateRows="142322" EstimateIO="0" EstimateCPU="0.0743632" AvgRowSize="146" EstimatedTotalSubtreeCost="3.23229" Parallel="1" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Masterkey"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Modality"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Institution"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusCode"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/></OutputList><RunTimeInformation><RunTimeCountersPerThread Thread="16" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="1" ActualRows="205" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="13" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="4" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="10" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="5" ActualRows="1696" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="15" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="9" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="7" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="6" ActualRows="36" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="14" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="11" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="2" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="12" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="3" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="8" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0"/></RunTimeInformation><NestedLoops Optimized="1"><OuterReferences><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusCode"/></OuterReferences><RelOp NodeId="111" PhysicalOp="Parallelism" LogicalOp="Distribute Streams" EstimateRows="1" EstimateIO="0" EstimateCPU="0.0285033" AvgRowSize="18" EstimatedTotalSubtreeCost="0.0317985" Parallel="1" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusCode"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/></OutputList><RunTimeInformation><RunTimeCountersPerThread Thread="16" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="1" ActualRows="1" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="9" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="15" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="13" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="10" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="5" ActualRows="1" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="4" ActualRows="1" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="6" ActualRows="1" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="7" ActualRows="1" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="14" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="2" ActualRows="1" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="11" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="12" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="3" ActualRows="1" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="8" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0"/></RunTimeInformation><Parallelism PartitioningType="RoundRobin"><RelOp NodeId="112" PhysicalOp="Clustered Index Scan" LogicalOp="Clustered Index Scan" EstimateRows="1" EstimateIO="0.003125" EstimateCPU="0.0001702" AvgRowSize="18" EstimatedTotalSubtreeCost="0.0032952" TableCardinality="12" Parallel="0" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusCode"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/></OutputList><RunTimeInformation><RunTimeCountersPerThread Thread="1" ActualRows="7" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0"/></RunTimeInformation><IndexScan Ordered="0" ForcedIndex="0" NoExpandHint="0"><DefinedValues><DefinedValue><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusCode"/></DefinedValue><DefinedValue><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/></DefinedValue></DefinedValues><Object Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Index="[PK_STATUS_CODES_STAIR_SCHEMA_2.9.01]" Alias="[esc]" TableReferenceId="3" IndexKind="Clustered"/><Predicate><ScalarOperator ScalarString="[STAIR].[dbo].[EXAM_STATUS_CODES].[UseInMainList] as [esc].[UseInMainList]=(1)"><Compare CompareOp="EQ"><ScalarOperator><Identifier><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="UseInMainList"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="(1)"/></ScalarOperator></Compare></ScalarOperator></Predicate></IndexScan></RelOp></Parallelism></RelOp><RelOp NodeId="113" PhysicalOp="Index Seek" LogicalOp="Index Seek" EstimateRows="142322" EstimateIO="2.88683" EstimateCPU="0.156711" AvgRowSize="140" EstimatedTotalSubtreeCost="3.04354" TableCardinality="859529" Parallel="1" EstimateRebinds="0" EstimateRewinds="0"><OutputList><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Masterkey"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Modality"/><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Institution"/></OutputList><RunTimeInformation><RunTimeCountersPerThread Thread="16" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0"/><RunTimeCountersPerThread Thread="1" ActualRows="205" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="13" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0"/><RunTimeCountersPerThread Thread="4" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="10" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0"/><RunTimeCountersPerThread Thread="5" ActualRows="1696" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="15" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0"/><RunTimeCountersPerThread Thread="9" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0"/><RunTimeCountersPerThread Thread="7" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="6" ActualRows="36" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="14" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0"/><RunTimeCountersPerThread Thread="11" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0"/><RunTimeCountersPerThread Thread="2" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="12" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0"/><RunTimeCountersPerThread Thread="3" ActualRows="0" ActualEndOfScans="1" ActualExecutions="1"/><RunTimeCountersPerThread Thread="8" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0"/><RunTimeCountersPerThread Thread="0" ActualRows="0" ActualEndOfScans="0" ActualExecutions="0"/></RunTimeInformation><IndexScan Ordered="1" ScanDirection="FORWARD" ForcedIndex="0" ForceSeek="0" NoExpandHint="0"><DefinedValues><DefinedValue><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Masterkey"/></DefinedValue><DefinedValue><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Modality"/></DefinedValue><DefinedValue><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="Institution"/></DefinedValue></DefinedValues><Object Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Index="[stair_tuning_ix1_exams]" Alias="[e]" TableReferenceId="2" IndexKind="NonClustered"/><SeekPredicates><SeekPredicateNew><SeekKeys><Prefix ScanType="EQ"><RangeColumns><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="StatusCode"/></RangeColumns><RangeExpressions><ScalarOperator ScalarString="[STAIR].[dbo].[EXAM_STATUS_CODES].[StatusCode] as [esc].[StatusCode]"><Identifier><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusCode"/></Identifier></ScalarOperator></RangeExpressions></Prefix></SeekKeys></SeekPredicateNew></SeekPredicates><Predicate><ScalarOperator ScalarString="CONVERT_IMPLICIT(int,[STAIR].[dbo].[EXAMS].[StatusCode] as [e].[StatusCode],0)<>(9)"><Compare CompareOp="NE"><ScalarOperator><Convert DataType="int" Style="0" Implicit="1"><ScalarOperator><Identifier><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAMS]" Alias="[e]" Column="StatusCode"/></Identifier></ScalarOperator></Convert></ScalarOperator><ScalarOperator><Const ConstValue="(9)"/></ScalarOperator></Compare></ScalarOperator></Predicate></IndexScan></RelOp></NestedLoops></RelOp></Parallelism></RelOp></Hash></RelOp></Parallelism></RelOp></Sort></RelOp></StreamAggregate></RelOp></Parallelism></RelOp></StreamAggregate></RelOp></ComputeScalar></RelOp></ComputeScalar></RelOp><Predicate><ScalarOperator ScalarString="[@FilterAssigned]=(0) AND [STAIR].[dbo].[EXAM_STATUS_CODES].[StatusName] as [esc].[StatusName]<>'PEER' OR [@FilterAssigned]=(1) AND [Expr1051]=[@ReaderId] AND [STAIR].[dbo].[EXAM_STATUS_CODES].[StatusName] as [esc].[StatusName]<>'PEER' OR [Expr1051]<>[@ReaderId] AND [STAIR].[dbo].[EXAM_STATUS_CODES].[StatusName] as [esc].[StatusName]='PEER'"><Logical Operation="OR"><ScalarOperator><Logical Operation="AND"><ScalarOperator><Identifier><ColumnReference Column="ConstExpr1047"><ScalarOperator><Compare CompareOp="EQ"><ScalarOperator><Identifier><ColumnReference Column="@FilterAssigned"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="(0)"/></ScalarOperator></Compare></ScalarOperator></ColumnReference></Identifier></ScalarOperator><ScalarOperator><Compare CompareOp="NE"><ScalarOperator><Identifier><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="'PEER'"/></ScalarOperator></Compare></ScalarOperator></Logical></ScalarOperator><ScalarOperator><Logical Operation="AND"><ScalarOperator><Identifier><ColumnReference Column="ConstExpr1048"><ScalarOperator><Compare CompareOp="EQ"><ScalarOperator><Identifier><ColumnReference Column="@FilterAssigned"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="(1)"/></ScalarOperator></Compare></ScalarOperator></ColumnReference></Identifier></ScalarOperator><ScalarOperator><Compare CompareOp="EQ"><ScalarOperator><Identifier><ColumnReference Column="Expr1051"/></Identifier></ScalarOperator><ScalarOperator><Identifier><ColumnReference Column="@ReaderId"/></Identifier></ScalarOperator></Compare></ScalarOperator><ScalarOperator><Compare CompareOp="NE"><ScalarOperator><Identifier><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="'PEER'"/></ScalarOperator></Compare></ScalarOperator></Logical></ScalarOperator><ScalarOperator><Logical Operation="AND"><ScalarOperator><Compare CompareOp="NE"><ScalarOperator><Identifier><ColumnReference Column="Expr1051"/></Identifier></ScalarOperator><ScalarOperator><Identifier><ColumnReference Column="@ReaderId"/></Identifier></ScalarOperator></Compare></ScalarOperator><ScalarOperator><Compare CompareOp="EQ"><ScalarOperator><Identifier><ColumnReference Database="[STAIR]" Schema="[dbo]" Table="[EXAM_STATUS_CODES]" Alias="[esc]" Column="StatusName"/></Identifier></ScalarOperator><ScalarOperator><Const ConstValue="'PEER'"/></ScalarOperator></Compare></ScalarOperator></Logical></ScalarOperator></Logical></ScalarOperator></Predicate></Filter></RelOp></ComputeScalar></RelOp></Parallelism></RelOp></Concat></RelOp></Sort></RelOp></StreamAggregate></RelOp></Parallelism></RelOp><ParameterList><ColumnReference Column="@ReaderId" ParameterRuntimeValue="(100)"/><ColumnReference Column="@FilterAssigned" ParameterRuntimeValue="(0)"/></ParameterList></QueryPlan></StmtSimple></Statements></Batch></BatchSequence></ShowPlanXML>

  • I can do that... gimmie a bit to re-run it.

    Last execution took just over 10 minutes to complete and return 106 rows

  • Actual Execution Plan Attached

  • First suggestion I have, bump up your cost threshold for parallelism to 40 or 50. You're getting parallel execution on this plan with an estimated cost of 25, and I don't think it warrants it.

    It also looks like your statistics are off. How often do you update them? Maybe they need a full scan?

    You're getting lots of scans on your indexes. Makes me wonder if you're indexing the right stuff. For example this predicate [STAIR].[dbo].[EXAM_STATUS_CODES].[UseInMainList] as [esc].[UseInMainList]=(1), must not be very selective. Not knowing the structure it's hard to make specific suggestions, but if there are only a few possible values for that, it's going to make a cruddy index. You need something that is more selective.

    "The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
    - Theodore Roosevelt

    Author of:
    SQL Server Execution Plans
    SQL Server Query Performance Tuning

  • Grant Fritchey (12/2/2011)


    First suggestion I have, bump up your cost threshold for parallelism to 40 or 50. You're getting parallel execution on this plan with an estimated cost of 25, and I don't think it warrants it.

    It also looks like your statistics are off. How often do you update them? Maybe they need a full scan?

    You're getting lots of scans on your indexes. Makes me wonder if you're indexing the right stuff. For example this predicate [STAIR].[dbo].[EXAM_STATUS_CODES].[UseInMainList] as [esc].[UseInMainList]=(1), must not be very selective. Not knowing the structure it's hard to make specific suggestions, but if there are only a few possible values for that, it's going to make a cruddy index. You need something that is more selective.

    Good points all, I'll be working through them today.

    I've attached the full database create scripts for anyone interested.

    A little history about this particular DB....

    This is a medical images database for a group of Radiologists. I inherited the DB about 2 years ago when it had grown to over 20 TB's and got out of hand. It is 95% unstructured BLOB data (shudder). My main job over the past 2 years has been to get the size under control and get it into a position in which we could actually perform backups on it as well as manage it.

    Anyway, that has finally been accomplished. We're down to 1.9 TB of data in a 3 TB DB. Unfortunatly that is spread across 25 files (in a single file group) on 6 different Arrays. There is previous data corruption that keeps me from shrinking all of it into a properly setup group of files. So next month, I will be replicating the structured data onto our failover server, dropping the BLOB tables out of the DB and rebuilding the server, then failing back to the production server with emtpy blob tables.

    Once all of that is completed, I will FINALLY get to tune the database

  • No doubt it'll be easy to Tune... just had to get to a point in which tuning could be done.

  • brian 20008 (12/2/2011)


    No doubt it'll be easy to Tune... just had to get to a point in which tuning could be done.

    So you knew about that article already? It's certainly not "standard" knowledge in the industry.

  • Ninja's_RGR'us (12/2/2011)


    brian 20008 (12/2/2011)


    No doubt it'll be easy to Tune... just had to get to a point in which tuning could be done.

    So you knew about that article already? It's certainly not "standard" knowledge in the industry.

    Nope, sorry didn't mean to imply that I knew of that article. I have it Bookmarked and intend to read it shortly as it looks rich in detail. I simply meant that once we're actually at the point when we can tune, there are lots of things that can be done to this particular database.

    Also, to answer CCShampions earlier question about Statistics... The DB is set to Auto Update, however, it's also set to Async Updates, which means the QO isn't dealing with the most up to date statistics. I'm not certain why the original DBA did that, possibly due to the size of the DB and time taken to update prior to a query to run. That'll be something I test over the weekend.

Viewing 12 posts - 16 through 26 (of 26 total)

You must be logged in to reply to this topic. Login to reply