pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: cristi <cristi@dmhi.ct.ro>
To: pgsql-sql@postgresql.org
Subject: sequence
Date: Fri, 15 Aug 2003 12:32:36 +0300
Message-ID: <006601c36310$29da3a20$7201a8c0@dmhi.ct.ro> (raw)

What is wrong here?

insert into table_name (field_name) values (select
setval('sequence_name')-1) as currval);





view thread (4+ messages)  latest in thread

Message-ID: <006601c36310$29da3a20$7201a8c0@dmhi.ct.ro>
Permalink:  ../006601c36310$29da3a20$7201a8c0@dmhi.ct.ro/
Also on:    postgresql.org/message-id/006601c36310$29da3a20$7201a8c0@dmhi.ct.ro

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: cristi@dmhi.ct.ro
  Subject: Re: sequence
  In-Reply-To: <006601c36310$29da3a20$7201a8c0@dmhi.ct.ro>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox