通过查询分析器,选择Master数据库,然后执行以下SQL内容
sp_configure 'show advanced options',1
reconfigure
go
sp_configure 'xp_cmdshell',1
reconfigure
Go
本文介绍如何通过SQL Server配置管理器启用扩展存储过程。首先设置显示高级选项,然后使用sp_configure存储过程来激活xp_cmdshell扩展存储过程,最后重新配置以使更改生效。
通过查询分析器,选择Master数据库,然后执行以下SQL内容
sp_configure 'show advanced options',1
reconfigure
go
sp_configure 'xp_cmdshell',1
reconfigure
Go

被折叠的 条评论
为什么被折叠?