function readOnly(count){ }
Don't have an account?
Search for an answer or ask a question of the zone or Customer Support.
You need to sign in to do that
Sign in to start searching questions
Signup for a Developer Edition
Sign in to start a discussion
Greetings!
You can find the sample code provided in the below documents and make changes according to your business requirement.
https://www.sfdcpoint.com/salesforce/batch-apex-example-in-salesforce/
https://salesforce.stackexchange.com/questions/116785/how-to-create-thousands-of-records-using-batch-apex
Kindly mark it as best answer if it helps so that it can help others in the future.
Warm Regards,
Shirisha Pathuri