我想執行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