I like Elliot's work around, it is very clever.
Listed below is an article that discusses this issue and may be an alternative but I like Elliot's approach. 🙂
For better, quicker answers on T-SQL questions, click on the following...
http://www.sqlservercentral.com/articles/Best+Practices/61537/
For better answers on performance questions, click on the following...
http://www.sqlservercentral.com/articles/SQLServerCentral/66909/