>>>>   vComandoSQL = 'delete from xemp_0032.fatrans where xemp_0032.fatrans.fco = old.fco;';
 
        EXECUTE vComandoSQL;

Faça da seguinte maneira
  vComandoSQL = 'delete from xemp_0032.fatrans where xemp_0032.fatrans.fco = ' || old.fco;

Vai dar certo!

SDS

Evandro
_______________________________________________
pgbr-geral mailing list
pgbr-geral@listas.postgresql.org.br
https://listas.postgresql.org.br/cgi-bin/mailman/listinfo/pgbr-geral

Responder a