I solved it like Toreador, but at the same time I found the explanation about the literals interesting.
thanks for the question!
--Mark Tassin MCITP - SQL Server DBA Proud member of the Anti-RBAR alliance. For help with Performance click this link[/url] For tips on how to post your problems[/url]