Title: RE: Function-based Index

Cherie,

you could you a MV (with query_rewrite) ro do what you want ... make sure you use refresh on commit ... FBI won't be of much use in this scenario ...

Raj
______________________________________________________
Rajendra Jamadagni              MIS, ESPN Inc.
Rajendra dot Jamadagni at ESPN dot com
Any opinion expressed here is personal and doesn't reflect that of ESPN Inc.
QOTD: Any clod can have facts, but having an opinion is an art!

-----Original Message-----
Sent: 11 December 2002 21:09
To: Multiple recipients of list ORACLE-L



I have the following statement that I would like to create a function-based
index for:

SELECT MIN(tran_dt)
FROM ach_tran
WHERE cnfr_no = :b1


I'd like the index to include columns cnfr_no and tran_dt (in that order).
The examples I've seen are
just single-column indexes.   Is it possible to have this  additional
column in a function-based index that
is not involved in the actual function?   If yes, what would the index
creation statement look like?

This is version 9.2.0.1 on Sun Solaris 2.6.

********************************************************************This e-mail 
message is confidential, intended only for the named recipient(s) above and may 
contain information that is privileged, attorney work product or exempt from 
disclosure under applicable law. If you have received this message in error, or are 
not the named recipient(s), please immediately notify corporate MIS at (860) 766-2000 
and delete this e-mail message from your computer, Thank 
you.*********************************************************************2


Reply via email to