
09/10/2009, 00:58
|
 | | | Fecha de Ingreso: octubre-2009
Mensajes: 134
Antigüedad: 15 años, 4 meses Puntos: 2 | |
Respuesta: Consulta de Rango de Fechas pues yo he utilizado un sql parecido como ese y no he tenido problemas
SELECT format(fechainicio,'dd/mm/yyyy') as 'Fecha inicio',format(fechaterminar,'dd/mm/yyyy') as 'Fecha fin',format(corte,'$ #####0.00') as Cantidad,format(fechainicio,'yyyy/mm/dd') as Año FROM CORTE WHERE FORMAT(FECHAinicio,'yyyy')=" & txtanio.Text & " order by fechainicio desc
ese fue el que utilice en mi caso especifico |