sqlserver只有MDF文件恢复数据库的方法
时间:2024-01-25 11:20:32
在查询中执行下列语句
EXEC sp_attach_single_file_db @dbname = 'tggov_Data',
@physname = 'E:\tggov_Data\www.jb51.net.MDF'
'tggov_Data'
为恢复的数据库名
'E:\tggov_Data\tggov_Data.MDF'
物理文件位置
标签:sqlserver,MDF,恢复数据库
![](/images/zang.png)
![](/images/jiucuo.png)
猜你喜欢
Python解释器及PyCharm工具安装过程
2021-02-23 08:21:51
![](https://img.aspxhome.com/file/2023/8/118508_0s.jpg)
Python如何存储数据到json文件
2023-11-24 14:31:12
![](https://img.aspxhome.com/file/2023/7/131367_0s.png)
Python运维开发之psutil库的使用详解
2023-10-24 14:22:55
MySQL select count(*)计数很慢优化方案
2024-01-23 21:31:24
![](https://img.aspxhome.com/file/2023/4/71714_0s.png)
python实现微信小程序的多种支付方式
2021-03-26 21:38:58
![](https://img.aspxhome.com/file/2023/7/127147_0s.png)
Django上传xlsx文件直接转化为DataFrame或直接保存的方法
2023-12-02 14:42:16
Python中使用ConfigParser解析ini配置文件实例
2021-06-18 01:41:44
关于python爬虫应用urllib库作用分析
2023-11-02 12:59:43
![](https://img.aspxhome.com/file/2023/9/63249_0s.png)
python numpy 常用随机数的产生方法的实现
2021-06-14 22:44:05
TensorFlow卷积神经网络MNIST数据集实现示例
2023-04-20 18:33:12
JS:window.onload的使用介绍
2024-04-23 09:12:47
access MDB 转换为 Execl(ASP类)
2008-07-19 12:10:00
Javascript 获取css属性
2009-05-31 16:49:00
关于Python错误重试方法总结
2023-05-10 23:42:09
![](https://img.aspxhome.com/file/2023/3/91913_0s.png)
Python PyQt4实现QQ抽屉效果
2023-10-08 08:06:42
![](https://img.aspxhome.com/file/2023/6/90446_0s.jpg)
Python Django 数据库的相关操作详解
2024-01-26 21:02:46
![](https://img.aspxhome.com/file/2023/8/112548_0s.png)
python中reload(module)的用法示例详解
2021-01-31 10:49:11
详解MySQL 数据库范式
2024-01-24 08:05:25
![](https://img.aspxhome.com/file/2023/7/119747_0s.png)
详解MySQL数据库之更新语句
2010-08-08 09:15:00
go语言区块链学习调用智能合约
2024-04-30 10:01:34
![](https://img.aspxhome.com/file/2023/6/130736_0s.png)