berzat.museski (6/14/2011)
Jeff, I must tell you that your solution is briliant as well!
Thanks for the compliment but, nah... I just used a variation of what is in the article. 🙂 That was the whole point, really. The code in the article is some of the fastest code you can find to do this and you don't need a custom column (frequently disallowed on real tables) nor an extra index to support it.
--Jeff Moden
Change is inevitable... Change for the better is not.