On Sat, Oct 23, 2004 at 14:52:31 +0200,
  Leen Besselink <[EMAIL PROTECTED]> wrote:
> 
> id = nextval ("whatever_id_seq");
> insert into whatever (id, text) values (id, 'something');
> 
> Something that works always... better, but you need to know the name of
> the sequence, bummer.

In 8.0 (currently in beta) there is a supplied function to return this
string reliably.

---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
    (send "unregister YourEmailAddressHere" to [EMAIL PROTECTED])

Reply via email to