+ Start a Discussion
Megha Mittal 19Megha Mittal 19 

I have 2 querylocators in my start method in batch class and I am getting a 50001 rows error.

Batch class querylocator has a limit of 50 million records. Can anyone tell me why I am getting the error then.
Steven NsubugaSteven Nsubuga
Do you mind sharing your code so we can take a look?