Ad Hoc Distributed Queries / xp_cmdshell 的启用与关闭
2024-09-04 22:10:02
启用Ad Hoc Distributed Queries:
exec sp_configure 'show advanced options',1
reconfigure
exec sp_configure 'Ad Hoc Distributed Queries',1
reconfigure
关闭Ad Hoc Distributed Queries:
exec sp_configure 'Ad Hoc Distributed Queries',0
reconfigure
exec sp_configure 'show advanced options',0
reconfigure
启用xp_cmdshell:
-- To allow advanced options to be changed.
EXEC sp_configure 'show advanced options', 1
GO
-- To update the currently configured value for advanced options.
RECONFIGURE
GO
-- To enable the feature.
EXEC sp_configure 'xp_cmdshell', 1
GO
-- To update the currently configured value for this feature.
RECONFIGURE
GO
最新文章
- JS倒计时执行操作
- bash/shell编程学习(1)
- C++ 表达式
- android开发两种退出程序方式(killProcess,System.exit)
- 算法分析-快速排序QUICK-SORT
- docker 导入下载模板
- ZOJ 1203 Swordfish 旗鱼 最小生成树,Kruskal算法
- JPA基本注解介绍
- 全面理解java异常机制
- LindAgile.Modules模块化的设计
- CSS——元素分类
- iTOP-iMX6UL开发板【全能版】-动态调频技术简介
- dubbo 调用服务超时
- 使用 python 操作 mongodb 常用的操作
- Oracle启动和停止
- VS设置DLL所在的调试目录
- ELK学习笔记之Elasticsearch启动常见错误
- ioncube 加密软件 linux 使用方法
- 【loj2586】【APIO2018】选圆圈
- How to Make Portable Class Libraries Work for You