2017-09-05 7 views
0

SQL Server Expressでcmdshell @commandコマンドを実行できません。それはSQL Serverのバージョンと関係がありますか?このコマンドを実行するにはSQL Server Standard Editionのようにする必要がありますか? in the Microsoft articleが説明するようにSQL Server Expressでcmdshell @コマンドを実行できません

+0

いいえおよびいいえ。 SQL Server Expressには「xp_cmdshell」機能があります。動作していない場合は、動作していないことをより具体的に説明する必要があります。間違いはありますか?もしそうなら、それは何を言いますか? –

答えて

0

を今は固定されているアクセス許可の問題でした!助けてくれてありがとう!

1

は、それを有効にする:

-- 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 
関連する問題