2010/5/4 Desarrollo Escuintla <[email protected]>:
>
>
> 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
-
Enviado a la lista de correo pgsql-es-ayuda ([email protected])
Para cambiar tu suscripci�n:
http://www.postgresql.org/mailpref/pgsql-es-ayuda

Responder a