Activity Forums Salesforce® Discussions In Salesforce SOQL - if there are 10000 records, how to find records in between 2000 to 6000?

  • Nikita

    Member
    October 6, 2017 at 7:43 am

    Hey, Kenny.

    Why don't you just use standard 'for' loop?

     for(Integer i = 2000; i < 6000; i++) {
     System.debug('objList[i] >>> ' + objList[i]);
     }
    • This reply was modified 7 years, 1 month ago by  Nikita.
    • This reply was modified 7 years, 1 month ago by  Nikita.
    • This reply was modified 7 years, 1 month ago by  Nikita.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos