Quantcast
Channel: SQLServerCentral » SQL Server 2014 » Administration - SQL Server 2014 » Latest topics
Viewing all articles
Browse latest Browse all 6525

Estimated Query Plans

$
0
0
Hi,First post.When viewing an estimated query plan for a stored procedure with multiple query statements, two things stand out to me and I wanted to get confirmation if I'm correct.1. Under <ParameterList><ColumnReference... does the xml attribute "ParameterCompiledValue" represent the value used when the query plan was generated?[b]<ParameterList> <ColumnReference Column="@Measure" [u][i]ParameterCompiledValue[/i][/u]="'all'" /></ParameterList></QueryPlan></StmtSimple>[/b]2. Does each query statement that makes up the execution plan for the stored procedure have it's own execution plan? And meaning the stored procedure is made up of multiple query plans that could have been generated at a different time to another part of that stored procedure?Hope this makes sense.

Viewing all articles
Browse latest Browse all 6525

Trending Articles