Insert Bulk Account Records

How to insert bulk account records

Execute the below script in developer console to insert bulk account records.

For(integer i=0; i<10; i++) { 
	Account acc = new Account(Name='Dummy Record '+i, AccountNumber='Test'+i, Rating='Hot');
    Insert acc;
}

Leave a Reply