Florian Reischl (4/12/2009)
Hello everybody!I have a performance issue with a set based solution. Please could you advice me what I'm doing wrong?
ORDER BY on unindexed Tally table, for starters. All the other comments about large table variables may apply, as well, although I haven't tested the code, yet.
--Jeff Moden
Change is inevitable... Change for the better is not.