| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> c.d.o.server -> Re: sort without order by
Norris <jcheong_at_cooper.com.hk> writes:
> What is the purpose of having "where x > -99999999999999"?
> > tkyte_at_8.0> select x from t where x > -99999999999999 order by x;
To force the use of the index I think. actually in this case without it Oracle would not be able to use the index at all because x could be NULL. If x were NOT NULL and the table is analyzed Oracle would probably but not necessarily use the index anyways.
--
greg
Received on Sun Nov 21 1999 - 01:32:58 CST
![]() |
![]() |