Re: Selecting Current value from a sequence - Mailing list pgsql-sql

From clayton cottingham
Subject Re: Selecting Current value from a sequence
Date
Msg-id 3A6737F7.A21FECA0@smartt.com
Whole thread Raw
In response to Selecting Current value from a sequence  (Najm Hashmi <najm@mondo-live.com>)
List pgsql-sql
Najm Hashmi wrote:
> 
> Hi all,
>  It is a very simple but I am not able to recall  how to do it.... I
> just need to find out the  current value of a seq. It is very simple
> select statement but I can't recall it... Help me please before I get
> myself get fired -:).
> Regards, Najm


select nextval('nameofseq');


pgsql-sql by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Selecting Current value from a sequence
Next
From: Bruce Momjian
Date:
Subject: Re: Selecting Current value from a sequence