+ Start a Discussion
priya bhawna shettypriya bhawna shetty 

soql related

hi friends

can anyone tell me

in apex class or in soql query when we wil get "101" kind of error...

thanks

Best Answer chosen by Admin (Salesforce Developers) 
Forza di SognoForza di Sogno

Are you trying to create a 101 error or are you experiencing a 101 error?  This error is due to having too many SOQL queries, e.g. by having a SELECT statement within a loop.

 

See this article.

 

Also, post your code, so we can see where you might be hitting that limit.