Re: next integer in serial key - Mailing list pgsql-sql

From Kenneth Gonsalves
Subject Re: next integer in serial key
Date
Msg-id 04072217100110.01150@thenilgiris.com
Whole thread Raw
In response to Re: next integer in serial key  (<terry@ashtonwoodshomes.com>)
List pgsql-sql
On Thursday 22 July 2004 05:18 pm, terry@ashtonwoodshomes.com wrote:

> Alternatively, you can do:
> INSERT  (accepting the default)
> then SELECT currval(the_sequence_object);
> then <extra inserts of related foreign key records>

did this. barf: foreign key not in original table
-- 
regards
kg

http://www.onlineindianhotels.net - hotel bookings reservations in over 4600 
hotels in India
http://www.ootygolfclub.org


pgsql-sql by date:

Previous
From:
Date:
Subject: Re: next integer in serial key
Next
From: Kenneth Gonsalves
Date:
Subject: Re: next integer in serial key