Activity Forums Salesforce® Discussions What is Maximum length of Strings in SOQL WHERE clauses in Salesforce?

  • What is Maximum length of Strings in SOQL WHERE clauses in Salesforce?

    Posted by MOHIT on April 29, 2020 at 2:41 pm

    What is Maximum length of Strings in SOQL WHERE clauses in Salesforce?

    Pooja replied 4 years, 8 months ago 4 Members · 3 Replies
  • 3 Replies
  • Anuj

    Member
    April 29, 2020 at 2:45 pm

    SOQL statements can't exceed 20,000 characters. For SOQL statements that exceed this maximum length, the API returns a MALFORMED_QUERY exception code ; no result rows are returned.

  • Aditya

    Member
    April 29, 2020 at 3:53 pm

    Hi,
    20000

  • Pooja

    Member
    April 29, 2020 at 4:09 pm

    SOQL statements can't exceed 20,000 characters.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos