Newer Version Available
Perform Mass Deletes
| Available in: both Salesforce Classic and Lightning Experience |
| Available in: Enterprise, Performance, Unlimited, Developer, and Database.com Editions |
| User Permissions Needed | |
|---|---|
| To mass delete records: | “Modify All Data” |
To delete a large number of records at one time using Data Loader, we recommend the following steps:
- As a backup measure, export the records you wish to delete, being sure to select all fields. (See Export Data.) Save an extra copy of the generated CSV file.
- Next, export the records you wish to delete, this time using only the record ID as the desired criterion.
- Launch the Data Loader and follow the delete or hard delete wizard. Map only the ID column. See Insert, Update, or Delete Data Using Data Loader.
- After the operation, review your success and error log files. See Reviewing Data Loader Output Files.