You need to sign in to do that
Don't have an account?
Yogesh Biyani
How to download the developer console query results?
Following query results in 17000+ records. How do I save this result to csv/excel file? I tried SDFC Dev Console Data Exporter but is saves only about 1000 rows.
SELECT CreatedDate,Id, Owner.Name,Inquiry_Type__c, (SELECT id FROM EmailMessages WHERE Incoming = true) FROM Case WHERE Sales_Department__c='Sales' AND Response_Indicator__c=TRUE
Select (Production/Sandbox) depending on from where you've to export csv file and login.
(If you are using free Developer org, select 'Production')
From Menu, select Query -> soql Query
Follow the image, click on 'Query' button. In the next screen, you'll be able to download the file.
Please mark this as BEST ANSWER, id this helps solve your problem.
I tried workbench but get "InvalidJob: Unable to find object: EmailMessages". If I recall correctly workbench does not support nested queries.
I was able to use G-Connector for Salesforce and get the results in Google Sheets.
Yogesh
This is especially useful if a straightforward query doesn't refine your data enough.
Here's trivial example finding contacts from a phone area then filtering account names less than 11 characters long.
Note the extra comma before the first field to separate the debug info from the other fields. Also, Excel treats some numeric text as numbers and can corrupt them. Prefix with a letter to avoid this.
Execute the code;
Download the debug log to text;
In notepad, remove unwanted debug lines before and after the actual desired field values;
Save as csv and open in Excel;
Remove the first column (the debug statements).