Click here to Skip to main content
15,919,028 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi all,

i have same database with tow diffrent server in WAN environment, if any changes happnd one database sample_table,i want to sycn that sample_table data's to other database,

i am using except kyeword to find diffence between two tables,but its taking too long time to excute.also my table has huge data

this is my query

select * from server_1.db_name.sample_table
except
select * from server_2.db_name.sample_table
Posted
Comments
RelicV 16-May-13 7:53am    
Please use the Sync Framework v2.0 provided by Micorsoft for synching between 2 DB's of same schemas.

1 solution

You could replicate your database and your server will do this job for you.

SQL Server Replication
 
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