Click here to Skip to main content
15,892,298 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
HI All,

I want to synchronize data between two tables in different databases held on different servers. The two tables are similar but not all columns are the same.

I want to synchronize between those two tables, can any one give me an idea on how to implement data synchronization?

Can this be done by SSIS?

Waiting for any suggestion or reply....
Posted
Updated 20-Oct-11 23:35pm
v2

1 solution

Have a look into SQL Server Replication[^]

MSDN Article - Data Replication[^]

If you have full access to the SQL machines, replication is exactly what you want :)

If you cannot use replication then you could certainly achieve this using SSIS. You could write a simple package to retrieve all information from the 'Source' server and then update the information on the 'Target' server

Depending on how much information we are talking about, there may be constraints around this. For example, if you have many millions of rows, you'd only want to update existing rows with changes and insert any new rows.

If you've only got thousands, I'd probably just clear down the Target server and repopulate from Source. Again though, it depends on your constraints, data availability requirements etc
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900