简体   繁体   English

将数据从一个SQL Server数据库迁移到另一个SQL Server数据库

[英]Migrating Data from one to another sql server database

I would like to migrate few tables from one database server to other database server (both are SQL server). 我想将几张表从一个数据库服务器迁移到另一台数据库服务器(均为SQL Server)。 How can I do this? 我怎样才能做到这一点? I have heard about SSIS package but never done this. 我听说过SSIS包,但从未这样做。 I would like to understand this process in detail. 我想详细了解这个过程。

Source database is refreshed daily. 源数据库每天刷新。 what can I do to refresh my destination database to reflect the source database all the time. 我该怎么做才能刷新目标数据库以始终反映源数据库。

Please help me, I would like to understand this process from beginning till end because I have never done this before. 请帮助我,我想从头到尾理解这个过程,因为我以前从未做过。

Thanks, 谢谢,

Here are the high level steps. 这是高级步骤。

Create an SSIS project. 创建一个SSIS项目。 Use a data flow task for each table. 为每个表使用数据流任务。 Depending on your requirements you might be able to just clear the tables and just reload them. 根据您的要求,您也许可以清除表并重新加载它们。

Create a new sql agent job on the server to schedule the job. 在服务器上创建一个新的sql代理作业以计划该作业。 Make sure you schedule after the source database is completely loaded. 确保在源数据库完全加载之后进行计划。

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

相关问题 SQL Server将数据从一个数据库表复制到另一数据库表 - Sql Server copy data from one database table to another 将SQL Server数据从一个数据库导出到另一个数据库 - Export SQL Server data from one database to another SQL 服务器作业,用于将数据从数据库复制到另一个数据库 - SQL Server job for copying data from a database to another one 将特定表数据从一个数据库复制到SQL Server中的另一个数据库 - Copy specific table data from one database to another in SQL Server 连续如何将SQL Server 2012中的数据从一个服务器数据库插入另一个服务器数据库 - Continuously How to insert data in SQL Server 2012 from one server database to another server database 从一种数据库结构迁移到另一种 - Migrating from one database structure to another 每天将数据从一个 SQL 服务器数据库复制到另一个 SQL 数据库 - Copying Data from one SQL Server Database to Another SQL Database on a Daily basis 在SQL Server 2008 R2上将多个链接的服务器从一台服务器迁移到另一台服务器 - migrating multiple linked server from one server to another on sql server 2008 R2 将SQL Server数据库从AWS迁移到Azure - Migrating SQL Server database from AWS to Azure SQL Server:按特定日期将数据从一个数据库插入到另一个数据库结构 - SQL Server: inserting data from one database to another database structure by specific date
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM