Em 11/11/08, Marcos Fabrício Corso<[EMAIL PROTECTED]> escreveu:
> ah, preciso também saber como comparar 2 variáveis do tipo big decimal, por
> exemplo
>
> variavel1 > variavel2
> variavel1 < variavel2
> variavel1 >= variavel2
> variavel1 <= variavel2
> variavel1 diferente variavel2
> variavel1 igual variavel2
>


Não existe o tipo "big decimal" no PostgreSQL.
Existe o tipo decimal ou numeric de precisão arbitrária (até 1.000
algarismos), veja:
http://www.postgresql.org/docs/current/interactive/datatype-numeric.html#DATATYPE-NUMERIC-DECIMAL

Quanto às operações de comparação permitidas veja:
http://www.postgresql.org/docs/current/interactive/functions-comparison.html

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

Responder a