+ Start a Discussion
viswsanathviswsanath 

How to we can create the records for batch wise on batch apex class ?

Hi All,

I have 10000 records, then How to we can create the  records for batch wise on batch apex class. 

Kindly help me on this with example code .

Regards,
Thanks.
Carlos Campillo GallegoCarlos Campillo Gallego
Hi Viswsanath

I think that these links have all the info you need to start coding your batch and understand how their work:
http://blog.shivanathd.com/2013/01/how-to-write-batch-class-in.html
https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_batch_interface.htm

Good luck! 

Regards,