>>I saw recently a thread on MSDN forum with the exact same message. I think it may be a bug in SQL Server 2005 which you hit. If you can not re-write the query, then I suggest to open a case with MS on this. You can also post this issue at MSDN forum. I suggest to post here >>http://social.msdn.microsoft.com/Forums/en-US/transactsql/threads > >Where can I see if I am on SP3?