1、首先找到我们的SqlServer2008安装目录盘,这里就以我的盘符(C盘)作为例子。文件为db_WuLiu_Data.MDF为例
[img]http://dl.iteye.com/upload/attachment/595790/a099fbbc-ca3c-368c-b709-4ec28e2eddc2.jpg[/img]
2、打开图片中的MSSQL10.SQLSERVER2008\MSSQL\DATA
[img]http://dl.iteye.com/upload/attachment/595792/96155c45-3f0c-395f-8492-5f09502f7914.jpg[/img]
3、启动服务,打开数据库登录之后 附加刚刚Copy的MDF文件
[img]http://dl.iteye.com/upload/attachment/595794/2a79f7e2-ded9-3292-a952-6b1c4c63643e.jpg[/img]
4、在数据库节点下就能看到刚刚附加的Sqlserver2005 分离生成的MDF文件。
[img]http://dl.iteye.com/upload/attachment/595796/493d6b0d-1070-3f40-90d5-aa9068e19f8d.jpg[/img]
[img]http://dl.iteye.com/upload/attachment/595790/a099fbbc-ca3c-368c-b709-4ec28e2eddc2.jpg[/img]
2、打开图片中的MSSQL10.SQLSERVER2008\MSSQL\DATA
[img]http://dl.iteye.com/upload/attachment/595792/96155c45-3f0c-395f-8492-5f09502f7914.jpg[/img]
3、启动服务,打开数据库登录之后 附加刚刚Copy的MDF文件
[img]http://dl.iteye.com/upload/attachment/595794/2a79f7e2-ded9-3292-a952-6b1c4c63643e.jpg[/img]
4、在数据库节点下就能看到刚刚附加的Sqlserver2005 分离生成的MDF文件。
[img]http://dl.iteye.com/upload/attachment/595796/493d6b0d-1070-3f40-90d5-aa9068e19f8d.jpg[/img]