简体   繁体   English

将表数据从Azure SQL数据库复制到另一个Azure SQL数据库?

[英]Copy table data from Azure SQL Database to another Azure SQL Database?

I have to copy table data from one Azure SQL Database to another Azure SQL Database which are under same Azure server.我必须将表数据从一个 Azure SQL 数据库复制到另一个 Azure SQL 数据库,它们位于同一台 Azure 服务器下。

Is there any way to do this using Azure data factory?有没有办法使用 Azure 数据工厂来做到这一点? Also, this needs to be scheduled as a daily feed.此外,这需要安排为每日提要。

Edit: How can we add more tables to the existing dataset?编辑:我们如何向现有数据集添加更多表? I have created this for 3 tables, now i want to add two more tables to this, how?我已经为 3 个表创建了这个,现在我想再添加两个表,如何?

Did you have a look at Copy data to and from SQL Server by using Azure Data Factory ?.您是否看过使用 Azure 数据工厂将数据复制到 SQL 服务器或从中复制数据?。

In Azure Data Factory, you can use the Copy activity to copy data among data stores located on-premises and in the cloud.在 Azure 数据工厂中,您可以使用复制活动在本地和云端的数据存储之间复制数据。 After you copy the data, you can use other activities to further transform and analyze it复制数据后,您可以使用其他活动进一步转换和分析它

You can have a look at the steps from here on how to configured a triggered pipeline.您可以从此处查看有关如何配置triggered pipeline.

One important thing to remember is that you'll have to define the data set (with or without schema) for all tables that require copy for any source-destination combination.要记住的一件重要事情是,您必须为所有需要复制任何源-目标组合的表定义数据集(有或没有模式)。

you can think of elastic queries(preview)-for cross database queries and elastic jobs (preview) for job scheduling.你可以想到弹性查询(预览版)——用于跨数据库查询和弹性作业(预览版)用于作业调度。

  1. Utilize Elastic query for bringing result from another database on the same server.利用弹性查询从同一服务器上的另一个数据库获取结果。 Read more on Elastic Query . 阅读有关 Elastic Query的更多信息。 The advantage is it is coming as free with Azure SQL.优点是它随 Azure SQL 免费提供。

Elastic database query (preview) for Azure SQL Database allows you to run T-SQL queries that span multiple databases using a single connection point. Azure 的弹性数据库查询(预览版) SQL 数据库允许您使用单个连接点运行跨越多个数据库的 T-SQL 查询。

  1. Schedule Elastic job(currently in preview) which can be used to schedule job in a Azure SQL database. Schedule Elastic 作业(目前处于预览阶段),可用于在 Azure SQL 数据库中安排作业。 Read more on Elastic jobs 阅读有关 Elastic 作业的更多信息

Elastic Database Jobs (preview) are Job Scheduling services that execute custom jobs on one or many Azure SQL Databases.弹性数据库作业(预览版)是在一个或多个数据库上执行自定义作业的作业计划服务 Azure SQL 数据库。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM