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

边栏推荐
- Openatom openharmony sub forum, see you today at 14:00! Wonderful release of memorabilia attached
- Li Hongyi_ Machine learning_ Assignment 4 (detailed explanation)_ HW4 Classify the speakers
- Edata base, a secondary development project based on spark packaging, is introduced
- Kgdb debug kernel cannot execute breakpoints and kdb-22:permisson denied
- 如何创建一个带诊断工具的.NET镜像
- Influence of black and white pixel distribution on iteration times
- 图片中非0值的数量对分类的影响
- MySQL 索引、事务与存储引擎
- 全校软硬件基础设施一站式监控 ,苏州大学以时序数据库替换 PostgreSQL
- The influence of the number of non-zero values in the picture on Classification
猜你喜欢

img src为空或者src不存在,图片出现白色边框

Pyqt5 rapid development and practice 4.2 QWidget

Iptables prevent nmap scanning and binlog explanation

One stop monitoring of the software and hardware infrastructure of the whole university, and Suzhou University replaces PostgreSQL with time series database

Recruit top talents! The "megeagle creator program" of Kuangshi technology was officially launched

涌现与形态的局部差异和整体差异

OpenAtom OpenHarmony分论坛,今天14:00见!附大事记精彩发布

Play with the cluster configuration center and learn about the Taier console

Codeforces Round #807 (Div 2.) AB

Tdengine helps Siemens' lightweight digital solution simicas simplify data processing process
随机推荐
Overview of user space lock on mobile platform
Problems and Countermeasures of minors' digital security protection
图片中非0值的数量对分类的影响
学习笔记-简易服务器实现
荒野觅踪---寻找迭代次数
Tdengine business ecosystem partner recruitment starts
Application scenarios, key technologies and network architecture of communication perception integration
TDengine 商业生态合作伙伴招募开启
Wilderness search --- search iterations
OpenAtom OpenHarmony分论坛,今天14:00见!附大事记精彩发布
Mysql死锁、悲观锁、乐观锁
kgdb调试内核无法执行断点及kdb-22:Permisson denied
Distributed block device replication: client
Background color style modification on table hover in antd
GEE中下载过程中出现 Error: Image.clipToBoundsAndScale, argument 'input'
IO流_字符流、IO流小结、IO流案例总结
【FPGA教程案例40】通信案例10——基于FPGA的简易OFDM系统verilog实现
ECCV 2022 | 同时完成四项跟踪任务!Unicorn: 迈向目标跟踪的大统一
How to build a data index system is the most effective. It will take you a quick start from 0 to 1
The largest square of leetcode (violence solving and dynamic programming solving)