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! -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general