You need to sign in to do that
Don't have an account?

How many records we can iterate in for loop
Hi Guys,
Is there any limitiation for iterating the no of records in a for loop ? .
for loop with in for loop doing iteration for 10,000 records. is there any impact ?
Thanks,
Krish
Is there any limitiation for iterating the no of records in a for loop ? .
for loop with in for loop doing iteration for 10,000 records. is there any impact ?
Thanks,
Krish
Couple of years back there was a limit on number of statements executed in a single transaction -
200,000 for Synchronous Apex and 1,000,000 for Asynchronous Apex. This limit has now been removed.
What you may run into is the maximum processing time allotted for a transaction -
10 seconds for Synchronous Apex and 60 seconds for Asynchronous Apex.
If none of the answers helped you significantly, please post the solution. You may also mark your solution as the best answer.