ITPub博客

首页 > 数据库 > 数据库开发技术 > 原来MSSQL也有shutdown的状态

原来MSSQL也有shutdown的状态

原创 数据库开发技术 作者:oo0yuki0oo 时间:2010-06-28 15:09:11 0 删除 编辑
SQL Express by default has 'AUTO_CLOSE' database option set to true. This means when your database has no users connected, the database status will show 'Shutdown Normal'. When a user connects to the database, it is started up and status is changed to 'Normal'. To leave the database on and available all the time, set the 'AUTO_CLOSE' option to FALSE. It can be done by running this script against each user database upon creation or after the fact: Code Block ALTER DATABASE SET AUTO_CLOSE OFF[@more@]

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/8337095/viewspace-1034721/ ,如需转载,请注明出处,否则将追究法律责任。

上一篇: 重建wmsys
请登录后发表评论 登录
全部评论

注册时间:2009-04-22

  • 博文量
    62
  • 访问量
    82173