lrpage
asked on
how to compress / shrink an msde 2000 database
I have a windows 2000 server running msde. It now has a database file that is almost 2 gb, the max it will allow. I know one of my options is to move it to a sql standard server, but this database is just not worth the work or cost. I have cleaned out some of the junk data in the database. I am hoping I can run some sort of maintenance on the database to compress/shrink/defrag it. It looks like I will be using the osql command, but I can only find documentation on how to use this to backup, move or restore the file, not perform any other maintenance on it. Any advice would be helpful
if the file size has grown to 2GB, keep it there. if you cleaned out some tables, there will be free space available for new records
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
That was the command I was looking for. Thank you.