gpt4 book ai didi

sql - Windows Azure SQL 数据库中用户定义的 CLR 数据类型

转载 作者:行者123 更新时间:2023-12-02 23:21:58 25 4
gpt4 key购买 nike

我在项目中创建了用户定义的数据类型。现在我要在 Windwos Azure 上部署我的项目。

我在我的 sql server 2008 数据库中定义了用户定义的 CLR 数据类型。据我了解的有关用户定义的 CLR 数据类型的内容,Windows Azure SQL 数据库不支持这些数据类型。

迁移到 Windows Azure SQL 数据库时,对于具有用户定义的 CLR 数据类型的数据库是否有任何替代方案?

最佳答案

Windows Azure 数据库不支持用户定义的 CLR 数据类型。相关文档:

Windows Azure SQL Database does not support user-defined common language runtime (CLR) data types.

来源:Data Types (Windows Azure SQL Database) .

The following features that were new to SQL Server 2008 are not supported by Windows Azure SQL Database: (...) Extension of spatial types and methods through Common Language Runtime (CLR) The following features that were new to SQL Server 2005 are not supported by Windows Azure SQL Database: (...) Common Language Runtime (CLR) and CLR User-Defined Types

来源:SQL Server Feature Limitations (Windows Azure SQL Database) .

替代方案:

1) 将应用程序更改为仅使用 Windows Azure SQL 数据库支持的数据类型。缺点:需要更改代码和数据库。优点:托管、高度可用的服务。

2) 使用本地或第三方 SQL Server。缺点:您必须自己托管 SQL Server 或付费请人托管;延迟可能是一个问题;可用性和管理是您关心的问题。优点:完全兼容 SQL Server。

3) 主机SQL Server in Windows Azure Virtual Machines使用 Microsoft 发布的 VM 镜像。缺点:管理是你关心的事情;高可用性需要additional configuration 。优点:完全兼容 SQL Server;低延迟;高可用性的基础设施。

关于sql - Windows Azure SQL 数据库中用户定义的 CLR 数据类型,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17042671/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com