Re: unique ID

Giganews Newsgroups
Subject: Re: unique ID
Posted by:  Douglas Hawthorne (douglashawthor…@yahoo.com.au)
Date: Wed, 08 Dec 2004

Christoph,

Why not consider sequences?  Refer to the Oracle 9.2 Concepts Guide, "The
Sequence Generator"  on p.10-25 onwards.

Douglas Hawthorne

"Christoph Kukulies" <ku…@accms33.physik.rwth-aachen.de> wrote in message
news:31o3aiF3aqpos…@news.dfncis.de...
> When inserting items into a table (chunks of LONGs) that come in
> from a transaction I need some unique ID that can accompany the item
> so that it can be identified uniquely even if the contents is the
> same (e.g. the user of the alien transaction system hits the submit button
> twice or over and over again). Also sorting the list by timestamp
> would be desirable. I thought of so to say conglamer the date/timestamp
> with
> a random number to ibtain a unique ID that allows for sorting by date
> at the same time.
>
> Are there already provisions for that in Oracle or in databases per se?
>
> --
> Chris Christoph P. U. Kukulies kukulies (at) rwth-aachen.de

Replies

In response to

unique ID posted by Christoph Kukulies on 8 Dec 2004