Re: AUTOINCREMENT--help

From: "Brett W(dot) McCoy" <bmccoy(at)chapelperilous(dot)net>
To: Macky <macky(at)edsamail(dot)com>
Cc: Postgresql-Sql <pgsql-sql(at)postgresql(dot)org>
Subject: Re: AUTOINCREMENT--help
Date: 2001-01-02 03:00:47
Message-ID: Pine.LNX.4.30.0101012159260.28618-100000@chapelperilous.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

On Tue, 2 Jan 2001, Macky wrote:

> Is there a function in SQL that does autoincrementing...

http://www.postgresql.org/docs/faq-english.html#4.16.1

and

http://www.postgresql.org/users-lounge/docs/7.0/postgres/sql-createsequence.htm

will tell you how to do this.

-- Brett
http://www.chapelperilous.net/~bmccoy/
---------------------------------------------------------------------------
A thing is not necessarily true because a man dies for it.
-- Oscar Wilde, "The Portrait of Mr. W.H."

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Tom Lane 2001-01-02 08:20:29 Re: date infinity
Previous Message Stephan Szabo 2001-01-02 02:40:08 Re: [SQL] Removing a constraint?