|  | Posted by Hilary Cotter on 09/09/05 16:28 
Distributed transactions are a coded solution where you do something likethis
 begin trans
 insert into server1.database1.dbo.table1 (charcol) values ('test')
 insert into msaccessdb.table1 (charcol) values ('test')
 if @@errornum<>0
 rollback tran
 else
 commit tran
 
 It can be done using MS DTC as well.
 
 
 --
 Hilary Cotter
 Looking for a SQL Server replication book?
 http://www.nwsu.com/0974973602.html
 
 Looking for a FAQ on Indexing Services/SQL FTS
 http://www.indexserverfaq.com
 "Neil" <nospam@nospam.net> wrote in message
 news:Jg9Ue.7705$4P5.4425@newsread2.news.pas.earthlink.net...
 > I'm using an Access 2000 front end which updates a lot of data through the
 > ODBC driver. Thus, I wouldn't be able to use distributed transactions in
 > every situation. Anything else that can immediately update one server from
 > the other?
 >
 > Thanks.
 >
 > "Hilary Cotter" <hilary.cotter@gmail.com> wrote in message
 > news:e6RW67FtFHA.3252@TK2MSFTNGP10.phx.gbl...
 > > Consider distributed transactions for this. You can also set your
 polling
 > > interval on your log reader and distribution agent to 1s, and your
 latency
 > > will be around 10-20s.
 > >
 > > --
 > > Hilary Cotter
 > > Looking for a SQL Server replication book?
 > > http://www.nwsu.com/0974973602.html
 > >
 > > Looking for a FAQ on Indexing Services/SQL FTS
 > > http://www.indexserverfaq.com
 > > "Neil" <nospam@nospam.net> wrote in message
 > > news:8KRTe.2584$9x2.1236@newsread3.news.pas.earthlink.net...
 > >> Is it possible in SQL Server to have replication happen immediately as
 > >> changes are made. That is, a change is made on server A, and that
 change
 > > is
 > >> automatically applied to server B, rather than the replication
 happening
 > > at
 > >> set intervals?
 > >>
 > >> Thanks.
 > >>
 > >>
 > >
 > >
 >
 >
  Navigation: [Reply to this message] |