简体   繁体   中英

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.

Is there any way to do this using Azure data factory? 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?

Did you have a look at Copy data to and from SQL Server by using Azure Data Factory ?.

In Azure Data Factory, you can use the Copy activity to copy data among data stores located on-premises and in the cloud. 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.

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 . The advantage is it is coming as free with 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.

  1. Schedule Elastic job(currently in preview) which can be used to schedule job in a Azure SQL database. Read more on Elastic jobs

Elastic Database Jobs (preview) are Job Scheduling services that execute custom jobs on one or many Azure SQL Databases.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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