From: | "sandrigo lezcano" <psql(at)msa(dot)com(dot)py> |
---|---|
To: | <Pgsql-ayuda(at)tlali(dot)iztacala(dot)unam(dot)mx> |
Subject: | [Pgsql-ayuda] +/- date |
Date: | 2003-06-11 17:15:01 |
Message-ID: | 003301c3303c$fe65eed0$2508000a@atellov |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-es-ayuda |
en Sybase hago esto:
set @fecha=dateadd(month,-5,@fecha);
q quiere decir
"restarle 5 meses a la variable fecha"
y atribuirle ese valor a la misma variable
ejemplo: ------
The following statement returns the value: 1995-11-02 00:00:00.000.
SELECT dateadd( month, 102, '1987/05/02' )
como puedo hacerlo en PostgreSQL ??????
GRACIAS..
______________ ICQ 143590717 _________________
Sandrigo Lezcano Jara Asunción, Paraguay
usando...: Ret Hat 7.2 (Enigma)
Kernel 2.4.7-10
PostgreSQL 7.3.3
migrando.: Sybase 6.5 al PostgreSQL
front_end: PowerBuilder 6.5
_____________________________________________
Yahoo messenger ID: alkafes(at)yahoo(dot)com
Hotmail messenger ID: sandrigolezcano(at)hotmail(dot)com
==========================================
From | Date | Subject | |
---|---|---|---|
Next Message | Patricio Muñoz | 2003-06-11 17:16:33 | Re: [Pgsql-ayuda] Autenticacion fallida |
Previous Message | Alvaro Herrera Munoz | 2003-06-11 16:55:04 | Re: [Pgsql-ayuda] Ayuda con poblamiento |