+ Start a Discussion

Too many DML rows:10001 URGENT,,,...



I am in big trouble, please help me out.


I have one batch class, in which i am using UPSERT in Start method only 4 time.


It is executing only 4 time, still showing this error.

So any idea for the same, Thanks in advance.




You probably shouldn't be using any DML operations in start(). Instead, you should process those records inside execute().