Ver Mensaje Individual
  #3 (permalink)  
Antiguo 22/02/2011, 07:25
Avatar de andrew14
andrew14
 
Fecha de Ingreso: enero-2007
Ubicación: Colombia
Mensajes: 13
Antigüedad: 18 años
Puntos: 0
Respuesta: Error consultando fechas

hola lo hice como me indicaste
select count(*) from users where dtcreated > '01012011' AND dtcreated < '22022011'

pero igual me arroja error

The conversion of a varchar data type to a datetime data type resulted in an out-of-range value.

Saludos