Re: Does Postgresql have a similar pseudo-column "ROWNUM" as Oracle?

From: Andrew Sullivan <ajs(at)crankycanuck(dot)ca>
To: pgsql-sql(at)postgresql(dot)org
Subject: Re: Does Postgresql have a similar pseudo-column "ROWNUM" as Oracle?
Date: 2005-05-17 17:06:36
Message-ID: 20050517170636.GC12405@phlogiston.dyndns.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-php pgsql-sql

On Thu, May 12, 2005 at 01:07:00PM -0600, Dennis(dot)Jiang(at)thomson(dot)com wrote:
>
> Does Postgresql have a similar pseudo-column "ROWNUM" as Oracle? If
> so, we can write the following query:

No. What is the purpose of your query? You could use ORDER BY and
LIMIT..OFFSET to do what you want. I think.

A

--
Andrew Sullivan | ajs(at)crankycanuck(dot)ca
The whole tendency of modern prose is away from concreteness.
--George Orwell

In response to

Responses

Browse pgsql-php by date

  From Date Subject
Next Message Alain 2005-05-17 17:48:49 Re: Does Postgresql have a similar pseudo-column "ROWNUM" as
Previous Message Bruno Wolff III 2005-05-17 17:06:16 Re: Does Postgresql have a similar pseudo-column "ROWNUM" as Oracle?

Browse pgsql-sql by date

  From Date Subject
Next Message Alain 2005-05-17 17:48:49 Re: Does Postgresql have a similar pseudo-column "ROWNUM" as
Previous Message Bruno Wolff III 2005-05-17 17:06:16 Re: Does Postgresql have a similar pseudo-column "ROWNUM" as Oracle?