General information
Forum:
Microsoft SQL Server
Environment versions
SQL Server:
SQL Server 2008
>I got this:
>
>"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."
>
>This came after having created a very long command which includes the IN clauses with thousands of primary keys.
>
>I just had 38026 primary keys in that one. :)
bad development. You had to put these primary keys into a temporary table and use this temporary table for filtering...
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only