![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
12/07/2010, 13:11
|
| | Fecha de Ingreso: diciembre-2001 Ubicación: Peru
Mensajes: 376
Antigüedad: 23 años, 2 meses Puntos: 0 | |
Respuesta: Excedo el valor maximo de time Yo pongo la consulta tal cual
SELECT IF(TTotal<86400, SEC_TO_TIME(Ttotal), CONCAT((TTotal DIV 86400), '.', (SEC_TO_TIME(Ttotal % 86400))))
FROM (SELECT sum(TIME_TO_SEC(TiempoTotal)) TTotal FROM `servicio` WHERE MONTH(fecha) =06) T1
y sale ese error.
Saludos |