Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: case INsensitive queries
This is a multi-part message in MIME format.
--------------E849DC21CF1B9D684255FCF9 Content-Type: text/plain; charset=us-ascii Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Transfer-Encoding: 7bit
select blah, blahblah from blabla where 'BLAH' = UPPER(bLaH)
This has the disadvantage of invoking a function on a possibly indexed column thereby turning off the index. Depending on the number of rows and expected result, this may or may not be significant. Suggest using COST based with COMPUTED stats on this table and indexes.
Enjoy!
Steve Larson wrote:
> Does anyone know of a way to store data in mixed case in an Oracle
> database,
> yet have Oracle ignore case when parsing where statements?
>
> Is it possible to acheive this by defining my own character set? Any
> hints on
> how to do this?
--------------E849DC21CF1B9D684255FCF9 Content-Type: text/x-vcard; charset=us-ascii; name="vcard.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Someone Content-Disposition: attachment; filename="vcard.vcf" begin: vcard fn: Someone n: ;Someone email;internet: answers_at_erols.com.tyfns title: Important note: Remove tyfns from my email address to reply. TYFNS stands for "Thank you for not spamming."x-mozilla-cpt: ;0
--------------E849DC21CF1B9D684255FCF9-- Received on Fri Oct 03 1997 - 00:00:00 CDT
![]() |
![]() |