/*EXEC sp_configure ‘allow updates’, 0RECONFIGURE*/-- 启用:exec sp_configure 'show advanced options',1reconfigureexec sp_configure 'xp_cmdshell',1reconfigure --关闭:exec sp_configure 'xp_cmdshell',0reconfigureexec sp_configure 'show advanced options',0reconfigure select * from sysconfigures where comment like '%show advanced options%' or comment like '%shell%'