Article View: borland.public.interbase.replication
Article #580Re: Generators and replication
From: Frank Bruin
Date: Mon, 04 Mar 2002 22:03
Date: Mon, 04 Mar 2002 22:03
40 lines
2099 bytes
2099 bytes
create a user 'REPL' in target db (with grants to aal tables) and set user to 'REPL' is settings although this is mentioned in the manual it took me quite some to figure it out :-) in target db triggers have statement 'if (user <> 'REPL') then ......' hth Frank Bruin PSO Beheer fbruin@peterson.nl 0223-685151 "Ron C." <rcraven@bigpond.net.au> wrote in message news:3c83544b$2_2@dnews... > I have two sites that require two way data replication > > One table has a primary key consisting of two fileds > -a generated integer REQUEST_NUM > -a country code CCD > > This combination is used as the tracking number throughout the application. > > As each country is free to create requests , if country FRN creates a > request > REQUEST_NUM=32121 and CCD=FRN > and then country ESP creates a request > REQUEST_NUM=42121 and CCD=ESP > > When the new ESP gets replicated to FRN, will its REQUEST_NUM > change to 32122 and the CCD=ESP ? > > Is there a way to turn the generator off for replication inserts so that the > REQUEST_NUM and CCD values keeo their integrity ? > > Any ideas on ways around this ? > > thanks for your time > -Ron > >
Technical Details
Message-ID:
<3c83ef2b$1_1@dnews>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!isdnet!nntp.abs.net!newsfeed.cwix.com!news1.optus.net.au!optus!intgwlon.nntp.telstra.net!news.telstra.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnewsReferences:
<3c83544b$2_2@dnews>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f89d7,27acad5582b6ac8f X-Google-Attributes: gidf89d7,public X-Google-ArrivalTime: 2002-03-04 14:12:01 PST From: "Frank Bruin" <fbruin@peterson.nl> Newsgroups: borland.public.interbase.replication References: <3c83544b$2_2@dnews> Subject: Re: Generators and replication Date: Mon, 4 Mar 2002 23:03:09 +0100 Lines: 42 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 NNTP-Posting-Host: 213.73.163.101 Message-ID: <3c83ef2b$1_1@dnews> X-Trace: dnews 1015279403 213.73.163.101 (4 Mar 2002 14:03:23 -0800) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!isdnet!nntp.abs.net!newsfeed.cwix.com!news1.optus.net.au!optus!intgwlon.nntp.telstra.net!news.telstra.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews