How to realize ROW_NUMBER() in 8.3?

From: Emi Lu <emilu(at)encs(dot)concordia(dot)ca>
To: pgsql-sql(at)postgresql(dot)org
Subject: How to realize ROW_NUMBER() in 8.3?
Date: 2011-04-20 15:45:27
Message-ID: 4DAEFF97.9020608@encs.concordia.ca
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

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

Thanks a lot!

Ding Ye

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Vibhor Kumar 2011-04-20 16:06:49 Re: How to realize ROW_NUMBER() in 8.3?
Previous Message Humair Mohammed 2011-04-20 14:45:07