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

Delete Data In Bulk
Hi,
I am trying to delete data from my object, but I am not able to delete bulk data altogether..

I am able to delete data one by one but I wanat to clean my all data together ..
Plss help me to achive this
Thanks.
I am trying to delete data from my object, but I am not able to delete bulk data altogether..
I am able to delete data one by one but I wanat to clean my all data together ..
Plss help me to achive this
Thanks.
From Setup, click Data Management | Mass Delete Records and click the link for the type of record to delete. (or)
Write a small logic in developer consle>>anonymous block(ctrl+E) type like
List<account> acc = [select id,name from account limit 9999]; //write what condition you want...
delete acc;
when i am executing List<> command I am getting below error.
The query has to start with 'FIND' or 'SELECT'.
You can use Data Loader to delete the Bulk Records.
In my developer console it is working well.Try again...
List<account> acc = [select id,name from account limit 20];
delete acc;
system.debug('my output '+acc);