Activity Forums Salesforce® Discussions How do I query more than 50000 records in Salesforce?

  • How do I query more than 50000 records in Salesforce?

    Posted by Marziya on October 28, 2020 at 2:18 pm

    How do I query more than 50000 records in Salesforce?

    Shweta replied 4 years ago 3 Members · 2 Replies
  • 2 Replies
  • Deepak

    Member
    October 28, 2020 at 4:31 pm

    You can get more than 50,000 records using a Query Locator.

  • Shweta

    Member
    October 28, 2020 at 6:53 pm

    Batch apex is the option that will work. We can process up to 5 Million records in one batch.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos