T-SQL打开一项外围配置

来源:互联网 发布:大数据服务平台 编辑:程序博客网 时间:2024/06/06 21:05
//查看外围配置情况SELECT * FROM sys.configurations ORDER BY name ;GO//show advanced options 选项用来显示 sp_configure 系统存储过程高级选项。当 show advanced //options 设置为 1 时,可以使用 sp_configure 列出高级选项。默认值为 0。sp_configure 'show advanced options', 1;GO//重启服务reconfigure;GO//更改的配置选项的当前已配置值sp_configure 'xp_cmdshell', 1;GO//重启服务reconfigure;GO

 
原创粉丝点击