Skip to main content

Notifications

Microsoft Dynamics RMS (Archived)

RMS Purge Data (How?)

Posted on by 30

Due to a lack of search, I was unable to check if this had been asked before.

 

I was approached to do a data purge, and I have never used the software, the person that approached me wanted me to do it from a SQL point of view.  I believe this is not likely the best course of action.  Is there any sort of stored proc, or built in way to purge data?  They have a DB approaching 4GB in 2005 and wanted to purge all data except the last year or so as a form of maintenance. 

 

How would this be done?

*This post is locked for comments

  • Fernando España Profile Picture
    Fernando España 360 on at
    Re: Re: RMS Purge Data (How?)
    the only product for do this , safe, and fast way is Archiving from RetailRealm http://www.retailrealm.co.uk ask to afshin they have this solution.
  • Sad Profile Picture
    Sad 650 on at
    Re: RMS Purge Data (How?)

    HI ,as i know you need a third party software to purge DB,you use this SQL statment to delete old journal it may help reduce size,( do not forget to backup DB before you make any change)

    execute this statement to delete journals older than 2 years: - where time <getdate()-730 
    DELETE Journal
    WHERE time < getdate()-365
     
    The above statement will delete all journals over 12 months old (alter the
    number of days as required)
     
    and then run this SQL statement
     
    dbcc shrinkdatabase (DatabaseName)

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Complete!

🔔 Be sure to subscribe to the new forums you are interested in to stay up to date! 🔔

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,900 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 229,297 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans