Re: Question on Case-insensitive queries

From: Ian A. MacGregor <ian_at_tethys.SLAC.Stanford.EDU>
Date: Mon, 5 Jul 1993 13:58:47 GMT
Message-ID: <C9p2tz.C7_at_unixhub.SLAC.Stanford.EDU>


In article <210cl9$883_at_Tut.MsState.Edu>, sab3_at_Ra.MsState.Edu (Sudhakar Bhagavatula) writes:
|> Hi,
|> Could someone please tell the method to perform Case-insensitive
|> queries. Please send me an e-mail to:
|> sudhakar_at_cs.msstate.edu
|>
|> Thanks in advance.
|>
|> --Sudhakar.
|>
|> --
|> << Sudhakar >>
|>

In SQL*PLUS you simply force everything to the same case:

             where upper(column_name) = 'STRING'

This does prevent the use of an index on the column. For SQL*FORMS, see the Advanced Forms Techniques manual; a very handy book. It describes how to perform case insensitive queries in detail.

                                 Ian MacGregor
                                 Stanford Linear Accelerator Center
                                 (415) 926-3528                              
Received on Mon Jul 05 1993 - 15:58:47 CEST

Original text of this message