2017-09-05 3 views
0

SQL Server Express에서 cmdshell @command 명령을 실행할 수 없습니다. SQL Server 버전과 관련이 있습니까? 이 명령을 실행하려면 SQL Server Standard Edition과 같아야합니까? in the Microsoft article을 설명SQL Server Express에서 cmdshell @command를 실행할 수 없습니다.

+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 
관련 문제