Activity Forums Salesforce® Discussions What is difference between COUNT() and COUNT(fieldname) in SOQL in Salesforce?.

  • What is difference between COUNT() and COUNT(fieldname) in SOQL in Salesforce?.

    Posted by Anuj on June 22, 2020 at 2:12 pm

    What is difference between COUNT() and COUNT(fieldname) in SOQL in Salesforce?.

    Marziya replied 4 years, 4 months ago 2 Members · 1 Reply
  • 1 Reply
  • Marziya

    Member
    June 22, 2020 at 2:58 pm

    COUNT(): It is an optional clause that can be used in a SELECT statement in a SOQL query to discover the number of rows that a query returns. ... COUNT(fieldname) :This function returns the number of rows that match the filtering conditions and have a non-null value records.

Log In to reply.

Popular Salesforce Blogs

Steps to Connect Pardot to Salesforce

Steps to Connect Pardot to Salesforce

Blog in

Steps to Integrate Salesforce and Pardot: There are some steps to install Pardot in salesforce 1- Click on this link https://login.salesforce.com/?ec=302&startURL=%2Fpackaging%2FinstallPackage.apexp%3Fp0%3D04t1W000000U7P8(production) https://test.salesforce.com/?ec=302&startURL=%2Fpackaging%2FinstallPackage.apexp%3Fp0%3D04t1W000000U7P8 (sandbox) 2- After…

Popular Salesforce Videos