Microsoft
Software
Hardware
Network
Question : SQL 2005: The query processor ran out of internal resources and could not produce a query plan.
Hi There,
I have a simple Classic ASP recordset that inserts some data into a simple table (5 cols) (SQL 2005)
The complication in the artitecture is that the table forms part of the strucutre for about 350 indexed views (standard and full text), although only affects one of these views based on teh value of one of the columns in the table.
Im getting this error:
Microsoft SQL Native Client error '80004005'
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.
If I insert the same data using a SQL insert statement via SSMS it goes in. I have also had a look at the execution plan for this query and it is quite complex and referrs back to the indexes on one of the views and a linked table via in the view, but is not that complex.
It has been working up until now.
Another random one was that there was disk space issues on this server this morning which have been resolved.
i have a hunch that an SQL restart, or server restart may solve this issue. However cannot afford the downtime right now.
URGENT advice appreciated.
Thanks.
Answer : SQL 2005: The query processor ran out of internal resources and could not produce a query plan.
What is the latest service pack applied to SQL server? Is this applicable :
http://support.microsoft.c
om/kb/9178
88
Random Solutions
Complete uninstall of Sharepoint Services 3.0 from Windows 2008 Server
Dell PE 2850, ESXi 4.0, 64bit guest VMs?
Changing number of NSPI connections on Windows 2008 Global Catalogs
PHP cannot connect to mySQL on LAMP server
Good free network Management software
Clear out calendar box in raddatepicker using javascript and postback
Operation Must Use an Updateable Query
How to simultaneously send and recv data from a single socket?
Are there any ways to know if the a user the company email redirected to an external account?
object required error