Makes perfect sense. I was missing something:-)
Adi
edited: Sorry, just had a look at it. It does seems to work. According to the where clause one of the columns has to be different then 99
Adi
--------------------------------------------------------------
To know how to ask questions and increase the chances of getting asnwers:
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/