PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2025 → sql date
sql date
Iniciado por richard.clerc, 22,nov. 2004 18:40 - 2 respuestas
Publicado el 22,noviembre 2004 - 18:40
Comment effectuer un calcul sur date dans une requete SQL

SELECT * from table
where (date+10)>20040101


??*

merci
Publicado el 22,noviembre 2004 - 20:35
Salut,

A ma connaissance, sur un fichier HF, cette syntaxe SQL ne pasera pas. Mais si ta tabkle n'est pas HF, il faut utiliser hRequêteSansCorrection.

Ciao
http://wdgotcha.atspace.com
Publicado el 23,noviembre 2004 - 12:16
Salut,

A mon avis, cela passerait mieux de cette manière :

SELECT * from table
where (date+10)> to_date('20040101' , 'yyyymmdd')



A+