Skip site navigation (1) Skip section navigation (2)

How to quietly increment a SEQUENCE?

From: "Martin Kresse" <mkresse(at)slyde(dot)in-berlin(dot)de>
To: pgsql-sql(at)postgresql(dot)org
Subject: How to quietly increment a SEQUENCE?
Date: 2000-02-10 17:59:26
Message-ID: 200002101759.SAA05105@mail.vr.IN-Berlin.DE (view raw or flat)
Thread:
Lists: pgsql-sql
Hi there,

How can I (quietly) increment a SEQUENCE without having to use 
SELECT, or is there a way to dump the result of a query (SELECT 
NEXTVAL('...'))?

Thanks for your help,
  Martin Kresse


Responses

pgsql-sql by date

Next:From: Bruce MomjianDate: 2000-02-10 18:29:11
Subject: Re: [SQL] How to quietly increment a SEQUENCE?
Previous:From: Tom LaneDate: 2000-02-09 15:48:23
Subject: Re: [SQL] Re: Bug#57466: select ... except fails when there are nulls in second clause

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group