失败 - 从SQL Server迁移到Azure DB [英] Failure - Migrating from SQL Server to Azure DB

查看:104
本文介绍了失败 - 从SQL Server迁移到Azure DB的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hi Team,



我们正在AWS的RDS上执行导出数据层应用程序 到本地磁盘创建一个BACPAC文件&它失败了。

我们知道Azure SQL数据库不允许跨数据库外部引用(外部视图,过程等),因此它会阻止外部引用。

We know Azure SQL Database does not allow cross-database external references (external views,procedures,etc) hence it blocks the external references.

Thing是的,我们最初只是将AWS的数据库导出到本地磁盘&不要天蓝色,所以请告诉我们为什么创建BACPAC文件失败。 

是否强制.bacpac文件符合Azure SQL DB的创建要求?

Thing is, we're initially just exporting AWS's DB to a local disk & not to azure, so please let us know why the creation of BACPAC file fails. 
is it a compulsion for a .bacpac file to comply with the Azure SQL DB's requirements for its creation?

我们收到了几个错误:

We're getting several errors like;

.................. ................................

在架构中找到一个或多个不受支持的元素用作数据包的一部分。

错误SQL71501:验证元素[dbo]时出错。[PSPRICINGATTRIBUTECURR]:查看:[dbo]。[PSPRICINGATTRIBUTECURR]包含对象的未解析引用。该对象不存在或
引用不明确,因为它可以引用以下任何对象:[dbo]。[BrandFamily]。[bf],[dbo]。[BrandFamily]。[IsAnchor]或[dbo]。[StoreCurrScenarioPrice]。[bf]。

.. .................................................

推荐答案

嗨Gaurav,

Hi Gaurav,

要导入数据库的副本,Azure SQL数据库需要.bacpac格式。如果要从AWS导入SQL数据库,请将数据库导出为.bak文件,然后在Azure VM上使用SQL Server或Azure SQL数据库托管实例将允许导入
a .bak文件。请参阅  在Azure中选择正确的SQL Server选项链接)查看可用的部署
类型。

To import a copy of a database Azure SQL Database requires the .bacpac format. If you wish to import the SQL Database from AWS, export the database as a .bak file and then using either SQL Server on Azure VMs or Azure SQL Database Managed Instance will allow a .bak file be imported. Please see Choose the right SQL Server option in Azure (Link) to see the available deployment types.

如果您有其他附加信息,请告知我们问题。

Please let us know if you have additional questions.


这篇关于失败 - 从SQL Server迁移到Azure DB的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆