SQL sync in VB.NET
I need to write a program that will synchronize two sql tables. Having no luck with php/phpMyAdmin, I've turned to VB.NET...but I'm still not having any luck.
I've found various examples on the internet but none of them compile. It has to compare each record, and only update the fields that have changed, instead of just overwriting the older one. One table will be local, the other is on a server.
It seems no one has written this type of program for free, all I can find are $200+ synchronizer programs.
I've already wasted about 2 days trying to find answers :mad:
Any help would be greatly appreciated.
~YC
[673 byte] By [
YodaCows] at [2007-11-11 8:01:39]

# 1 Re: SQL sync in VB.NET
Are you using SQL Server? If so, it has those features built in. Just use them instead of building your own.
# 3 Re: SQL sync in VB.NET
You didn't specify what DBMS you are using. MySQL? SQL Server? ...
If you are using SQL Server, you might want to look at merge replication - see BOL for more info.
Have you considered what happens if the same record is updated on the local computer and the server?