当前位置:网站首页>Add MDF database file to SQL Server database, and the error is reported
Add MDF database file to SQL Server database, and the error is reported
2022-07-03 02:34:00 【Lee Meier】

Right click to add the database error , Prompt no transaction log file ,

First step , take mdf file , Put it under the installation folder, as shown in the above figure

The second step , In the system database ,master Click query below , Enter the following statement , And perform , Don't worry about the operation error , As long as the arrow points ldf The file prompt has been created :
among dbname Is what you want to add mdf The database name of ,pysname Is your first step to store mdf Path to file

USE MASTER
EXEC sp_detach_db @dbname = "MonitorHistory2021M8D30h5m30s1.mdf"
EXEC sp_attach_single_file_db @dbname = "MonitorHistory2021M8D30h5m30s1.mdf",
@physname = "F:\ Guyang Anshun West \ Supplementary data \2021 year 08 month CMS data \08 month CMS data \MonitorHistory2021M8D30h5m30s1.mdf"
The third step , Refresh , You can see the corresponding you added mdf The database of

边栏推荐
- 面试八股文整理版
- 【ROS进阶篇】第六讲 ROS中的录制与回放(rosbag)
- where 1=1 是什么意思
- oauth2.0鉴权,登录访问 “/oauth/token”,请求头Authorization(basicToken)如何取值???
- xiaodi-笔记
- 通达OA v12流程中心
- Mathematical statistics -- Sampling and sampling distribution
- "Analysis of 43 cases of MATLAB neural network": Chapter 43 efficient programming skills of neural network -- Discussion Based on the characteristics of the new version of MATLAB r2012b
- Gbase 8C trigger (I)
- 【翻译】具有集中控制平面的现代应用负载平衡
猜你喜欢
【ROS进阶篇】第六讲 ROS中的录制与回放(rosbag)

面试项目技术栈总结

【Flutter】shared_ Preferences local storage (introduction | install the shared_preferences plug-in | use the shared_preferences process)

通达OA 首页门户工作台

Build a private cloud disk cloudrev
![[shutter] bottom navigation bar page frame (bottomnavigationbar bottom navigation bar | pageview sliding page | bottom navigation and sliding page associated operation)](/img/6e/67bc187a89fb9125856c78c89f7bfb.gif)
[shutter] bottom navigation bar page frame (bottomnavigationbar bottom navigation bar | pageview sliding page | bottom navigation and sliding page associated operation)

Linear rectification function relu and its variants in deep learning activation function
![[translation] modern application load balancing with centralized control plane](/img/b0/22e9bf098d580b2af67255ddcdc0d5.jpg)
[translation] modern application load balancing with centralized control plane

Basic operation of binary tree (C language version)

Tongda OA V12 process center
随机推荐
Pytorch convolution network regularization dropblock
人脸识别6- face_recognition_py-基于OpenCV使用Haar级联与dlib库进行人脸检测及实时跟踪
Build a private cloud disk cloudrev
GBase 8c 创建用户/角色 示例二
GBase 8c 函数/存储过程参数(二)
awk从入门到入土(1)awk初次会面
【 tutoriel】 Chrome ferme les cors et les messages de la politique inter - domaines et apporte des cookies à travers les domaines
GBase 8c系统表-pg_constraint
The data in servlet is transferred to JSP page, and the problem cannot be displayed using El expression ${}
Gbase 8C system table PG_ class
GBase 8c 触发器(一)
What does "where 1=1" mean
[Flutter] dart: class;abstract class;factory;类、抽象类、工厂构造函数
Gbase 8C system table PG_ database
My creation anniversary
二维格式数组格式索引下标连续问题导致 返回json 格式问题
random shuffle注意
[shutter] bottom navigation bar page frame (bottomnavigationbar bottom navigation bar | pageview sliding page | bottom navigation and sliding page associated operation)
MATLAB小技巧(24)RBF,GRNN,PNN-神经网络
Word word word