Execution error in SQL Server 2012 - The query processor ran out of internal resources and could not produce a query plan

Thanks Jason. I did re write the query and it is working...I just need to make sure I don't do too much subqueries, Union, etc...

1 Like