Re: Select START and MAXVALUE from Sequence - Mailing list pgsql-novice

From Lukas
Subject Re: Select START and MAXVALUE from Sequence
Date
Msg-id 24996.217.117.29.29.1233065027.squirrel@fmf.vgtu.lt
Whole thread Raw
In response to Re: Select START and MAXVALUE from Sequence  ("A. Kretschmer" <andreas.kretschmer@schollglas.com>)
Responses Re: Select START and MAXVALUE from Sequence  ("A. Kretschmer" <andreas.kretschmer@schollglas.com>)
List pgsql-novice
Hello,

 yes it works - select min_value, max_value from MySeq;
But what about start value? I tryed to select start_value but no luck..

--
Lukas
UAB nSoft
http://www.nsoft.lt
Lukas at nsoft.lt
+370 655 10 655


> In response to Lukas :
>> 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 min_value, max_value from MySeq;
>
>
> Andreas
> --
> Andreas Kretschmer
> Kontakt:  Heynitz: 035242/47150,   D1: 0160/7141639 (mehr: -> Header)
> GnuPG-ID:   0x3FFF606C, privat 0x7F4584DA   http://wwwkeys.de.pgp.net
>
> --
> Sent via pgsql-novice mailing list (pgsql-novice@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-novice
>
> --
> This message has been scanned for viruses and
> dangerous content by OpenProtect(http://www.openprotect.com), and is
> believed to be clean.
>
>



--
This message has been scanned for viruses and
dangerous content by OpenProtect(http://www.openprotect.com), and is
believed to be clean.


pgsql-novice by date:

Previous
From: "A. Kretschmer"
Date:
Subject: Re: Select START and MAXVALUE from Sequence
Next
From: "A. Kretschmer"
Date:
Subject: Re: Select START and MAXVALUE from Sequence