After playing with it a little this is definitely a useful query, but the article could certainly go with more explanation about what its intent is and how it functions. That would make it a bit easier to understand.
---
Timothy A Wiseman
SQL Blog: http://timothyawiseman.wordpress.com/