Search Postgresql Archives

Re: using a sequence as the functional equivalent to Oracle rownum

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"Wm.A.Stafford" <stafford@xxxxxxxxxxxxxxxxxx> writes:
> ... is there a standard PostgreSQL way to select a 
> 'block' of rows from a result set based on row number?

LIMIT/OFFSET might be what you are looking for --- it's certainly far
less klugy than a temporary sequence.

			regards, tom lane


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux