To limit data returned in Salesforce using Workbench, follow these steps:
Log into Workbench: Go to the Workbench website and log in with your Salesforce credentials.
Select SOQL Query: Navigate to "Queries" in the top menu and select "SOQL Query."
Enter Your Query: In the query editor, input your SOQL query. To limit the data returned, use the
LIMIT
clause at the end of your query. For example:Execute the Query: Click the "Query" button to execute your SOQL query.
Review the Results: The results will be displayed, limited to the number of records you specified.
You can also use OFFSET
to skip a certain number of records, for example:
This retrieves records starting from the 6th record up to the next 10.
Enjoy! Follow us for more...
No comments:
Post a Comment