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 -> Re: case sensitive solutions requested for odbc with oracle and/or sql-server.

Re: case sensitive solutions requested for odbc with oracle and/or sql-server.

From: Keith Jamieson <pdkj02_at_email.mot.com>
Date: Tue, 01 Jun 1999 13:44:58 +0100
Message-ID: <3753D5CA.FC0DB087@email.mot.com>


Have your normal sort column and then a  second column with exactly
the same data but stored in either UPPER or LOWER Case.

All indexes, searches, and sorts  should be based on this second column, but retrievals based on the first column.
When storing data you can either force the data in the column to be upper or lower case,
by using the UPPER or LOWER functions.
 

Stef ten Bras wrote:

 
Hi community,

I am looking into solutions with case sensitive for
storing data,  (preferable mixed)
sorting data, (lower case should be equal to upper case)
indexing, (should be done case insensitive)
finding data, (how to do that).

Our application works through an ODBC interface, to an Oracle or
SQL-server database.
The SQL-server database can be defined case-insensitive. This is
allright by us.
What steps do we take to use the same solution (client application) to
use Oracle in
a case-insensitive matter ?

I have tried to track old messages with Deja but didn't come up with a
definitive answer and
there were a lot of messages I couldn't reach or read (language
barrier).

Suggestions seen so far are using UPPER (or LOWER) but UPPER seems to be
the preferred way,
or converting the complete database to upper or lower. Or using extra
colums which contain the
converted data. To my understanding a mixed case index will not work if
you don't use the exactly
same mixed case while searching.
What solutions do other database programmers use for this problem ?

Thanks for your attention, have a nice day,
stef,

-- 
E-mail: 
+------------------------------------------------------------------+
| stef ten bras, HISCOM afdeling Systeem Ontwikkeling    __   o  ~ |
| Schipholweg 97, Postbus 901, 2300 AX Leiden, Nederland _ _/[._   |
| Tel. +31 71 5256758,      Email stbras@hiscom.nl    --  (_)>(_)  |
+------------------------------------------------------------------+
 
  Received on Tue Jun 01 1999 - 07:44:58 CDT

Original text of this message

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