🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.database.multi-tier
Article #1286

Re: DB "KEY" problems ... Multi-tier

#1286
From: Mark Cashman (TeamB BCB)
Date: Tue, 25 Jan 2000 00:00
20 lines
1223 bytes
Hi, Tom!

In almost every case it is far better to avoid use of autoincrement and
generate your keys from a table in the database.

Have a look at


http://www.temporaldoorway.com/programming/cbuilder/databaseandbde/generateuniqueid.htm

for details on how to accomplish this.

------
Mark Cashman (TeamB - C++ Builder), creator of The Temporal Doorway at
http://www.temporaldoorway.com
- Original digital art, writing, music and more -
C++ Builder / JBuilder Tips and The C++ Builder Programmer's Webring
(Join us!)
http://www.temporaldoorway.com/programming/index.htm
------
Technical Details
Message-ID: <388E771E.394138F6@ix.netcom.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <86k9ji$ohe8@bornews.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fcd2b,a87640cbe8ed192f
X-Google-Attributes: gidfcd2b,public
From: "Mark Cashman (TeamB BCB)" <mcashman@ix.netcom.com>
Subject: Re: DB "KEY" problems ... Multi-tier
Date: 2000/01/25
Message-ID: <388E771E.394138F6@ix.netcom.com>
X-Deja-AN: 577699545
Content-Transfer-Encoding: 7bit
References: <86k9ji$ohe8@bornews.borland.com>
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
Organization: Another Netscape Collabra Server User
Mime-Version: 1.0
Reply-To: mcashman@ix.netcom.com
Newsgroups: borland.public.cppbuilder.database.multi-tier