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
XeeshanXeeshan 

Assignment to List through Query --- Limit Reached

I am having an error when I execute select satement without any criteria becuse of too many rows assigned to the list. Can someone please guide to some sample or tutorial that explains the use of For in fetching query.

 

Regards, 

Xee

jeffdonthemic2jeffdonthemic2

Try this Xee: Working with Very Large SOQL Queries from the Apex docs.

 

HTH

 

Jeff Douglas

Appirio, Inc.

http://blog.jeffdouglas.com