Tell me more ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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."

share|improve this question

closed as off topic by SvW, womble, John Gardeniers, mdpc, Adrian Nov 17 '12 at 4:31

Questions on Server Fault are expected to relate to professional server, networking, or related infrastructure administration within the scope defined in the FAQ. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about closed questions here.

1 Answer

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

share|improve this answer
thanks to reply. I will check this and give you response – Ghost Answer Apr 14 '12 at 10:20

Not the answer you're looking for? Browse other questions tagged or ask your own question.