| From: | sergio carrasco <a882sacl(at)yahoo(dot)com(dot)ar> |
|---|---|
| To: | Raul Andres Duque <ra_duque(at)yahoo(dot)com(dot)mx>, pgsql-es-ayuda(at)postgresql(dot)org |
| Subject: | Re: No usa índice |
| Date: | 2007-09-12 17:49:22 |
| Message-ID: | 955292.45317.qm@web36806.mail.mud.yahoo.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-es-ayuda |
¡ Raúl !
--- Raul Andres Duque <ra_duque(at)yahoo(dot)com(dot)mx>
escribió:
> Gracias Sergio ... buen dato ... sin embargo no sé
> como creaste ese indice
> "casteado". Intenté con:
>
> CREATE INDEX idx_movimiento_fecha
> ON postgresql.def_movimiento
> USING btree
> (fecha_movimiento::date);
CREATE INDEX idx_movimiento_fecha
ON postgresql.def_movimiento
USING btree
( cast(fecha_movimiento as date) );
¡ Suerte !
Sergio
Seguí de cerca a la Selección Argentina de Rugby en el Mundial de Francia 2007.
http://ar.sports.yahoo.com/mundialderugby
| From | Date | Subject | |
|---|---|---|---|
| Next Message | LIZETH ANGHELA SIRPA CACERES | 2007-09-12 17:57:10 | PROCEDMIENTOS ALMACENADOS |
| Previous Message | LIZETH ANGHELA SIRPA CACERES | 2007-09-12 17:25:45 | URGENTE |