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

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: AW: [HACKERS] SELECT ... LIMIT (trial implementation)
Дата
Msg-id 199810191527.LAA09854@candle.pha.pa.us
обсуждение исходный текст
Ответ на AW: [HACKERS] SELECT ... LIMIT (trial implementation)  (Andreas Zeugswetter <andreas.zeugswetter@telecom.at>)
Список 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 ....

I definitely don't like that syntax.

--  Bruce Momjian                        |  http://www.op.net/~candle maillist@candle.pha.pa.us            |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


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

Предыдущее
От: "Thomas G. Lockhart"
Дата:
Сообщение: [Fwd: DocBook stylesheets 1.19 released]
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] HAVING bug