Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: SQL: want to create index based on part of column value

Re: SQL: want to create index based on part of column value

From: Rene van Geijn <inc10262_at_wirehub.nl>
Date: Wed, 02 Jun 1999 07:23:22 +0200
Message-ID: <3754BFCA.3B564CB3@wirehub.nl>


This will only work in 8i. see technet.oracle.com

Jean-Pierre Dery wrote:

> Hi,
>
> how can I specify an index that indexes only the first 10 characters of a
> column values ?
>
> Something like "create index myindex on mytable(substr(mycolumn, 1, 10));" ?
> Seems logical but it doesn't work.
>
> Any ideas ?
>
> Thx
>
> Jean-Pierre Dery
Received on Wed Jun 02 1999 - 00:23:22 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US