dbTalk Databases Forums  

Best Way to Synch 2 Tables?

comp.databases.ms-sqlserver comp.databases.ms-sqlserver


Discuss Best Way to Synch 2 Tables? in the comp.databases.ms-sqlserver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Patrick A
 
Posts: n/a

Default Best Way to Synch 2 Tables? - 11-08-2007 , 04:30 PM






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
Quote:
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



Reply With Quote
  #2  
Old   
Erland Sommarskog
 
Posts: n/a

Default Re: Best Way to Synch 2 Tables? - 11-09-2007 , 04:17 PM






Patrick A (parkins (AT) stradley (DOT) com) writes:
Quote:
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 (AT) sommarskog (DOT) se

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/pro...ads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinf...ons/books.mspx


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.