> Existe alguma instrução ou função que gere um campo com números seqüenciais?

Sim ... nextval [1] ... Mas é preciso ter uma sequence[2] criada;

[1] http://www.postgresql.org/docs/current/static/functions-sequence.html
[2] http://www.postgresql.org/docs/current/static/sql-createsequence.html



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

Responder a