Re: Strange limit and offset behaviour....

Поиск
Список
Период
Сортировка
От Bjørn T Johansen
Тема Re: Strange limit and offset behaviour....
Дата
Msg-id 20090207232219.695274e6@pennywise.havleik.no
обсуждение исходный текст
Ответ на Re: Strange limit and offset behaviour....  (Grzegorz Jaśkiewicz <gryzman@gmail.com>)
Ответы Re: Strange limit and offset behaviour....  (Grzegorz Jaśkiewicz <gryzman@gmail.com>)
Список pgsql-general
On Sat, 7 Feb 2009 22:03:37 +0000
Grzegorz Jaśkiewicz <gryzman@gmail.com> wrote:

> On Sat, Feb 7, 2009 at 9:57 PM, Bjørn T Johansen <btj@havleik.no> wrote:
> >> > SELECT * from table order by dato asc
>
> is the field 'dato' the same in both cases ? if so - you're goood
> just compare:
>
> select dato from table order by dato asc limit 10;
> with
> select dato from table order by dato asc limit 10 offset 0;
>
>
>

yes, they are the same... And returns the same, now when I have created an index for the dato field...

BTJ

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

Предыдущее
От: Grzegorz Jaśkiewicz
Дата:
Сообщение: Re: Strange limit and offset behaviour....
Следующее
От: Grzegorz Jaśkiewicz
Дата:
Сообщение: Re: Strange limit and offset behaviour....