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
ch ranjeethch ranjeeth 

how to insert 1 millions records using batch apex?

KevinPKevinP
You'll find everything you need to know about how to do this right here:

https://www.salesforce.com/us/developer/docs/api_asynch/ the Bulk Api is what you want.