Oracle - CONVERTIR NUMERO A HORAS

 
Vista:

CONVERTIR NUMERO A HORAS

Publicado por E. SANCHEZ (1 intervención) el 10/01/2006 15:35:28
AMIGOS NECESITO AYUDA , CONVERTIR NUMERO A FORMATO HORA
POR EJEMPLO CONVERTIR 123.34 A 02:34:00 ESPERO SU AYUDA
SALUDOS
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder

RE:CONVERTIR NUMERO A HORAS

Publicado por JSL (186 intervenciones) el 11/01/2006 18:35:50
SELECT TRUNC((fin-inicio)*24) horas ,
TRUNC( ((fin-inicio)*24-TRUNC((fin-inicio)*24) ) * 60 ) MINS ,
( ( (fin-inicio)*24-TRUNC((fin-inicio)*24) ) * 60 - TRUNC(( (fin-inicio)*24-TRUNC((fin-inicio)*24) ) * 60 ) ) * 60 SEGS ,
rt.*
FROM retasados_bitacora rt WHERE TRUNC(ejecucion) = '05012006'

La resta de fin - inicio me devuelte un numero ...

Haz un ejemplo con fin = sysdate, y inicio = trunc(sysdate)
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar

RE:CONVERTIR NUMERO A HORAS

Publicado por FFF (1 intervención) el 11/01/2006 20:54:42
SOS GRANDE...
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar