[EMAIL PROTECTED] wrote:
> 
> Hi,
> 
> If I have a function based index such as
> CREATE INDEX emp_idx01 on emp(SUBSTR(first_name,1,20))
> 
> Is there a way to build index where 1,20 portion can be parameterized? If
> so how would this be done?
> 
> Thanks
> Rick
> 

No. The function is simply applied to the column when the index is
created, so it's fairly 'static'. My guess is that the index could
possibly be used for a search on substr(first_name, 1, 10), � la like
'something%' but I have not tried it.
-- 
Regards,

Stephane Faroult
Oriole Software
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Stephane Faroult
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

Reply via email to