samata.putumbaka (5/20/2008)
This is another way of the same workaround with better performance:
Interestingly, on SQL 2005, the first query is marginally faster.
[font="Times New Roman"]-- RBarryYoung[/font], [font="Times New Roman"] (302)375-0451[/font] blog: MovingSQL.com, Twitter: @RBarryYoung[font="Arial Black"]
Proactive Performance Solutions, Inc. [/font][font="Verdana"] "Performance is our middle name."[/font]