![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
26/03/2012, 16:57
|
| | Fecha de Ingreso: noviembre-2007
Mensajes: 37
Antigüedad: 17 años, 3 meses Puntos: 0 | |
Restar Fecha en SP Para restar un dia a una fecha en un SP?
Quiero restarle a la fecha Final un dia.
where
date_format(fecha, '%Y/%m/%d') between date_format(pFechaFinal,'%Y/%m/01') and pFechaFinal
group by fecha order by fecha,codigo; |