Roland Alexander STL (9/21/2012)
Which is the point of using local variables, since it will force a new plan each time the query is run.
Errr... really?
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability