Re: Strange limit and offset behaviour....

From: Grzegorz Jaśkiewicz <gryzman(at)gmail(dot)com>
To: Bjørn T Johansen <btj(at)havleik(dot)no>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Strange limit and offset behaviour....
Date: 2009-02-07 22:03:37
Message-ID: 2f4958ff0902071403i5d2a2fedma6cd342cf1a3d7f8@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Sat, Feb 7, 2009 at 9:57 PM, Bjørn T Johansen <btj(at)havleik(dot)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;

--
GJ

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Bjørn T Johansen 2009-02-07 22:22:19 Re: Strange limit and offset behaviour....
Previous Message Bjørn T Johansen 2009-02-07 21:57:19 Re: Strange limit and offset behaviour....