
08/12/2010, 17:25
|
 | Colaborador | | Fecha de Ingreso: agosto-2006 Ubicación: En la hermosa perla de occidente
Mensajes: 7.412
Antigüedad: 18 años, 6 meses Puntos: 774 | |
Respuesta: Comparar Fechas tipo datetime Pues depende como quieras compararlas podria ser asi: select * from tabla where fecha >= convert(datetime,tu_fecha) select * from tabla where fecha <= convert(datetime,tu_fecha) select * from tabla where fecha between convert(datetime,tu_fecha) and convert(datetime,tufecha)
Saludos! |