Felipe Araoz Ramos escribió:
> en mi aplicacion indico el mes y año y con estos parametro quiero filtrar
> solo las fechas que coincidan con los parametros indicados en mes y año.
>
> SELECT * FROM mytabla WHERE fecha=parametro1 AND fecha=parametro2
SELECT * FROM mytabla WHERE extract('year' from fecha)=parametro1 AND
extract('month' from fecha)=parametro2
--
Alvaro Herrera http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support