Ver Mensaje Individual
  #2 (permalink)  
Antiguo 19/05/2009, 14:05
Avatar de huesos52
huesos52
Colaborador
 
Fecha de Ingreso: febrero-2009
Ubicación: Manizales - Colombia
Mensajes: 5.980
Antigüedad: 15 años, 2 meses
Puntos: 360
Respuesta: multiplicar enteros * formato time

Si OSTVLTS es tipo entero y lo deseas multiplicar por un time sería así:

Código mysql:
Ver original
  1. select sec_to_time(time_to_sec('02:30:00') * OSTVLTS) from tabla;

Un saludo.
__________________
Without data, You are another person with an opinion.
W. Edwads Deming