select * from sysconfigures
select * from sysconfigures where config='1539'
--0 1539 maximum degree of parallelism 3
update sysconfigures set value='1' where config='1539'
--不允许对系统目录进行即席更新。

 

sp_configure
--allow updates 0 1 0 0
--show advanced options 0 1 1 1
--allow updates 0 1 1 1
EXEC sp_configure 'allow updates', '1'
--下面这句不需要执行,因为默认的是1
EXEC sp_configure 'show advanced option', '1'
--下面的这句要执行,否则它只有等到重启时才会生效
RECONFIGURE WITH OVERRIDE

EXEC sp_configure 'max degree of parallelism' ,'1'
RECONFIGURE WITH OVERRIDE

相关文章:

  • 2022-01-24
  • 2021-09-30
  • 2021-10-10
  • 2021-12-04
猜你喜欢
  • 2022-01-02
  • 2021-07-02
  • 2022-12-23
  • 2021-04-26
  • 2021-05-23
  • 2021-07-29
相关资源
相似解决方案