Re: Random Unique Integer

From: Michael Fuhr <mike(at)fuhr(dot)org>
To: "Campbell, Lance" <lance(at)uiuc(dot)edu>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: Random Unique Integer
Date: 2007-06-14 13:25:41
Message-ID: 20070614132540.GA70344@winnie.fuhr.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

On Thu, Jun 14, 2007 at 08:08:26AM -0500, Campbell, Lance wrote:
> I have a table T1. It contains a field called F1. Is there a way for
> me to set the table T1 up such that F1 can be populated with a random
> integer such that F1 is a unique integer?

What problem are you trying to solve? The solution might depend
on what you're trying to do.

--
Michael Fuhr

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Rodrigo De León 2007-06-14 15:22:08 Re: Organization of tables
Previous Message Campbell, Lance 2007-06-14 13:08:26 Random Unique Integer