Re: Howto only select secific lines from a result?

Поиск
Список
Период
Сортировка
От Alban Hertroys
Тема Re: Howto only select secific lines from a result?
Дата
Msg-id 45179171-87C5-4F8C-86B4-4C29B4AB4A5F@solfertje.student.utwente.nl
обсуждение исходный текст
Ответ на Howto only select secific lines from a result?  (Clemens Eisserer <linuxhippy@gmail.com>)
Список pgsql-general
On 8 Aug 2010, at 3:37, Clemens Eisserer wrote:

> What I would need is a LIMIT command, which allows to LIMIT the
> results in two ways.
> Is there some way to select only specific lines from a result, something like:
> Select * from table Where RESULNR BETWEEN 1000 and 1040?
>
> Or do you have any other ideas howto solve this problem?


I think cursors are what you're looking for. Start reading from:
http://www.postgresql.org/docs/8.4/interactive/sql-declare.html

Alban Hertroys

--
If you can't see the forest for the trees,
cut the trees and you'll see there is no forest.


!DSPAM:737,4c5e73eb286211213419466!



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

Предыдущее
От: Thomas Kellerer
Дата:
Сообщение: Re: Using AND in query
Следующее
От: Torsten Zühlsdorff
Дата:
Сообщение: Re: MySQL versus Postgres