Re: [SQL] Limit rows

Поиск
Список
Период
Сортировка
От Mark Jewiss
Тема Re: [SQL] Limit rows
Дата
Msg-id Pine.BSO.4.10.9909291706390.5608-100000@office.knowledge.com
обсуждение исходный текст
Ответ на Re: [SQL] Limit rows  (Oleg Bartunov <oleg@sai.msu.su>)
Ответы Re: [SQL] Limit rows
Список pgsql-sql
Hello,

On Wed, 29 Sep 1999, Oleg Bartunov wrote:

> select * from table  limit 5,10;

Excellent, that works perfectly. I've done a grep over the html
documentation, and can't see anything regarding the limit feature (if I've
just missed it and it is there could someone provide a pointer please?).

I'm interested now in how this method actually works - is a query
performed that reads all of the rows of a table into memory, and then the
non-requested rows are discarded before the results are sent back?

I'm interested in how this would work with a massive table......

Regards,

Mark.
-- 
Mark Jewiss
Knowledge Matters Limited
http://www.knowledge.com



В списке pgsql-sql по дате отправления:

Предыдущее
От: Oleg Bartunov
Дата:
Сообщение: Re: [SQL] Limit rows
Следующее
От: Stuart Rison
Дата:
Сообщение: Re: [SQL] Limit rows