0
我无法在SQL Server Express中运行cmdshell @command命令。这与SQL Server版本有关吗?我是否应该像SQL Server标准版一样运行此命令?无法在SQL Server Express中运行cmdshell @命令
我无法在SQL Server Express中运行cmdshell @command命令。这与SQL Server版本有关吗?我是否应该像SQL Server标准版一样运行此命令?无法在SQL Server Express中运行cmdshell @命令
这是它现在是固定的权限问题!谢谢大家的帮助!
启用它,描述in the Microsoft article:
-- 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 Server Express具有'xp_cmdshell'功能。如果它不起作用,你必须更具体地说明它不能正常工作。你有错误吗?如果是这样,它说什么? –