Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Index on nullable column
"Jack Wang" <nospam_at_nospam.com> wrote:
> As per http://www.ixora.com.au/tips/not_null.htm,
>
> "An index on a nullable column cannot be used to drive access to a table
> unless the query contains one or more predicates against that column that
> exclude null values"
>
> Though based on my test, index on a nullable column is used to access a
> table.
Can you provide your test?
> Can someone clarify?
Yes. You probably have a predicate which excludes null values, but don't know it.
Xho
-- -------------------- http://NewsReader.Com/ -------------------- Usenet Newsgroup Service New Rate! $9.95/Month 50GBReceived on Sat Oct 04 2003 - 12:24:50 CDT