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

Home -> Community -> Usenet -> c.d.o.misc -> Are Oracle Varchar2 columns always case-sensitive?

Are Oracle Varchar2 columns always case-sensitive?

From: Craig Goldie <cgoldie_at_peopledoc.com>
Date: Wed, 26 Jan 2000 17:42:08 +0000
Message-ID: <388F31F0.FB5819F8@peopledoc.com>


Is there any way of switching off the case-sensitiveness of the data held in VARCHAR2 columns? Fro example SQLServer7 seems to have case-sensitiveness as an install option.

i.e. I want a query such as:

SELECT * FROM EMPLOYEES
WHERE NAME = 'FrEd'

and have it return an employee whose name is 'Fred'.

I realise I could do:

SELECT * FROM EMPLOYEES
WHERE UPPER(NAME) = UPPER('FrEd')

but does this impose any performance hit?

Thanks in advance,

Craig Received on Wed Jan 26 2000 - 11:42:08 CST

Original text of this message

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