Ver Mensaje Individual
  #1 (permalink)  
Antiguo 23/06/2005, 10:48
Avatar de Nombela
Nombela
 
Fecha de Ingreso: abril-2005
Mensajes: 611
Antigüedad: 20 años
Puntos: 1
Compara fechas tipo texto

Hola me gustaria poder comparar unas fechas para una sql, las fechas estan en tipo texto en la base de datos y no se como hacerlo. Por ahora lo tengo asi:

select Inventario.IdInventario,Inventario.PartNumber,Inve ntario.Descripcion,Inventario.NSerie, Inventario.FechaSalida FROM Usuarios .....
where IdInventario like '%' and Inventario.IdEstado <> 5 and Inventario.FechaSalida BETWEEN #1/06/2005# and #28/06/2005# order by FechaSalida

Como hago si la fecha es texto???

gracias