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.

  • 相关阅读:
    剑指offer-二维数组中的查找
    TF-IDF(term frequency–inverse document frequency)
    Java实现中文字符串的排序功能
    当前课程
    【R】资源整理
    CentOS相关
    【转】Setting up SDL Extension Libraries on MinGW
    【转】Setting up SDL Extension Libraries on Visual Studio 2010 Ultimate
    【转】Setting up SDL Extension Libraries on Code::Blocks 12.11
    【转】Setting up SDL Extension Libraries on Visual Studio 2019 Community
  • 原文地址:https://www.cnblogs.com/hutou/p/2089018.html
Copyright © 2011-2022 走看看