You need to sign in to do that
Don't have an account?
abhishek_pandey1989@yahoo.com
Can we insert records in start method of batch class?????
I have I requirement of or you can say situation in which , I have reached a position in which i have to insert the records in the start method of batch Class ......Is it possible ???? If not why,. how to overcome .....If yes what should i keep in mind ..
Thanks
Abhishek
Let me quote you from there "The query itself can process upto 50million records"
All Answers
So you mean to say That 50 million record limit is overcome only in excute method and Database.getquerylocator of batch class, as you are saying limit applies in start method of i think 50,000 records.
Each batch should follow the governor limits like, 100 soql, 50K records, 100 DML etc
Have a look at this code
So where this 50 million limit comes in place .....and can my Database.getQueryLocator return upto 50 million records
The query itself can process upto 50million records.
Edited the batch class structure have a look.
Just say yes or no!!! ... If anything more u have pls put it here .
Thanks
Abhishek
Let me quote you from there "The query itself can process upto 50million records"