Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Case sensitive where clause

Re: Case sensitive where clause

From: Régis Padilha Vaz <oracy_at_zaz.com.br>
Date: Tue, 06 Apr 1999 20:36:39 -0300
Message-ID: <370A9A86.A59BD443@zaz.com.br>


Hi!

This way, field = upper('x'), when you able to store only upper-case values in that field is much better, because the other way cause the Oracle suppress index use to search the table. Usually, this means that a Full Table scan will occur.

Best Regards,

Regis Vaz
regis.vaz_at_zaz.com.br

Serge wrote:

> If you are able to store only upper-case values in that field, that it would
> be much better:
>
> select * from table where field = upper(value)
>
> Fredy Tschui ÐÉÛÅÔ × ÓÏÏÂÝÅÎÉÉ <7d8gjp$ijv$1_at_sibyl.sunrise.ch> ...
> >Is there any way to prevent case sensitive results from a where clause ?
> >
> >The following results are different:
> > select * from table where field = "X"
> > select * from table where field = "x"
> >
> >Thanx, Fredy
> >
> >
> >
Received on Tue Apr 06 1999 - 18:36:39 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US