Search Postgresql Archives

Re: How to realize ROW_NUMBER() in 8.3?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]





On Wed, Apr 20, 2011 at 9:21 PM, Emi Lu <emilu@xxxxxxxxxxxxxxxxx> wrote:
Hello,

ROW_NUMBER() is only ready in 8.4. For 8.3, is there a simple way to get row_number

select row_number(), col1, col2...
FROM Â tableName



Below link will demonstrates ROW_NUMBER features in pre Postgresql-8.4::

http://www.postgresonline.com/journal/archives/79-Simulating-Row-Number-in-PostgreSQL-Pre-8.4.html


--Raghu Ram


Â
Thanks a lot!
äå

--
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general


[Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Programming PHP]     [Kernel Newbies]     [PHP Classes]     [Find Someone Nice]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

Add to Google Powered by Linux