?
Solved

Synchronization between 2 database in different server in sql

Posted on 2013-06-10
4
Medium Priority
?
184 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 71

Expert Comment

by:Éric Moreau
ID: 39234260
0
 
LVL 27

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 1500 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

In this article we will learn how to fix  “Cannot install SQL Server 2014 Service Pack 2: Unable to install windows installer msi file” error ?
In this article, we will show how to detach and attach a database and then show how to repair a corrupt database and attach it, If it has some errors. We will show how to detach and attach using SSMS or using T-SQL sentences.
Via a live example, show how to set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.
Via a live example, show how to setup several different housekeeping processes for a SQL Server.

601 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