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

Re: Select START and MAXVALUE from Sequence

From: Jasen Betts <jasen(at)xnet(dot)co(dot)nz>
To: pgsql-novice(at)postgresql(dot)org
Subject: Re: Select START and MAXVALUE from Sequence
Date: 2009-01-31 09:50:41
Message-ID: gm16th$6a2$1@reversiblemaps.ath.cx (view raw or flat)
Thread:
Lists: pgsql-novice
On 2009-01-27, Lukas <lukas(at)fmf(dot)vtu(dot)lt> wrote:
> Hello,
>
>
>  Is here any way to get START and MAXVALUE from sequence in select query.
> I mean something like this:
> Select startval('MySeq'); --This can not work of course.

SELECT * FROM name_of_sequence;


In response to

pgsql-novice by date

Next:From: Jasen BettsDate: 2009-01-31 09:53:23
Subject: Re: Select START and MAXVALUE from Sequence
Previous:From: Rodrigo E. De León PlicetDate: 2009-01-31 00:24:34
Subject: Re: REALLY stupid question

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