+ Start a Discussion
EIE50EIE50 

Basic question on Governor limits for Records Retrived by SOQL

Hi,

 

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?

 

Thanks.

Best Answer chosen by Admin (Salesforce Developers) 
dke01dke01

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