Select START and MAXVALUE from Sequence

From: "Lukas" <lukas(at)fmf(dot)vtu(dot)lt>
To: pgsql-novice(at)postgresql(dot)org
Subject: Select START and MAXVALUE from Sequence
Date: 2009-01-27 10:27:35
Message-ID: 19693.217.117.29.29.1233052055.squirrel@fmf.vgtu.lt
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

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.

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

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

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message A. Kretschmer 2009-01-27 10:49:11 Re: Select START and MAXVALUE from Sequence
Previous Message Lukas 2009-01-27 10:10:34 Re: IN vs =