What is the best approach to call web service from azure sql?

和自甴很熟 提交于 2019-12-24 18:19:22

问题


What is the best approach to call web service from azure sql(from stored procedure)? I understand that azure sql doesn't support CLR assemblies(SQLCLR).


回答1:


No, you cannot access external resources (network, file system, registry, etc) from Azure SQL Database. Neither SQLCLR nor OLE Automation stored procedures (i.e. sp_OA*) are available on that platform. Even during the year-and-a-half that Azure SQL Database supported SQLCLR (late 2014 through mid-April 2016), it was SAFE Assemblies only, and those can not do external operations.

Your only option is to handle this outside of Azure SQL Database, or use an Azure VM with SQL Server loaded on it (Express Edition is free, so you would only pay for the Azure VM itself, which might be a cost-effective option).



来源:https://stackoverflow.com/questions/46708820/what-is-the-best-approach-to-call-web-service-from-azure-sql

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!