Best Way to Synch 2 Tables?

Best Way to Synch 2 Tables?

am 08.11.2007 23:30:55 von Patrick A

All,

I have an Access DB. On a nightly basis, I want to look at an Other
DB (not Access, but SQL) and:

+ Add any new records from Other.Clients into Access.Clients
> Update 9 fields from Other.Clients into Access.Clients where changes have occured in Other.Clients.

Is this something I should use a "tool" (SQL Data Compare, SqlSync,
etc.) to do, or could I pull this off reliably every night just using
SQL from the query I could construct to do the job from inside my
Access DB?

And for question Deux, if I can just use the SQL I will write, what's
the best way to kick off the process at 3:00 am every morning?

Thanks,

Patrick

Re: Best Way to Synch 2 Tables?

am 09.11.2007 23:17:49 von Erland Sommarskog

Patrick A (parkins@stradley.com) writes:
> And for question Deux, if I can just use the SQL I will write, what's
> the best way to kick off the process at 3:00 am every morning?

A scheduled job in SQL Server Agent.


--
Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/prodtechnol/sql/2005/downlo ads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinfo/previousversions/books .mspx