From: | Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org> |
---|---|
To: | Sergio David <mr(dot)sdf88(at)gmail(dot)com> |
Cc: | pgsql-es-ayuda(at)postgresql(dot)org |
Subject: | Re: Problemas concatenacion y comillas en pl/pgsql |
Date: | 2009-10-02 18:38:32 |
Message-ID: | 20091002183832.GI27505@alvh.no-ip.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-es-ayuda |
Sergio David escribió:
> Estoy tratando de armar un string dentro de la funcion pero no estoy
> pudiendo. Le muestro el ejemplo.
>
> [CODE]...
> WHILE _conteo > 0 LOOP
>
> -- lo que quiero hacer es current_date + interval '1 month';
> _fechaVto := current_date + interval || _conteo || ' month';
_fechaVto := current_date + _conteo * interval '1 month';
--
Alvaro Herrera http://www.amazon.com/gp/registry/3BP7BYG9PUGI8
"Industry suffers from the managerial dogma that for the sake of stability
and continuity, the company should be independent of the competence of
individual employees." (E. Dijkstra)
From | Date | Subject | |
---|---|---|---|
Next Message | Fernando Hevia | 2009-10-02 18:40:32 | RE: Problemas concatenacion y comillas en pl/pgsql |
Previous Message | Sergio David | 2009-10-02 18:35:53 | Problemas concatenacion y comillas en pl/pgsql |