+ Start a Discussion
deeput05deeput05 

deletion

 code for deletion of all the records of an object at time

Best Answer chosen by Admin (Salesforce Developers) 
jd123jd123

Hi

 

You can use 

 

Execute it in Developer Console.....

List<CustomObject> l = [select id from CustomObject limit 50000];
delete l;

Here CustomObject is the name of the custom object.

http://success.salesforce.com/questionDetail?qid=a1X30000000IEq4EAG

 

You can also try the AppExchange object below.  Since it's unmanaged, you might be able to play with it if that's something you are familiar with and want to do in this case.

You can also use the Informatica Data Loader, which is also free.

http://sites.force.com/appexchange/listingDetail?listingId=a0N300000016YuDEAU