Does or does not SQL Azure support CLR assemblies?

后端 未结 4 1996
佛祖请我去吃肉
佛祖请我去吃肉 2021-01-04 00:14

We\'ve got a couple of on-premises dbs and we\'re seeing if we can migrate them to SQL Azure. Some of those dbs have a couple of user defined functions written in C# in an a

相关标签:
4条回答
  • 2021-01-04 00:31

    Using managed instance you can have almost all support benefits of an on premise including C# CLR. To access the instances you have to use SSMS Preview 6 of SQL Server Management Studio 18 or TSQL.

    0 讨论(0)
  • 2021-01-04 00:32

    You have 2 choices:

    1. Use Azure SQL managed instance (very expensive, more than $1000 per month)
    2. Create an Azure VM and install SQL Server on it (much cheaper, less then $20 per month)
    0 讨论(0)
  • 2021-01-04 00:35

    Azure SQL support now CLR using Azure SQL managed instance. https://docs.microsoft.com/en-us/azure/sql-database/sql-database-managed-instance-transact-sql-information#clr

    0 讨论(0)
  • 2021-01-04 00:49

    CLR Functions are not supported in Azure:

    Check here:

    Azure SQL Database Transact-SQL differences

    Under unsupported features it mentions ".NET Framework CLR integration with SQL Server"

    I believe there may be some confusion as to whether it does or doesn't support them as they used to in one version, then they removed support.

    Here is a link detailing the fact they were supported, but got pulled, apparently due to a security issue:

    Breaking News, Literally: SQL CLR Support Removed from Azure SQL DB

    0 讨论(0)
提交回复
热议问题