UPDATE parametro_nfe SET id_lote = (Coalesce(id_lote, 0, + 1));Preciso incrementar a coluna, mas retorna sempre 1 e não incrementa.
Tente: UPDATE parametro_nfe SET id_lote = Coalesce(id_lote, id_lote + 1); (o zero ali não faz muito sentido). []s Flavio Gurgel _______________________________________________ pgbr-geral mailing list [email protected] https://listas.postgresql.org.br/cgi-bin/mailman/listinfo/pgbr-geral
