You need to sign in to do that
Don't have an account?

How to export 10k+ records Id's in soql?
As I am trying Soql statement to export 10k+ records Id's in a single run
Example: Select Id,Name,Phone From Accounts where Id in ('Record 1','Record 2','Record 3'.......'Record N')
The soql statement is not accepting more than 1k records inquery how to overcome this limit exceeded error?
Example: Select Id,Name,Phone From Accounts where Id in ('Record 1','Record 2','Record 3'.......'Record N')
The soql statement is not accepting more than 1k records inquery how to overcome this limit exceeded error?
Try the below code in the Anonymous Apex:
Things to remember:
- Change the first line by adding your IDs. Like this: new Set<Id>{YOUR_MANY_IDS}
- Add your e-mail address to the toAddresses list.
Hope it helps. :)