我想执行EXEC master..xp_cmdshell @bcpquery
启用“xp_cmdshell的” SQL服务器
但我收到以下错误:
SQL Server blocked access to procedure 'sys.xp_cmdshell' of component 'xp_cmdshell' because this component is turned off as part of the security configuration for this server. A system administrator can enable the use of 'xp_cmdshell' by using sp_configure. For more information about enabling 'xp_cmdshell', see "Surface Area Configuration" in SQL Server Books Online.
有什么办法来激活此功能,或执行启用该功能之前的东西吗?
如何解决?
工作真的很简单有效! – indofraiser 2015-11-09 10:38:51
确保您以管理员身份执行SQL Management Studio – 2016-06-08 06:27:06