function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
salesforce1#salesforce1# 

How to get a count of million records from object in salesforce?

Hi

 

How to get a count of million records from object in salesforce?

 

sfdcfoxsfdcfox

In Apex Code, you'd have to use a Batch process, because a normal context is limited to 50,000 rows returned. There's plenty of examples out there on the forums and across the Internet on how to accomplish this task.

salesforce1#salesforce1#
Hi

thanks for quick response,
can you give me small example.