Rubens José Rodrigues wrote:
> Consegui,
>
> É assim que fiz
>
> select current_timestamp + (select prazo||' day' from tipoproblema where
> seq=2) ::interval;
Faça da seguinte maneira que é melhor
select current_timestamp + prazo||' day'::interval from tipoproblema 
where seq=2

Att

Evandro
_______________________________________________
pgbr-geral mailing list
[email protected]
https://listas.postgresql.org.br/cgi-bin/mailman/listinfo/pgbr-geral

Responder a