【问题标题】:sp_configure is not found in Azure SQL Database?在 Azure SQL 数据库中找不到 sp_configure?
【发布时间】:2018-08-20 03:41:40
【问题描述】:

我需要 sp_configure 在 MS SQL 中运行 R 脚本。但每当我尝试运行诸如“EXECUTE sp_configure”或“exec sp_execute_external_script”之类的东西时,它都会显示“找不到存储过程“sp_configure”。 strong>' 和 ''sp_execute_external_script' 失败,因为此 SQL Server 实例 'A5DC0B2838AC' 的版本不支持它。有关不同 SQL Server 版本的功能支持的更多详细信息,请参阅在线书籍。'

我什至尝试创建系统存储过程 sp_config,但在过程“EXEC %%ServerConfiguration( ConfigID = @confignum ).SetValue( Value = @configvalue )”的这一行出现错误,并且错误是'%'附近的语法不正确

【问题讨论】:

    标签: r sql-server azure-sql-database server-configuration


    【解决方案1】:

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

    要运行 R 脚本,我建议您 Azure Machine Learning 或在 Azure 上创建 SQL Server VM。

    您现在可以在 Azure SQL 数据库机器学习上运行 R 脚本,如 here 所述。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2019-04-23
      • 1970-01-01
      • 1970-01-01
      • 2018-03-20
      • 1970-01-01
      • 1970-01-01
      • 2022-01-24
      • 2016-10-02
      相关资源
      最近更新 更多