Play Games

Search This Blog

Saturday, May 21, 2022

Get the number of records of a salesforce object using SOQL query in Salesforce - SalesforceGlobe4U

Fetch the number of records of a salesforce object using SOQL query in Salesforce - SalesforceGlobe4U

Solution: Use the count() in SOQL query to get the number of records of a specific object.

Example: In order to get the count of number of account records present in salesforce use the below query

select count() from Account

Output:



No comments:

Post a Comment