AW: [HACKERS] SELECT ... LIMIT (trial implementation)

Поиск
Список
Период
Сортировка
От Andreas Zeugswetter
Тема AW: [HACKERS] SELECT ... LIMIT (trial implementation)
Дата
Msg-id 01BDFB5B.1512EF00@zeugswettera.user.lan.at
обсуждение исходный текст
Ответы Re: AW: [HACKERS] SELECT ... LIMIT (trial implementation)
Список pgsql-hackers
> Bruce Momjian <maillist@candle.pha.pa.us> writes:
> > What if someone wants the rows from 500 to the end.  Should we allow
> > the syntax to be:
> >          SELECT ... [LIMIT count] [OFFSET offset]
> > LIMIT and OFFSET are independent.
> 
> I like that syntax the best, but remember we are not inventing in
> a green field here.  Isn't this a feature that already exists in
> other DBMs?  We should probably copy their syntax, unless it's
> truly spectacularly awful...

Informix uses the following syntax, but does not have the offset feature:
select first 100 * from table ....

Andreas





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

Предыдущее
От: jwieck@debis.com (Jan Wieck)
Дата:
Сообщение: Re: [HACKERS] Crashing backend!
Следующее
От: jwieck@debis.com (Jan Wieck)
Дата:
Сообщение: Re: [HACKERS] What about LIMIT in SELECT ?