
17/01/2005, 10:44
|
| | Fecha de Ingreso: diciembre-2004
Mensajes: 17
Antigüedad: 20 años, 2 meses Puntos: 0 | |
ok, creo que lo he conseguido, va bastante bien, por si a alguien le interesa lo he montado asi:
SELECT *
FROM ES_MAN_TEMPTD
WHERE CONCAT(SUBSTR(ES_MAN_TEMPTD.temp_ds_diamesini,4,5) ,"-",SUBSTR(ES_MAN_TEMPTD.temp_ds_diamesini,1,2))<=da te_format(NOW(),'%m-%d')
AND CONCAT(SUBSTR(ES_MAN_TEMPTD.temp_ds_diamesfin,4,5) ,"-",SUBSTR(ES_MAN_TEMPTD.temp_ds_diamesfin,1,2))>=da te_format(NOW(),'%m-%d').
Gracias orchaer por el interes. Nos vemos! |