Ver Mensaje Individual
  #5 (permalink)  
Antiguo 03/12/2015, 07:33
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: ERROR en la función to_timestamp

Podrias hacer algo así

Código SQL:
Ver original
  1. SELECT col1, col2
  2. FROM tabla
  3. WHERE fecha BETWEEN to_timestamp('2015-12-02 12:20:48', 'YYYY-MM-DD HH24:MI:SS')
  4. AND to_timestamp('2015-12-02 12:20:49', 'YYYY-MM-DD HH24:MI:SS')
__________________
Without data, You are another person with an opinion.
W. Edwads Deming