On Mon Oct 18, 2004 at 12:58:42 +1000, torquemada wrote:
>
>OID's, (object-ID's) are made exactly for this purpose.
>if your database vendor does not provide this feature, lobby for it.
>ie PostgreSQL supports OID's and they are pretty much guaranteed to be
>unique

Well, the better idea is to start a transaction, get the next id
from a seqeunce, and then use this as the UID. I'm not sure if MySQL has
sequences, but I'm *sure* that this is a problem that is solved in some
way in the MySQL.

Benno
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to