2010/5/4 Desarrollo Escuintla <desarrollo(dot)escuintla(at)gmail(dot)com>:
>
>
> select tbl_08.tbl_08_fecha,tbl_10.* from tbl_10
> right join tbl_08
> on
> tbl_08.tbl_08_no=tbl_10.tbl_08_no
> where tbl_08.tbl_08_fecha BETWEEN to_date(:PDE,'DD/MM/YYYY') AND
> to_date(:PA,'DD/MM/YYYY');
>
>
>
> me muestra el siguiente error:
>
> SQL:ERROR: no existe la función to_date(date,unknown);
> Error while executing the query
>
necesitas un cast: to_date(:PA, 'DD/MM/YYYY'::text)
--
Jaime Casanova www.2ndQuadrant.com
Soporte y capacitación de PostgreSQL