
01/06/2010, 13:23
|
 | Colaborador | | Fecha de Ingreso: febrero-2009 Ubicación: Manizales - Colombia
Mensajes: 5.980
Antigüedad: 16 años, 2 meses Puntos: 360 | |
Respuesta: consulta entre fechas MM-YYYY Rango MM-YYYY
Código SQL:
Ver originalSELECT *FROM tabla WHERE campo BETWEEN STR_TO_DATE('2010-06','%Y-%m') AND STR_TO_DATE('2010-08','%Y-%m');
No lo he probado.
__________________ Without data, You are another person with an opinion.
W. Edwads Deming |