您好, 欢迎来到 !    登录 | 注册 | | 设为首页 | 收藏本站

如何在 SQLServer 中启用 xp_cmdshell 等

bubuko 2022/1/25 19:38:08 sqlserver 字数 698 阅读 768 来源 http://www.bubuko.com/infolist-5-1.html

如何在 SQLServer 中启用 xp_cmdshell 等 EXEC sp_configure 'show advanced options', 1; RECONFIGURE; EXEC sp_configure 'xp_cmdshell', 1; RECONFIGURE; --以下能正常执行说 ...

如何在 SQLServer 中启用 xp_cmdshell 等


EXEC sp_configure ‘show advanced options‘, 1;
RECONFIGURE;

EXEC sp_configure ‘xp_cmdshell‘, 1;
RECONFIGURE;
--以下能正常执行说明 xp_cmdshell 启用成功
exec xp_cmdshell ‘dir c:‘

EXEC sp_configure ‘Ole Automation Procedures‘, 1;
RECONFIGURE;

EXEC sp_configure ‘Clr Enabled‘, 1;
RECONFIGURE;

如何在 SQLServer 中启用 xp_cmdshell 等

原文:https://www.cnblogs.com/CoderMonkie/p/13202944.html


如果您也喜欢它,动动您的小指点个赞吧

除非注明,文章均由 laddyq.com 整理发布,欢迎转载。

转载请注明:
链接:http://laddyq.com
来源:laddyq.com
著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。


联系我
置顶