You need to sign in to do that
Don't have an account?

How to get a count of million records from object in salesforce?
Hi
How to get a count of million records from object in salesforce?
You need to sign in to do that
Don't have an account?
Hi
How to get a count of million records from object in salesforce?
In Apex Code, you'd have to use a Batch process, because a normal context is limited to 50,000 rows returned. There's plenty of examples out there on the forums and across the Internet on how to accomplish this task.
thanks for quick response,
can you give me small example.
Go through the below links for Batch processes :-
http://salesforcetrekbin.blogspot.in/2010/04/how-to-use-batch-apex-in-salesforce.html
http://teachmesalesforce.wordpress.com/tag/batch-class/