You need to sign in to do that
Don't have an account?
force novice
Batch Apex
The batch apex limit is 50 million records..if i want to retrieve more than 50 million records what i have to do?
bob_buzzard
You'd have to have multiple batch jobs, each processing a 50 million record chunk of the data. Each batch job would have to scope the query somehow so that it returned 50 million or less records - if it returns more, then the platform will fail the batch.