I have 2 servers. I need to copy some columns from 4 different tables from server 1 into the corresponding (empty) tables in server 2.
So basically, it's about replicating data from one table to another. How is this done best (and easiest)? Also, how do I make sure that the copied/replicated data is updated at the same frequency as the source (which runs completely fine and automatically)?
I want to avoid using Linked Server.
How is this done best (and easiest)?
For a one time replication consider a SQL Server Import and Export Wizard . This approach can also be scheduled by saving a final package and schedule it by SQL Agent
For a continuous, low latency data syncronization - SQL Server Transactional Replication .
Further read: Tutorial: Configure replication between two fully connected servers (transactional) Worth to mention, that transactional replication is not the easiest topic, however, it fits quite good to a requirement.
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.