Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: using index
On 10 Oct 1998 03:53:51 GMT, paulkcng_at_news.netvigator.com (Ng K C Paul) wrote:
>What about ' is null ' and ' is not null '? Will it have the same behaviour
>as ' =" " ' and ' <>" " ' ?
No, ordinary B-tree indexes do not store null values, so "is (not) null" condition will never use indexes. Bitmap indexes are different, they store bitmaps also for null values, so "is null" predicates can use bitmap indexes.
HTH,
-- Jurij Modic <jmodic_at_src.si> Certified Oracle7 DBA (OCP) ================================================ The above opinions are mine and do not represent any official standpoints of my employerReceived on Sat Oct 10 1998 - 00:00:00 CDT