Solved

Synchronization between 2 database in different server in sql

Posted on 2013-06-10
4
166 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 69

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

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Calculate values in an array 18 35
Permissions on Database 11 37
Azure SQL Insert not working suddenly 11 22
Sql Count with Select Distinct 4 27
Lessons learned during ten years of interviewing for SQL Server Integration Services (SSIS) and other Extract-Transform-Load (ETL) contract roles and two years of staff manager interviewing contractors.
My client has a dictionary table. They're defining a list of standard naming convention. Now, they are requiring my team to provide us a mechanism how to match new incoming data with existing data in their system.
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
Via a live example, show how to shrink a transaction log file down to a reasonable size.

895 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now