zoukankan      html  css  js  c++  java
  • 为什么“不支持对系统目录进行即席更新”

    在sql server2005中,执行如下命令的问题

    exec sp_configure 'show advanced options', 1
    RECONFIGURE;
    exec sp_configure 'Ole Automation Procedures', 1
    RECONFIGURE;

    在执行中显示错误

    不支持对系统目录进行即席更新。

    修改为

    exec sp_configure 'show advanced options', 1
    RECONFIGURE WITH OVERRIDE;
    exec sp_configure 'Ole Automation Procedures', 1
    RECONFIGURE WITH OVERRIDE;

    可以正常运行,不知道是什么原因导致的。

    在网上找到一段信息

    RECONFIGURE

        Specifies that if the configuration setting does not require a server stop and restart, the currently running value should be updated. RECONFIGURE also checks the new configuration values for either values that are not valid (for example, a sort order value that does not exist in syscharsets) or nonrecommended values. With those configuration options not requiring a server stop and restart, the currently running value and the currently configured values for the configuration option should be the same value after RECONFIGURE is specified.
       
       
    WITH OVERRIDE
           
        Disables the configuration value checking (for values that are not valid or for nonrecommended values) for the recoveryinterval advanced configuration options.

        Any configuration option can be reconfigured by using the WITH OVERRIDE option. In addition, RECONFIGURE WITH OVERRIDE forces the reconfiguration with the specified value. For example, the minservermemory configuration option could be configured with a value greater than the value specified in the maxservermemory configuration option. However, this is considered a fatal error. Therefore, specifying RECONFIGURE WITH OVERRIDE would not disable configuration value checking.

  • 相关阅读:
    JQ优化性能
    CSS3 Filter的十种特效
    立即执行函数: (function ( ){...})( ) 与 (function ( ){...}( )) 有什么区别?
    EasyUI DateBox
    Java8接口的默认方法
    MySQL -- insert ignore语句
    建数据库表经验总结
    IntelliJ IDEA 实用快捷键
    从 Java 代码到 CPU 指令
    使用ImmutableMap简化语句
  • 原文地址:https://www.cnblogs.com/hutou/p/2089018.html
Copyright © 2011-2022 走看看