msde2000

How do I shrink my SQL Server Database?

烂漫一生 提交于 2019-11-27 10:33:47
I have a Database nearly 1.9Gb Database in size, and MSDE2000 does not allow DBs that exceed 2.0Gb I need to shrink this DB (and many others like this at various client locations). I have found and deleted many 100's of 1000's of records which are considered unneeded: these records account for a large percentage of some of the main (largest) tables in the Database. Therefore it's reasonable to assume much space should now be retrievable. So now I need to shrink the DB to account for the missing records. I execute DBCC ShrinkDatabase('MyDB') ...... No effect. I have tried the various shrink

How do I shrink my SQL Server Database?

半城伤御伤魂 提交于 2019-11-26 17:57:19
问题 I have a Database nearly 1.9Gb Database in size, and MSDE2000 does not allow DBs that exceed 2.0Gb I need to shrink this DB (and many others like this at various client locations). I have found and deleted many 100's of 1000's of records which are considered unneeded: these records account for a large percentage of some of the main (largest) tables in the Database. Therefore it's reasonable to assume much space should now be retrievable. So now I need to shrink the DB to account for the