sp_configure 未在 Azure SQL 数据库中找到?

sp_configure is not found in Azure SQL Database?

我需要 sp_configure 用于 MS SQL 中的 运行ning R 脚本。但每当我尝试 运行 任何类似 'EXECUTE sp_configure' 或 'exec sp_execute_external_script' 的东西时,它说“找不到存储过程 'sp_configure'。”和“'sp_execute_external_script' 失败,因为它不受此版本的支持 SQL 服务器实例 'A5DC0B2838AC'。有关不同 SQL 服务器版本的功能支持的更多详细信息,请参阅联机书籍。'

我什至尝试创建系统存储过程 sp_config 但在过程的这一行出现错误“EXEC %%ServerConfiguration( ConfigID = @confignum ).SetValue( Value = @ configvalue )”,错误是 Incorrect syntax near '%'

sp_configure 选项和重新配置在 Azure SQL 数据库上不可用,如 here 所述。使用 ALTER DATABASE SCOPED CONFIGURATION 可以使用一些选项。

对于 运行 R 脚本,让我向您推荐 Azure Machine Learning 或在 Azure 上创建一个 SQL 服务器虚拟机。

您现在可以 运行 Azure 上的 R 脚本 SQL 数据库机器学习 here