You need to sign in to do that
Don't have an account?
BR
too many query rows: 50001
We have an object, which has 65000 records. We are doing a query with Group BY claues and using limit 50000, still we are getting error 'too many query rows: 50001'.
Any idea?
Thanks in advance!
Can you post that query?
This works fine if total records in the Partner object is less than 50000.
Hi Br,
You can write your query in batches. Can you please tell your needs?
-Lakshman
Is this the only query you are making in this context? What I mean is that are you querying something else as well except this one?
The limit clause applies to the end result set size. It's not going to limit the number of rows the query groups by.
Please post this as an improvement idea on the IdeaExchange.
So how to limit 'number of rows the query groups by' ? Any workaround?
As far as I know, not today.