sql server 2005/2008中启用xp_cmdshell(默认是未开启的)
4步
-- 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
4步
-- 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
本文详细介绍了如何在SQL Server 2005/2008中启用高级特性xp_cmdshell的过程,包括四个关键步骤:展示高级选项、更新配置、启用功能和再次更新配置。

1712

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



