当前位置:网站首页>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

边栏推荐
- 熵与形态的非递进现象
- Codeforces Round #807 (Div 2.) AB
- The second method of calculating overlapping integral
- How to build a data index system is the most effective. From 0 to 1, we will take you a quick start - 02 live review
- IO流_字符流、IO流小结、IO流案例总结
- Overview of radar communication integrated waveform design
- How to build a data index system is the most effective. It will take you a quick start from 0 to 1
- Regular form form judgment
- Application scenarios, key technologies and network architecture of communication perception integration
- 开源项目丨Taier1.2版本发布,新增工作流、租户绑定简化等多项功能
猜你喜欢

Advanced operation of MySQL data table

kgdb调试内核无法执行断点及kdb-22:Permisson denied

YonBuilder赋能创新,用友第四届开发者大赛“金键盘奖”开启竞逐!

Edata base, a secondary development project based on spark packaging, is introduced

Shock simulation of engine mounting system transient modal dynamic analysis and response spectrum analysis

Influence of black and white pixel distribution on iteration times

Set up Samba service

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

Delete in MySQL: the difference between delete, drop and truncate

parsel的使用
随机推荐
Integrated design of communication perception based on CSI: problems, challenges and Prospects
基于FPGA的ECG信号采集,存储以及传输系统verilog实现
IO流_数据输入输出流的概述和讲解
推导STO双中心动能积分的详细展开式
OpenAtom OpenHarmony分论坛,今天14:00见!附大事记精彩发布
ASP. Net core dependency injection journey: 1. Theoretical concepts
It is thought-provoking: is syntax really important? Qiu Xipeng group proposed a powerful baseline for aspect based emotional analysis
img src为空或者src不存在,图片出现白色边框
图片中非0值的数量对分类的影响
开源项目丨Taier1.2版本发布,新增工作流、租户绑定简化等多项功能
No Identifier specified for entity的解决办法
MySQL log management, backup and recovery
Customized modification based on jira7.9.2
ASP.NET Core依赖注入之旅:1.理论概念
Learning notes - wechat payment
Li Kou brush question 02 (sum of three numbers + sum of maximum subsequence + nearest common ancestor of binary tree)
Want to speed up the vit model with one click? Try this open source tool!
最短移动距离和形态复合体的熵
Iptables prevent nmap scanning and binlog explanation
神经网络学习笔记