+ Start a Discussion
VJayVJay 

"Select count() from account" and it's reached limit 50k. How we can count next record.

Narender Singh(Nads)Narender Singh(Nads)

Hi,

Use offset keyword in your query to skip the records.
Refer to this documentation to understand its use: https://developer.salesforce.com/docs/atlas.en-us.soql_sosl.meta/soql_sosl/sforce_api_calls_soql_select_offset.htm

Let me know if it helps
Thanks!