Olá,

Sim, é possível.

[]s

2009/1/30 Jean Domingues <[email protected]>:
>
> Pessoal, queria saber se isso eh possível, excluir um registro que se
> encontra no cursor que estou percorrendo, como no codigo abaixo:
>
> for regCR in select * from contas_receber where id_venda = IdVenda
> loop
>    ......
>       delete from contas_receber where id = regCR.id;
> end loop
> --
> View this message in context: 
> http://www.nabble.com/Exclus%C3%A3o-de-registro-dentro-de-For-..-loop-tp21750419p21750419.html
> Sent from the PostgreSQL - Brasil mailing list archive at Nabble.com.
>
> _______________________________________________
> pgbr-geral mailing list
> [email protected]
> https://listas.postgresql.org.br/cgi-bin/mailman/listinfo/pgbr-geral
>



-- 
João Paulo
www.dextra.com.br/postgres
PostgreSQL
_______________________________________________
pgbr-geral mailing list
[email protected]
https://listas.postgresql.org.br/cgi-bin/mailman/listinfo/pgbr-geral

Responder a