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
sesidhar ponnada 8sesidhar ponnada 8 

what is batch apex and what are its uses?

what is batch apex and what are its uses?
Raja ReddyRaja Reddy
Hi Sesidhar,

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...
sesidhar ponnada 8sesidhar ponnada 8
Thank's for helping me guys.