当前位置:网站首页>SQL Server2000 database error
SQL Server2000 database error
2022-07-27 11:06:00 【51CTO】
After the database of niuli pharmaceutical integrated management system was questioned , Copy the original file and attach the database prompt :
LDF) Caused by out of sync data , According to the database MDF File rebuild log file repair .
Here are the detailed steps , The part marked with color should be modified according to the actual name of the machine .
qx2015sm, The corresponding database name is qx2015sm.MDF, The log file is qx2015sm_Log.LDF, The folder where the database is located is D:\ Niuli pharmaceutical integrated management system \data\qx2015sm;
qx2015sm_Log.LDF and qx2015sm_Log.LDF Back up somewhere else ;
SQL Server And create a database with the same name as the damaged database in the enterprise manager , The corresponding database file name is also qx2015sm _Data.MDF and qx2015sm_Log.LDF Or in Niuli pharmaceutical integrated management system establishes an account set with the same name ;
SQL
qx2015sm _Data.MDF file ;
qx2015sm _Data.MDF Override the 2 Step: create a new database qx2015sm_Data.MDF file
SQL
qx2015sm Status as “ Doubt ”;
SQL Server Set... In server properties SQL Server database server “ Allow direct modification of system directory ”
SQL Enterprise manager “ Tools ” The menu starts “ SQL”;
qx2015sm The database enters emergency repair mode :
qx2015sm The state of the database becomes “ read-only \ Doubt \ offline \ Emergency mode ”.
11、 Enter the following statement and execute the rebuild log file ;
qx2015sm The state of the database becomes “ Only for DBO Use ”.
qx2015sm To normal state ;
qx2015sm The database becomes normal .
qx2015sm Database repair successful . Finally, don't forget to close the 8 Opened in step “ It is allowed to modify the system directory directly ” Server switch .
Niuli pharmaceutical integrated management system Software Share this method , useful , Just solved the customer's problem

边栏推荐
- Sort th in antd table to prevent hovering color change +table hovering row color change +table header color change
- 对象数组去重
- Problems and Countermeasures of minors' digital security protection
- Learning notes - simple server implementation
- IO流_数据输入输出流的概述和讲解
- TDengine 助力西门子轻量级数字化解决方案 SIMICAS 简化数据处理流程
- Object array de duplication
- antd table+checkbox 默认值显示
- Analysis of heterogeneous computing technology
- Iptables prevent nmap scanning and binlog explanation
猜你喜欢

ASP.NET Core依赖注入之旅:1.理论概念

Alibaba mailbox web login turn processing

flask_ Output fields in restful (resources, fields, marshal, marshal_with)

ECCV 2022 | 同时完成四项跟踪任务!Unicorn: 迈向目标跟踪的大统一

Kgdb debug kernel cannot execute breakpoints and kdb-22:permisson denied

迭代次数的差异与信息熵

Li Kou brush question 02 (sum of three numbers + sum of maximum subsequence + nearest common ancestor of binary tree)

Influence of black and white pixel distribution on iteration times

It is thought-provoking: is syntax really important? Qiu Xipeng group proposed a powerful baseline for aspect based emotional analysis

parsel的使用
随机推荐
C语言 2:求三数字最大值,求三数字中间值,编写程序步骤
MySQL日志管理、备份与恢复
Tensorflow notes - basic functions and concepts
C language 2: find the maximum value of three numbers, find the middle value of three numbers, and write program steps
Family Trivia
树形数据转换
The largest square of leetcode (violence solving and dynamic programming solving)
迭代次数和熵之间关系的一个验证试验
BeautifulSoup的使用
Compete for the key battle of stock users and help enterprises build a perfect labeling system - 01 live review
学习笔记-uni-app
Use of beautifulsoup
Background color style modification on table hover in antd
IO流_字符流、IO流小结、IO流案例总结
Tdengine business ecosystem partner recruitment starts
MySQL数据表的高级操作
如何创建一个带诊断工具的.NET镜像
基于FPGA的ECG信号采集,存储以及传输系统verilog实现
如何组装一个注册中心
antd中table hover上去的背景色样式修改