我对 windows azure
非常陌生,不知何故,我将我的 web 应用
迁移到 azure
,所以现在我能够在 azure 模拟器中运行它,无需在 azure
上创建任何试用帐户,
但仍然是从现有数据库
访问数据,我也想在sql azure模拟器中测试数据库。
因此我用谷歌搜索了很多,但没有找到任何令人满意的解决方案/方式!
谁能帮我解决这个问题...?
谢谢
最佳答案
您可以使用SQL Azure Migration Wizard检查本地数据库与 Windows Azure SQL 数据库的兼容性,而无需实际的 Azure SQL 数据库。
不过,在大多数情况下,它与 SQL Server 2012 兼容,但有一些异常(exception)
SQL Server 2008 R2 Features Not Supported by SQL Database The following features that were new to SQL Server 2008 R2 are not supported by Windows Azure SQL Database: SQL Server Utility
SQL Server PowerShell Provider. PowerShell scripts can be run on an on-premise computer, however, and connect to Windows Azure SQL Database using supported objects (such as System Management Objects or Data-tier Applications Framework).
Master Data Services
SQL Server 2008 Features Not Supported by SQL Database The following features that were new to SQL Server 2008 are not supported by Windows Azure SQL Database: Change Data Capture
Data Auditing
Data Compression
Extended Events
Extension of spatial types and methods through Common Language Runtime (CLR)
External Key Management / Extensible Key Management
FILESTREAM Data
Integrated Full-Text Search
Large User-Defined Aggregates (UDAs)
Large User-Defined Types (UDTs)
Performance Data Collection (Data Collector)
Policy-Based Management
Resource Governor
SQL Server Replication
Transparent Data Encryption
SQL Server 2005 Features Not Supported by SQL Database 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
Database Mirroring
Service Broker
Table Partitioning
Typed XML and XML indexing is not supported. The XML data type is supported by Windows Azure SQL Database.
Other SQL Server Features Not Supported by SQL Database The following features from earlier versions of SQL Server are not supported by Windows Azure SQL Database: Backup and Restore
Replication
Extended Stored Procedures
SQL Server Agent/Jobs
( Source )
要记住的另一件事是,您必须针对 Azure SQL 进行更加防御性的编码,因为偶尔出现故障的可能性更大,因此您需要通过重试操作进行异常处理。
关于azure - 在 Windows Azure 中测试应用程序,无需创建试用帐户,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17675326/