Re: Indicar la fila

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Miguel Angel <mvillagomez(at)sayab(dot)com(dot)mx>
Cc: pgsql-es-ayuda(at)postgresql(dot)org
Subject: Re: Indicar la fila
Date: 2006-02-23 01:47:10
Message-ID: 20060223014709.GD9516@surnet.cl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-es-ayuda

Miguel Angel escribió:

> SELECT * FROM
> (SELECT * FROM zipcode ORDER BY name)AS ListaOrdenada LIMIT 65535
>
> Pero como puedo tomar el resto de los registros comenzando desde la fila
> 65536 en adelante?

SELECT * FROM
(SELECT * FROM zipcode ORDER BY name)AS ListaOrdenada
LIMIT 65535 OFFSET 65536

--
Alvaro Herrera http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

In response to

Responses

Browse pgsql-es-ayuda by date

  From Date Subject
Next Message Jose María Mencía 2006-02-23 08:59:40 Dos instancias del postmaster
Previous Message Miguel Angel 2006-02-23 01:40:29 Indicar la fila