Gianluca Sartori (5/7/2009)
... ooops!I vote for Lynn's solution! There's also an interesting thread on this topic
http://www.sqlservercentral.com/Forums/Topic695508-338-1.aspx
Uh huh... just be careful with what you see in some of the posts on that thread. There's a lot of really good information but some of the testing used data where the position of the delimiters from row to row didn't vary much and the optimizer recognized that resulting in some artificially fast times in some cases. The devil's in the data.
The originator of that post is actually writing an article on the subject and will likely coalesce some of those findings.
--Jeff Moden
Change is inevitable... Change for the better is not.