On Wed, Oct 28, 2009 at 11:29 AM, gustavorp <[email protected]> wrote:
>
> Estou migrando o DB de SQL Server para Postgre, e estou tendo dificuldades na
> converão de algumas Store Procedures que utilizam Cursor.
> Como posso percorrer todo o cursor, registro por registro?

http://www.postgresql.org/docs/8.4/interactive/plpgsql-cursors.html#PLPGSQL-CURSOR-FOR-LOOP

-Leo
-- 
Leonardo Cezar
http://www.aslid.org.br
http://postgreslogia.wordpress.com
http://www.dextra.com.br/postgres
_______________________________________________
pgbr-geral mailing list
[email protected]
https://listas.postgresql.org.br/cgi-bin/mailman/listinfo/pgbr-geral

Responder a