Solved

Synchronization between 2 database in different server in sql

Posted on 2013-06-10
4
171 Views
Last Modified: 2016-02-11
I want to make a synchronization between two table of same structure.The 2 databases are
in different server.
   Is it possible for 2 way synchronization.?
0
Comment
Question by:helpme2013
4 Comments
 
LVL 4

Expert Comment

by:BAKADY
ID: 39234188
0
 
LVL 70

Expert Comment

by:Éric Moreau
ID: 39234260
0
 
LVL 26

Expert Comment

by:Zberteoc
ID: 39234722
You can use merge replication between the 2 databases with that table as an article:

http://vimeo.com/2629246
0
 
LVL 21

Accepted Solution

by:
Alpesh Patel earned 500 total points
ID: 39237403
for single table you can create SSIS package and in that use dataflow task.


In that, you can use Source Table and Destination TAble
->
Merge both on some key column.
-> Check those key columns for value.

If Key column value is null for Destination table then insert row to destination.
else update destination table.

To do that you can use the split task.
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
I have a large data set and a SSIS package. How can I load this file in multi threading?
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question