Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Synchronization between 2 database in different server in sql

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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Why is this different from all of the other step by step guides?  Because I make a living as a DBA and not as a writer and I lived through this experience. Defining the name: When I talk to people they say different names on this subject stuff l…
A Stored Procedure in Microsoft SQL Server is a powerful feature that it can be used to execute the Data Manipulation Language (DML) or Data Definition Language (DDL). Depending on business requirements, a single Stored Procedure can return differe…
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…
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.

927 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