Activity Forums Salesforce® Discussions What is Maximum length of SOQL statements in Salesforce?

  • Udit

    Member
    April 29, 2020 at 3:07 pm

    It is 20,000 characters

  • Manish

    Member
    April 29, 2020 at 3:22 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.

  • Ayush

    Member
    April 30, 2020 at 8:19 am

    It is 20,000 characters

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos