Skip to main content

Hi all,

 

I am working on DML insert operations in apex basics. 

 

I want to insert multiple records (say 200 )in a custom object using list. 

I want to have unique record name. I don't want to have records with name ABC1, ABC2, ABC3,...... 

How can I achieve this using for loop?

7 réponses
  1. 21 janv. 2022, 17:48

    @Sharan Kumar Kolluru

    It is not for business needs, it is for my understanding only.. And I have been to told to use list as passing parameter. I will try yours logic as well. Thanks very much for your answer

0/9000