+ Start a Discussion
Umesh BP 52Umesh BP 52 

Can i update 50000 records at a time?

 i need to update 50000 records at a time?
How to do?
Raj VakatiRaj Vakati
Its depdende on from where you want to upload 

If you want to do it from the batch or data loader it will run the data based on the batch job.. suppose if you have 50000 records if you set batch size as N it will run n times based on the based on bathc size 

if you want to do it from developer console ..Yes but make sure you dnt have any triggers other thinks 
 
List<Account> accs =[Select Id from Account Limit 50000]; 

for(Account a :accs){
	a.Name='Test';
}

update accs;