🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.interbase.replication
Article #577

Generators and replication

#577
From: Ron C.
Date: Mon, 04 Mar 2002 13:01
24 lines
1669 bytes
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: <3c83544b$2_2@dnews>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!sienna.impulse.net!nntp-relay.ihug.net!ihug.co.nz!news.stealth.net!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!dnews

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f89d7,27acad5582b6ac8f,start
X-Google-Attributes: gidf89d7,public
X-Google-ArrivalTime: 2002-03-04 03:09:42 PST
Reply-To: "Ron C." <rcraven@bigpond.net.au>
From: "Ron C." <rcraven@bigpond.net.au>
Newsgroups: borland.public.interbase.replication
Subject: Generators and replication
Date: Tue, 5 Mar 2002 00:01:25 +1100
Lines: 26
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
NNTP-Posting-Host: 203.152.106.121
Message-ID: <3c83544b$2_2@dnews>
X-Trace: dnews 1015239755 203.152.106.121 (4 Mar 2002 03:02:35 -0800)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!sienna.impulse.net!nntp-relay.ihug.net!ihug.co.nz!news.stealth.net!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!dnews