function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
SFDC RocksSFDC Rocks 

WS API: maximum records from query + querymore(s)

If I am using the partner WSDL (if it matters), for a single SOQL query via the WS API, what is the maximum number of records I can query if I use query + multiple querymore calls?


Is it 10000 records?




You can query as many records as you can store, there's no limit.



Max size of list = 1,000^3 

Total number of records retrieved by SOQL queries = 10,000^8 

Total number of SOQL queries issued = 100^8 


Reference: Apex Code Developer's Guide