You need to sign in to do that
Don't have an account?
tango
apex update more then 10k records?
I have an apex class that is set up mass update contact records. It spools through and updates some custom indexes that we use.
Currently it uses a a for loop to spool through and update contact 1k at a time. I am getting a governor warning :
Is there a work around to updating more then 10k records via a class? I have it attached to a campaign button to update contacts from a current campaign and it is likely that we will have more then 10k.
Currently it uses a a for loop to spool through and update contact 1k at a time. I am getting a governor warning :
Number of query rows: 9300 out of 10000
Number of DML rows: 9291 out of 10000
Is there a work around to updating more then 10k records via a class? I have it attached to a campaign button to update contacts from a current campaign and it is likely that we will have more then 10k.
I am already using a List<> and updating 1k at a time. what is considered a 'request'?
Do I need to exit the class or can I just use a 10k counter and create another List object to update the next group over 10k?
Thanks
http://www.salesforce.com/us/developer/docs/apexcode/Content/langCon_apex_loops_for_SOQL.htm
The problem is I am hitting governor limits for the action of 10k returned query rows.
How does the excel connector update 20k plus records via the api? I was just trying to create a button to save me from having to use an external tool like the excel connector.
here is the code I am using. it works right up until the returning query set is more then 10k... I tried using 3 different query loops but the governor limit seems to be cumulative for the entire class request because I get the same errors.