Ok so I know that the
An error has occured while processing Report The query processor ran out of internal resources and could not produce a query plan.
has been discussed a million times, but I have a problem that I think might be new. I can not change the query that is in use. I need to be able to force SQL to use as much memory as it needs to generate the execution plan and run the query regardless of impact on performance. Is there any way to do this.
I am running SQL2008R2.
I know that the best thing to do is rewrite the query or to break it into smaller parts but I can not do anything with the current query.
Thanks for any help with this.