![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
05/01/2012, 15:37
|
| | Fecha de Ingreso: abril-2010
Mensajes: 23
Antigüedad: 14 años, 10 meses Puntos: 0 | |
Error al realizar resta de tiempos Hola Buen Dia
Tengo el sisguiente query funciona perfectamente. select datediff(s,hinicio,hfin) as result
from telefonia (nolock)
al ejecutarlo bien pero despues me manda el siguiente error difference of two datetime caused overflow at runtime
yo lo quiero realizar es la resta de tiempos en el siguiente formato estan mis tiempos
hinicio---- hfin 15:34:28 15:34:29
15:34:27 15:34:29
si lo convierto a minutos como algunos es la solucion que e visto, al momento de querer realizar la resta entre segundos manda 0.
Quisera me pudieran ayudar |