Re: How to get back the current count of a auto incrementing number. - Mailing list pgsql-general

From PFC
Subject Re: How to get back the current count of a auto incrementing number.
Date
Msg-id opslbbiuwuth1vuj@musicbox
Whole thread Raw
In response to How to get back the current count of a auto incrementing number.  (sid tow <siddy_tow@yahoo.com>)
List pgsql-general
    This question pops about once a day...
    can't the list server grep for "auto increment" and send a link to the
docs itself ;)


> hi
>
>      How to get the current value of a auto
> incrementing number generated using CREATE SEQUENCE
> seqname START 1
>
> Is there any way and if yes what is it. Can we run a
> select query and may be a inbuilt function which will
> return the current value of that number?
>
> Regards.

pgsql-general by date:

Previous
From: Mike Rylander
Date:
Subject: Re: Splitting queries across servers
Next
From: Richard Huxton
Date:
Subject: Re: Import SVG file