cnblogs/dcrenl/SQL 数据库无法附加,提示 MDF" 已压缩.html
2024-09-24 12:43:01 +08:00

17 lines
1.5 KiB
HTML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<div id="sina_keyword_ad_area2" class="articalContent ">
<div>SQL 数据库无法附加,提示 MDF" 已压缩,但未驻留在只读数据库或文件组中。必须将此文件解压缩</div>
<span style="font-family: verdana,sans-serif;">1右键点击数据库所在的文件夹&nbsp;</span><br />
<span style="font-family: verdana,sans-serif;">2点击属性在常规选项卡中点击高级&nbsp;</span><br />
<span style="font-family: verdana,sans-serif;">3在弹出的窗口中的压缩或加密属性中去掉压缩内容或者节省磁盘空间点击确定&nbsp;</span><br />
<span style="font-family: verdana,sans-serif;">4点击应用勾选应用于该文件夹所有文件 即可</span><br />
<br />
<span style="font-family: verdana,sans-serif;">------</span><br />
<span style="font-family: verdana,sans-serif;">原因:</span><br />
<br />
<span style="font-family: verdana,sans-serif;">NTFS 或FAT 压缩卷上不支持 SQL Server 数据库。压缩卷无法保证扇区对齐方式的写入,但这种写入在某些情况下是确保事务恢复所必需的。 此外,建议不要将 SQL Server数据库备份为压缩卷上的磁盘文件。</span>
<div><br />
</div>
<div><span style="font-family: Arial,Helvetica,simsun,u5b8bu4f53; line-height: 22px;">原文:<a style="line-height: 22px; text-decoration: none; color: #6d1c00;" href="http://blog.csdn.net/xiaoK/archive/2008/12/12/3502400.aspx" target="_blank">http://blog.csdn.net/xiaoK/archive/2008/12/12/3502400.aspx</a></span></div>
</div>
<p>&nbsp;</p>