You need to sign in to do that
Don't have an account?
Gargi Manjee
Update for 1k records in apex
Hi SF Devs,
If we try to update 2000k records in apex class will it through error?
What behaviour we can expect for the same?
Kindly share your expertise.
If we try to update 2000k records in apex class will it through error?
What behaviour we can expect for the same?
Kindly share your expertise.
For those many records it is always best to use batch class to update. A batch class can update up to 50 million records.
In normal Apex class you can update maximum of 10000 records only.
If this solution helps, Please mark it as best answer.
Thanks,
All Answers
For those many records it is always best to use batch class to update. A batch class can update up to 50 million records.
In normal Apex class you can update maximum of 10000 records only.
If this solution helps, Please mark it as best answer.
Thanks,