sql - How to find Expr#### in Execution Plan -


when looking @ actual execution plan query in sql server management studio (ssms), how determine expression such expr1052 represents?

when identify costly parts of query , @ properties of operation, there references these expressions, or scalar operators. want able figure out part of query referring to.

in execution plan window of ssms, right click on operation first calculates expression , select properties.

you see expression definition in pane right.

alternatively, can browse xml plan , search entries that:

  <definedvalues>     <definedvalue>       <columnreference column="expr1018" />       <scalaroperator scalarstring="col1 + col2">       </scalaroperator>     </definedvalue>     …   </definedvalues> 

Comments

Popular posts from this blog

javascript - Enclosure Memory Copies -

php - Replacing tags in braces, even nested tags, with regex -