From: | "Aaron Bono" <postgresql(at)aranya(dot)com> |
---|---|
To: | "Ezequias Rodrigues da Rocha" <ezequias(dot)rocha(at)gmail(dot)com> |
Cc: | pgsql-sql(at)postgresql(dot)org |
Subject: | Re: Select (1-3) |
Date: | 2006-11-30 18:35:36 |
Message-ID: | bf05e51c0611301035l42fa2178n398c3fc2c281ead2@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-sql |
On 11/30/06, Ezequias Rodrigues da Rocha <ezequias(dot)rocha(at)gmail(dot)com> wrote:
>
> Hi list,
>
> It is possible to make a selection like
>
> Select (list 1 to 1000);
>
> And get the rows ?
>
> producao=# select ...;
> row
> ---------
> 1
> 2
> 3
> .
> .
> .
> 1000
>
*select * from generate_series(1, 1000);*
See
http://oreillynet.com/pub/a/databases/2006/09/07/plpgsql-batch-updates.html?page=2
--
==================================================================
Aaron Bono
Aranya Software Technologies, Inc.
http://www.aranya.com
http://codeelixir.com
==================================================================
From | Date | Subject | |
---|---|---|---|
Next Message | Alvaro Herrera | 2006-11-30 18:36:50 | Re: Select (1-3) |
Previous Message | Ezequias Rodrigues da Rocha | 2006-11-30 18:30:04 | Select (1-3) |