RE: autoincrement key
Jackson, DeJuan <djackson@cpsgroup.com>
From: "Jackson, DeJuan" <djackson@cpsgroup.com>
To: pgsql-sql@postgreSQL.org
Cc: Rostislav Matl <xmatl@informatics.muni.cz>
Date: 1998-05-12T15:06:47Z
Lists: pgsql-sql
> Which syntax uses Postgres fro autoincrement key?
> I've been looking for it in docs but unsuccesfully.
> Thanx 4 reply.
>
Check out CREATE SEQUENCE:
man create_sequence
or
psql -d template1 -c '\h create sequence'