Query processor ran out of resources? | SQL Server Performance Forums

SQL Server Performance Forum – Threads Archive

Query processor ran out of resources?

I got this error in SQL Server 2005 when running a moderately complex query generated by a query builder that generates search queries. Anybody else ever get this message? What does it mean, and what can I do to get around it? Thanks. Msg 8623, Level 16, State 1, Line 1
The query processor ran out of internal resources and could not produce a query plan. This is a rare event and only expected for extremely complex queries or queries that reference a very large number of tables or partitions. Please simplify the query. If you believe you have received this message in error, contact Customer Support Services for more information.

Hi Check the following links.They indicate this problem has something to do with SP’s
Just see if they are applicable to you
http://support.microsoft.com/kb/838409
http://support.microsoft.com/kb/826815 If these are of no help probably you could post your queries that are causing problems. cheers
Parik****
]]>