Don't have an account?
Search for an answer or ask a question of the zone or Customer Support.
You need to sign in to do that
Sign in to start searching questions
Signup for a Developer Edition
Sign in to start a discussion
Please follow links for details about batch
https://www.salesforce.com/us/developer/docs/apexcode/Content/apex_batch.htm
http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_batch_interface.htm
http://abhithetechknight.blogspot.in/2014/07/basics-of-apex-batch-class-in-salesforce.html
Regards
Subhash
If you want to insert more than 50,000 records and to overcome the limitations in salesforce we have to use Batch Apex.
For Example: By using Database.getQueryLocator we can return 10,000 record but if we are using this in batch apex we can return 5 million records.
For more details go through the below link http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_batch_interface.htm
Hope this helps you...