On 4/11/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] wrote: > > Hi, i have several databases with same structure on several hosts, and > > want them to generate globaly unique ids. > > Then random() function generates 64-bits of high-quality > randomness that you can use for a ID. Such IDs will be > unique with a very high probability, depending on how > many rows of data you have.
This is NOT guaranteed unique. If your application requires a unique id this is very bad practice.