当前位置:首页 > 技术心得 > 正文内容

SQL Server数据库脱机时间太长(脱机联机)

xjtudll2年前 (2024-07-31)技术心得6710

解决办法:

强制脱机语句:

ALTER DATABASE <dbname> SET OFFLINE WITH ROLLBACK IMMEDIATE

联机语句

ALTER DATABASE <dbname> SET ONLINE



扫描二维码推送至手机访问。

版权声明:本文由鸟的天空发布,如需转载请注明出处。

本文链接:http://xjtudll.cn/Exp/680/

标签: SQL
分享给朋友:

“SQL Server数据库脱机时间太长(脱机联机)” 的相关文章

Xcode Warning:No rule to process file xxx 解决

Xcode Warning:No rule to process file xxx 解决

在编译程序的时候,Xcode给出了警告:warning: no rule to process file '$(PROJECT_DIR)/xxx.h' of type sourcecode.c.h for architecture armv7。如图所示: 从warning中我们可以看出是某个.h...

Xcode:如何在plist中换行

参考资料:http://91r.net/ask/2035567.html 问题: 如何在plist中换行,尝试在末尾加入\n发现无效 解决办法: 1、自编代码将"\n"替换为"\\n" NSString *newString = [oldString stri...

Android Studio xml编译error: Apostrophe not preceded by \

Android Studio xml编译error: Apostrophe not preceded by \

问题: Resource Path Location Type error: Apostrophe not preceded by \ (in Search' Titles) strings.xml 原因: 在string.xml中使用了转义字符 解决办法: 在编译出...

“数据类型 varchar 和 bit 在 add 运算符中不兼容”解决方法

      在SQL 2005中出现“数据类型 varchar 和 bit 在 add 运算符中不兼容”只需用convert()函数       如要把一个bit类型的变量@n...

ZBlog 1.8 ASP转PHP

ZBlog 1.8 ASP转PHP

ZBlog 1.8 ASP转PHP版本过程第一步:将ZBlog升级到2.x版本,因为只有2.x才支持【ZBlog PHP转换工具】需要注意的是:官方下载最新的ASP版本里面没有zb_update18to20这个文件夹,需要从GitHub(https://github.com/zblogcn/zblo...

PowerPCB5.01安装

PowerPCB5.01安装

软件下载地址:http://www.mcu123.com/news/Soft/embsof/pcb/200609/104.html我目前就是用的这个,暂时没发现什么问题。1、安装时选择“Node-locked with FLEXid Key(teal)”  ...

发表评论

访客

◎欢迎参与讨论,请在这里发表您的看法和观点。