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
Raffaele MessinaRaffaele Messina 

Batch Apex to update/insert records

Hi everybody

i have a csv file containing all the recors that i want to insert/update. My question is: How many records can i update/insert with a batch and how can i manage this operation? Do i need to separate the batch in different chuncks? if so, how is it done?
Thanks in advance for your time

ANUTEJANUTEJ (Salesforce Developers) 
Hi Raffaele,

Can you try checking this help article I think this could help in your use case:

>> https://help.salesforce.com/articleView?id=000313396&language=en_US&type=1&mode=1

Regards,
Anutej
Raffaele MessinaRaffaele Messina
@ANUTEJ Thanks for the article, i already took view of it. My question is about the batch, are there some consideration i should be thinking about when implementing this csv import with an apex batch