Ver Mensaje Individual
  #2 (permalink)  
Antiguo 15/09/2010, 07:23
Avatar de huesos52
huesos52
Colaborador
 
Fecha de Ingreso: febrero-2009
Ubicación: Manizales - Colombia
Mensajes: 5.980
Antigüedad: 15 años, 3 meses
Puntos: 360
Respuesta: Consulta SQL. Fecha y Hora

Código SQL:
Ver original
  1. SELECT *FROM tabla
  2. WHERE fecha_creacion
  3. BETWEEN CONCAT('fecha_ingresada',' ','18:00:00')
  4. AND CONCAT(DATE_ADD('fecha_ingresada',INTERVAL 1 DAY),' ','18:00:00')

No la he probado
__________________
Without data, You are another person with an opinion.
W. Edwads Deming