Ask a Question related to PostgreSQL / PGSQL, Design and Development.
-
sid tow #1
How to get back the current count of a auto incrementing number.
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.
__________________________________
Do you Yahoo!?
Yahoo! Mail - Find what you need with new enhanced search.
[url]http://info.mail.yahoo.com/mail_250[/url]
---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to [email]majordomo@postgresql.org[/email])
sid tow Guest
-
Count Number of Downloads for PDF File
Is there a way using Cold Fusion to count the number of times a particular PDF (or Word) file is downloaded by site visitors? Thanks -
incrementing field count. help please!!
I need user to be able to generate as many rows as they need to update a record. Example - a recipie. I am on Record 5 which is pepperoni pizza.... -
Incrementing Number in Repeat Region - Help!
Anyone help on this? PHP/MySQL I have a repeat region displaying records from orders in a CSV format: CalJoe33,18,08/23/2004,FED... -
Auto incrementing document revision
Hello, I have been asked to replicate a feature of Microsoft Word in an InDesign CS document. You can insert an auto updating text field that... -
current found count
I want to hide the status area, but I want the user to still be able to see how many records are currently being browsed--like after you perform a... -
Csaba Nagy #2
Re: How to get back the current count of a auto
Sid,
Postgres has an excellent documentation. You can find about what you
asked here:
[url]http://www.postgresql.org/docs/8.0/static/functions-sequence.html[/url]
It always pays off to read the docs first.
Cheers,
Csaba.
On Fri, 2005-01-28 at 12:36, sid tow wrote:> 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.
>
>
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Mail - Find what you need with new enhanced search.
> [url]http://info.mail.yahoo.com/mail_250[/url]
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
> (send "unregister YourEmailAddressHere" to [email]majordomo@postgresql.org[/email])
---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to [email]majordomo@postgresql.org[/email]
Csaba Nagy Guest
-
Shridhar Daithankar #3
Re: How to get back the current count of a auto incrementing number.
On Friday 28 Jan 2005 5:06 pm, sid tow wrote:
[url]http://www.postgresql.org/docs/8.0/static/functions-sequence.html[/url]> 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?
HTH
Shridhar
---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?
[url]http://www.postgresql.org/docs/faq[/url]
Shridhar Daithankar Guest
-
Sean Davis #4
Re: How to get back the current count of a auto incrementing number.
On Jan 28, 2005, at 6:36 AM, sid tow wrote:
Look at:> 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?
[url]http://www.postgresql.org/docs/8.0/interactive/functions-sequence.html[/url]
Sean
---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend
Sean Davis Guest
-
PFC #5
Re: How to get back the current count of a auto incrementing number.
This question pops about once a day...
can't the list server grep for "auto increment" and send a link to the
docs itself ;)
---------------------------(end of broadcast)---------------------------> 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.
TIP 6: Have you searched our list archives?
[url]http://archives.postgresql.org[/url]
PFC Guest



Reply With Quote

