From: | Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)cl> |
---|---|
To: | hmera(at)chiclayo(dot)abaco-corp(dot)edu(dot)pe |
Cc: | pgsql-es-ayuda(at)postgresql(dot)org |
Subject: | Re: Sumar Dias a una Fecha |
Date: | 2004-10-13 18:29:23 |
Message-ID: | 20041013182923.GB10052@dcc.uchile.cl |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-es-ayuda |
On Wed, Oct 13, 2004 at 11:45:01AM -0500, hmera(at)chiclayo(dot)abaco-corp(dot)edu(dot)pe wrote:
> Buenas Srs. de la Lista.
> Estoy desarrllando un Sistema de Horarios, con Power Builder 8.0 y Postgres
> 7.4.1 y nesecito implementar una funcion en Postgres para poder incrementar
> (sumar) los dias a una fecha, por su puesto utilizando el Lenguaje plPgsql.
Probaste usando el operador "+"? Sirve para sumar. En particular,
puedes sumar un dato de tipo "interval" a otro de tipo "date".
--
Alvaro Herrera (<alvherre[a]dcc.uchile.cl>)
"Oh, great altar of passive entertainment, bestow upon me thy discordant images
at such speed as to render linear thought impossible" (Calvin a la TV)
From | Date | Subject | |
---|---|---|---|
Next Message | angel Iracheta | 2004-10-13 19:20:15 | Fwd: Sumar Dias a una Fecha |
Previous Message | silv silv | 2004-10-13 17:47:37 | Re: Estructura de una página Postgresql |