Delete old sales jounals

I have years of old journals and my database is getting too big. How do I get rid of them.

Reply to
gatherings
Loading thread data ...

Run this SQL statement in Administrator

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)

Reply to
Michael

Before you delete, why do you think your database is too big? We, after doing some 75 stores, have NEVER had that problem.

Reply to
JerryData

Check you log files. I find these take up huge amounts of space.

Reply to
Jason

My Back Up file that we update every night is 1.2 gb and when we make a once a week back up to take offsite it takes about five hours. Also since we upgraded to the new rms ver. 2 everything is running much slower.

Reply to
gatherings

Where would I find them?

Reply to
gatherings

Everything seemed to work as you suggested. My back up file did get smaller but all the sales registers are still visable in the journal viewer. Are registers different from journals?

Reply to
gatherings

BeanSmart website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.