Jeffrey’s Blog

如何把sps的数据库和日志文件移到其它盘上

安装的时候没注意,选择了默认位置(C:\Program Files\Microsoft SQL Server\MSSQL\Data),现在已经占了5个多G的空间了。C盘空间告急…
怎么才能把数据文件迁移到其它盘上呢(D盘、E盘…)
注:如果想在SQL2000里面尝试删数据库。会提示:不能从数据库中删除主数据文件和主日志文件
解决办法:
QUOTE:
先把那个数据库分离(detach)了,然后把文件拷贝到别的分区上,然后再附加(attach)上就完了。超简单。

 

# Last modified at: October 12th, 2006 05:07pm
给本文打分: 1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

转载本站文章请注明, 转载自:  Jeffrey’s Blog [http://blog.zhangjianfeng.com]
本文链接:  http://blog.zhangjianfeng.com/article/174
@ 阅读全文 | 2006/03/31 12:01am | Category: 应用服务 | 1,206 views   Print This Post  
收藏到网摘: Del.icio.us Google书签 Digg Live Bookmark Technorati Furl Yahoo书签 Facebook 百度搜藏 新浪ViVi 365Key网摘 天极网摘 和讯网摘 博拉网 POCO网摘 添加到饭否 QQ书签 Digbuzz我挖网

6 Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URL

Leave a comment

京ICP备06038449号