Viewing post 1 (of 1 total)
The article should discuss the wonders of "option (recompile)". It forces SQL to recompile the query plan with knowledge of the number of rows currently in the table variables....
June 11, 2009 at 9:35 am
#1008091