Create unique field..

From: "Williams, Travis L, NPONS" <tlw(at)att(dot)com>
To: pgsql-novice(at)postgresql(dot)org
Subject: Create unique field..
Date: 2001-06-07 19:58:17
Message-ID: C9AA291109D8D311BE15009027AD06CF0576CEAA@mo3980po14.ems.att.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

All,
I'm not sure if I'm on the right track here.. I want to create a
column that is automatically filled in with a unique number when a row is
created.. I thought that creating a sequence would do this.. and then
creating a column with a default of nextval('seqname') but it isn't doing
anything.. any help is appreciated...

Thanks,
Travis L. Williams

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Nabil Sayegh 2001-06-07 20:14:46 Re: Create unique field..
Previous Message Michael Case 2001-06-07 16:03:23 C++ help