-- 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 Server2008 打开'xp_cmdshell'
最新推荐文章于 2025-03-29 21:49:17 发布
本文介绍如何在SQL Server中通过执行存储过程sp_configure来启用高级选项及特定功能,例如开启xp_cmdshell扩展存储过程,并提供了具体的步骤和命令。
3786

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



