Ezequias Rodrigues da Rocha wrote:
> Hi list,
> 
> It is possible to make a selection like
> 
> Select (list 1 to 1000);

Sure, use the generate_series() function.

select * from generate_series(1, 1000);

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

---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

               http://archives.postgresql.org

Reply via email to