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

Basic question on Governor limits for Records Retrived by SOQL



I've a qick question on governor limits: - Records retrived by SOQL is 10,000. My question is, is it for one Soql or for the whole organization which includes all Soql's??


I've an Soql retruning 5000 rows, another 7000 rows individually when i query in IDE, If i Include these 2 queries in diff classes then the total count might go upto 12,000 rows. Is this a problem or 2 Soql's count the rows individually as 5000 and 7000?



Best Answer chosen by Admin (Salesforce Developers) 

The limit of 10,000 is per query


so you can have one  with 5,000 and another with 7,000 that should be ok