Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: How to Disable Case sensivity for string compare ?
Sven,
You could try using the UPPER or LOWER charcter functions:
UPPER('Aaa') = 'AAA' UPPER('aaa') = 'AAA' UPPER('AAA') = 'AAA' LOWER('Aaa') = 'aaa'
...so your query would be:
SELECT *
FROM Tbl1
WHERE LOWER(Col1) = 'a';
...and be warned: a query applying a function to the column will ignore any index you may have on that column. (i.e. don't use LOWER if you want to use an index on col1).
Jay!!!
Loy&Hutz wrote:
> Is there a possibility / switch to dissable the case sensitivity
>
> e.g.
> Select * from Tbl1 where Col1 = 'a'
>
> ->>>
> Results with Col11 = 'A' or 'a'
>
> Greetings Sven Kunze
Received on Wed Nov 04 1998 - 10:42:06 CST