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

Home -> Community -> Usenet -> c.d.o.server -> Re: case-insensitive sort

Re: case-insensitive sort

From: andrewst <member14183_at_dbforums.com>
Date: Mon, 13 Jan 2003 14:08:08 +0000
Message-ID: <2381014.1042466888@dbforums.com>

Originally posted by Andrey Voronov
> How I can implement case-insensitive sort without use function-based
> index?

I guess your options are:

  1. ORDER BY UPPER(colname) and have a full table scan
  2. Create another column UPPER_COLNAME and a BEFORE INSERT/UPDATE trigger that sets :NEW.upper_colname = :NEW.colname; create an index on UPPER_COLNAME; then ORDER BY upper_colname
--
Posted via http://dbforums.com
Received on Mon Jan 13 2003 - 08:08:08 CST

Original text of this message

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