Re: Does Postgresql have a similar pseudo-column "ROWNUM" as
| От | Alain |
|---|---|
| Тема | Re: Does Postgresql have a similar pseudo-column "ROWNUM" as |
| Дата | |
| Msg-id | 428A2E81.2060501@pobox.com обсуждение исходный текст |
| Ответ на | Re: Does Postgresql have a similar pseudo-column "ROWNUM" as Oracle? (Andrew Sullivan <ajs@crankycanuck.ca>) |
| Ответы |
Re: Does Postgresql have a similar pseudo-column "ROWNUM" as
ERROR: unterminated quoted string... help |
| Список | pgsql-sql |
Andrew Sullivan escreveu: > On Thu, May 12, 2005 at 01:07:00PM -0600, Dennis.Jiang@thomson.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. The problem is probably speed. I have done a lot of tests, and when OFFSET gets to a few thousands on a multimega-recs database, it gets very very slow... Is there any other to work around that? Alain
В списке pgsql-sql по дате отправления: