50000 records. But it is advisable not to use direct such query when the record in any near to that because it will cause limits to pass especially if you DML with that. When the record count is huge use Batch Apex.
If this post is helpful please throw Kudos.If this post solves your problem kindly mark it as solution.
You can retrive 50,000 records using single SOQL query in trigger.
50000 records. But it is advisable not to use direct such query when the record in any near to that because it will cause limits to pass especially if you DML with that. When the record count is huge use Batch Apex.
If this post is helpful please throw Kudos.If this post solves your problem kindly mark it as solution.
Thanks
You are really limited by the max return of SOQL query which is 50,000
Hope these links helps you..
http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_gov_limits.htm
https://na6.salesforce.com/help/doc/en/salesforce_app_limits_cheatsheet.pdf
http://wiki.developerforce.com/page/Apex_Code_Best_Practices
Thanks,
Subhani,
Salesforce Certified Developer,
www.mydbsync.com.