I have local drive in my system. The file system in my drive is NTFS. Some days ago I compressed my drive by disk cleanup for releasing free space. But when I want to attached my sql database with server then it gives error that show like this but not exact

"The attachment of database is failed. Your database is compressed and it needs to decompress the database."

1 Answer 1


Use "compact" command-line utility. Here is its documentation: http://technet.microsoft.com/en-us/library/cc976800.aspx

  • thanks to reply. I will check this and give you response Apr 14, 2012 at 10:20

Not the answer you're looking for? Browse other questions tagged .