SQL Server如何启用xp_cmdshell组件
2、通过SQL语句开启,通过查询分析器,选择Master数据库,然后执行以下SQL内容(任何版本的SQL SERVER中都可以使用)
sp_configure 'show advanced options',1
reconfigure
go
sp_configure 'xp_cmdshell',1
reconfigure
go
2、通过SQL语句开启,通过查询分析器,选择Master数据库,然后执行以下SQL内容(任何版本的SQL SERVER中都可以使用)
sp_configure 'show advanced options',1
reconfigure
go
sp_configure 'xp_cmdshell',1
reconfigure
go
本文标题:SQL Server启用xp_cmdshell组件
本文链接:https://www.haomeiwen.com/subject/growuhtx.html
网友评论