• the original article was written using SQL2005 but there appears to be subtle differences in SQL2008.

    I'll have a look into it ASAP.