@SD: Is there a way to force limiting the result set before sorting it?

On Fri, Jan 24, 2020 at 2:55 PM Dimitry Sibiryakov [email protected]
[firebird-support] <[email protected]> wrote:

> 24.01.2020 14:49, Matthias Winkler [email protected] [firebird-support]
> wrote:
> > The result are just 8 entries. Sorting those 3 entries should then take
> no time at all, right?
>
>    Wrong. Sorting happens before result set limit apply.
>
> > Any ideas?
>
>    Rule number one: never use "not in".
>
>    Learn how Firebird works: http://www.ibase.ru/performance/
>    Pay a special attention to http://www.ibase.ru/dataaccesspaths/
>
>
> --
>    WBR, SD.
>
>
> ------------------------------------
>
> ------------------------------------
>
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>
> Visit http://www.firebirdsql.org and click the Documentation item
> on the main (top) menu.  Try FAQ and other links from the left-side menu
> there.
>
> Also search the knowledgebases at
> http://www.ibphoenix.com/resources/documents/
>
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> ------------------------------------
>
> Yahoo Groups Links
>
>
>
>

Reply via email to