Re: How to auto create a unique key for each newly added record?

From: "Prasanth Kumar" <kumar1(at)home(dot)com>
To: "Jeff" <jklcom(at)mindspring(dot)com>
Cc: "PostgreSQL General" <pgsql-general(at)postgresql(dot)org>
Subject: Re: How to auto create a unique key for each newly added record?
Date: 2001-03-27 04:33:20
Message-ID: 002701c0b677$0d777570$afc8b018@c654771a
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Make a column of type SERIAL. See
http://www.postgresql.org/docs/aw_pgsql_book/node88.html

----- Original Message -----
From: "Jeff" <jklcom(at)mindspring(dot)com>
To: <pgsql-general(at)postgresql(dot)org>
Sent: Monday, March 26, 2001 6:20 PM
Subject: [GENERAL] How to auto create a unique key for each newly added
record?

> Hi,
>
> How to if it is possible to let postgresql to auto assign unique key to
each
> new record that is added to the database?
>
> Thanks
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/users-lounge/docs/faq.html

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Christian Marschalek 2001-03-27 05:00:31 RE: PostgreSQL under Windows?
Previous Message Paul Tomblin 2001-03-27 04:15:23 point data type