Ver Mensaje Individual
  #2 (permalink)  
Antiguo 07/11/2012, 01:55
Avatar de Heimish2000
Heimish2000
 
Fecha de Ingreso: enero-2011
Ubicación: Madrid
Mensajes: 844
Antigüedad: 13 años, 3 meses
Puntos: 89
Respuesta: Coger Fecha con SQL

Código SQL:
Ver original
  1. SELECT  RTH.numreserva, rth.numhabitacio
  2.     FROM reservatehabitacions RTH
  3.     WHERE RTH.numhabitacio='100' AND rth.datainicialhab>getdate()