Shrink Database

  • I have a SQL6.5 Database and only have about 6% Disk space left on my server. Is there a way that I can shrink the database. I have identified some data that can be deleted, but once done , what next?

    Peter

  • Use DBCC SHRINKFILE(<file_name>,<size in MB>)

    Jeremy

  • Thanks Jeremy, but I don't think Shrinkfile can be used in 6.5, I have seen an option called ShrinkDB, maybe this is what I need?

  • ShrinkDB will shrink the whole database, shrinkfile (where available) shrinks a single file within a database.

    ShrinkDB is probably what you need.

    Jeremy

Viewing 4 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic. Login to reply