web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)
Answered

Deleting of all Entity Records in One Shot

(0) ShareShare
ReportReport
Posted on by 225

I have a project transaction entity and occasionally the need to delete all the records and re-import comes up.  This entity is approaching 100K records and using the default delete command would be very efficient. For my on-premise development I can truncate the table and then re-import. Production is online. Is there a way to issue a truncate command or a bulk delete all records in one shot?

*This post is locked for comments

I have the same question (0)
  • HarryZang Profile Picture
    240 on at
    RE: Deleting of all Entity Records in One Shot

    Online environment does not have direct access to the SQL database, so the bulk delete must through either using the oob "bulk delete" function in data management section, or you may able to write a console application to do that. Both are much slower than "truncate the table" operation (although direct DB operation is not a supported method)

  • Suggested answer
    gdas Profile Picture
    50,091 Moderator on at
    RE: Deleting of all Entity Records in One Shot

    Hi Jerry ,

    Use OOB bulk delete which is only the best options available in dynamics CRM ,  as you don't need worry about the deletion error or any issues  and advantages is that its async process.

    Take a look below video for more details -

    www.youtube.com/watch

    .

  • Suggested answer
    sandeepstw Profile Picture
    4,601 on at
    RE: Deleting of all Entity Records in One Shot

    Hi,

    You can do using copy to sandbox instance and reset then again upload in production. You can take help from this blog.

    www.powerobjects.com/.../reset-production-instances-in-crm-online

  • Suggested answer
    a33ik Profile Picture
    84,331 Most Valuable Professional on at
    RE: Deleting of all Entity Records in One Shot

    Hello,

    I believe "Bulk Delete" is what you're looking for - www.encorebusiness.com/.../bulk-delete-records-dynamics-crm

  • Verified answer
    Community Member Profile Picture
    on at
    RE: Deleting of all Entity Records in One Shot

    Under Settings|Data Management you will see an option called Bulk Record Deletion.  Create a New bulk record delete job ... Just need to define a search criteria (the project transaction entity) and submit the job.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Mansi Soni – Community Spotlight

We are honored to recognize Mansi Soni as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
Community Member Profile Picture

Community Member 2

#2
Christoph Pock Profile Picture

Christoph Pock 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans