启用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

最新文章

  1. JS倒计时执行操作
  2. bash/shell编程学习(1)
  3. C++ 表达式
  4. android开发两种退出程序方式(killProcess,System.exit)
  5. 算法分析-快速排序QUICK-SORT
  6. docker 导入下载模板
  7. ZOJ 1203 Swordfish 旗鱼 最小生成树,Kruskal算法
  8. JPA基本注解介绍
  9. 全面理解java异常机制
  10. LindAgile.Modules模块化的设计
  11. CSS——元素分类
  12. iTOP-iMX6UL开发板【全能版】-动态调频技术简介
  13. dubbo 调用服务超时
  14. 使用 python 操作 mongodb 常用的操作
  15. Oracle启动和停止
  16. VS设置DLL所在的调试目录
  17. ELK学习笔记之Elasticsearch启动常见错误
  18. ioncube 加密软件 linux 使用方法
  19. 【loj2586】【APIO2018】选圆圈
  20. How to Make Portable Class Libraries Work for You

热门文章

  1. Stylus-富有表现力的、动态的、健壮的CSS
  2. noip2017简要题解。
  3. Rails3:使用bundler管理gems
  4. Linux C编程学习
  5. osi7层模型及线程和进程
  6. v-if 和 v-show
  7. LeetCode--094--二叉树的中序遍历(python)
  8. Java面试之基础篇(2)
  9. iOS Core Image-----十行代码实现微信朋友圈模糊效果
  10. 状态管理工具对比vuex、redux、flux