Excerpts from Miguel Beltran R.'s message of lun ago 02 14:03:08 -0400 2010:

>   ON folio
>   USING btree
>   (CASE
>             WHEN (strpos(folio.folio::text, '-'::text) - 1) > 0
>             THEN substr(folio.folio::text, 1, strpos(folio.folio::text,
> '-'::text) - 1)::bigint
>             ELSE folio.folio::bigint
>         END );

Corrige el modelo.

-- 
Álvaro Herrera <alvhe...@commandprompt.com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support
-
Enviado a la lista de correo pgsql-es-ayuda (pgsql-es-ayuda@postgresql.org)
Para cambiar tu suscripci�n:
http://www.postgresql.org/mailpref/pgsql-es-ayuda

Responder a