Skip site navigation (1) Skip section navigation (2)

Re: Auto Increment Help

From: "Anthony E(dot) Greene" <agreene(at)pobox(dot)com>
To: pgsql-novice(at)postgresql(dot)org
Subject: Re: Auto Increment Help
Date: 2000-07-08 14:26:26
Message-ID: Pine.LNX.4.21.0007081625570.705-100000@fmol.5sigcmd.army.mil (view raw or flat)
Thread:
Lists: pgsql-novice
On Fri, 7 Jul 2000, Stephen Lawrence wrote:
>I am writing a small stamping program and was wondering: what is the best
>way to do auto incrementing, or where can I find some good info on the
>subject?
>
> I use MySQL also, and it handles auto-incrementing, but I found postgresql
>does not.

See datatype "serial"

--
Anthony E. Greene <agreene(at)pobox(dot)com>
Homepage & PGP Key: <http://www.pobox.com/~agreene/>
Linux: The choice of a GNU Generation <http://www.linux.org/>


In response to

pgsql-novice by date

Next:From: Oliver VecernikDate: 2000-07-09 09:33:10
Subject: MS Access conversion utility
Previous:From: Tony CorrenteDate: 2000-07-08 09:29:01
Subject: Re: Auto Increment Help

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group