+ Start a Discussion
Sabeeh ShahSabeeh Shah 

How to get past the governor limit of 50000 record query in a batch apex class? I have used querylocator but still the problem exists.

Alexander PlacidiAlexander Placidi


Could provide us a code snippet?

Mahesh K 22Mahesh K 22
  try this 
select Name,StageName,CloseDate from opportunity limit 50000