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

    --如果"allow updates"选项被设置为"1",那么你在使用语句:

    EXEC sp_configure 'show advanced options', 1 ;
    GO
    RECONFIGURE ;
      --没有加上WITH OVERRIDE,就会出现提示的错误
    GO

    --所以,如果你要解决问题,有两个方法:

    sp_configure 'allow updates', 0 ;
    --设置为0
     GO
    RECONFIGURE WITH OVERRIDE ;
    GO

    --或者在你运行下面个代码的时候:

    EXEC sp_configure 'show advanced options', 1 ;
    GO
    RECONFIGURE WITH OVERRIDE ;
      --加上WITH OVERRIDE
    GO

     
    --你可以运行下面代码重现错误:
     
    --Code Snippet
    sp_configure 'allow updates', 1 ;
    GO
    RECONFIGURE WITH OVERRIDE ;
    GO

    EXEC sp_configure 'show advanced options', 1 ;
    GO
    RECONFIGURE ;
    GO

  • 相关阅读:
    特殊集合
    推箱子
    集合
    数组

    循环语句 练习题
    穷举与迭代
    循环语句
    练习题
    switch case
  • 原文地址:https://www.cnblogs.com/qanholas/p/2417020.html
Copyright © 2011-2022 走看看