REPLACE(TRIM(TO_CHAR(CAMPO, REPLACE('99G999D99' ,'G', ' '))), ' ', '.');-> ASSIM ESTÁ CORRETO.
_______________________________________________ pgbr-geral mailing list [email protected] https://listas.postgresql.org.br/cgi-bin/mailman/listinfo/pgbr-geral
