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

边栏推荐
- How to create a.Net image with diagnostic tools
- Analysis of new communication security risks brought by quantum computer and Countermeasures
- The permission problem of Oracle operating openldap
- A measurement method of 5g air interface one-way delay and its reliability
- Tdengine helps Siemens' lightweight digital solution simicas simplify data processing process
- Delete in MySQL: the difference between delete, drop and truncate
- PyQt5快速开发与实战 4.2 QWidget
- Project team summer vacation summary 01
- It is thought-provoking: is syntax really important? Qiu Xipeng group proposed a powerful baseline for aspect based emotional analysis
- Openatom openharmony sub forum, see you today at 14:00! Wonderful release of memorabilia attached
猜你喜欢

Gamer questions

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

Sort th in antd table to prevent hovering color change +table hovering row color change +table header color change

最短移动距离和形态复合体的熵

Solved syntaxerror: (Unicode error) 'Unicode scape' codec can't decode bytes in position 2-3: truncated

Wilderness search --- search iterations

Use kaggle to run Li Hongyi's machine learning homework

A few simple steps to realize the sharing network for industrial raspberry pie

Awesome! VMware esxi installation record, with download

Customized modification based on jira7.9.2
随机推荐
No Identifier specified for entity的解决办法
The permission problem of Oracle operating openldap
Play with the cluster configuration center and learn about the Taier console
Openldap custom schema
A few simple steps to realize the sharing network for industrial raspberry pie
Delete in MySQL: the difference between delete, drop and truncate
计算重叠积分的第二种方法
开源项目丨Taier1.2版本发布,新增工作流、租户绑定简化等多项功能
Webrtc realizes simple audio and video call function
搭建 Samba 服务
Document intelligent multimodal pre training model layoutlmv3: both versatility and superiority
MySQL 索引、事务与存储引擎
Apache22 and opencms9.5 integrated configuration
对象数组去重
Ten year structure five year life-07 young and vigorous transformation
Learning notes uni app
学习笔记-微信支付
Codeforces Round #807 (Div 2.) AB
Regular form form judgment
十年架构五年生活-07 年轻气盛的蜕变