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

Home -> Community -> Mailing Lists -> Oracle-L -> RE: desc order index

RE: desc order index

From: Deshpande, Kirti <kirti.deshpande_at_verizon.com>
Date: Tue, 22 Oct 2002 06:33:42 -0800
Message-ID: <F001.004EFC28.20021022063342@fatcity.com>


That's normal for a DESCending index, as Oracle creates a function-based index for this.
Check all|user|dba_ind_expressions for the column name in column_expression.

-----Original Message-----

Sent: Tuesday, October 22, 2002 8:59 AM
To: Multiple recipients of list ORACLE-L

Hi

I create a table as follows:

create table a ( a number(1));

Then I create index as :

create index ia on a(a desc);

If i see the index columns as :

select index_name, table_name, column_name, column_position from all_ind_columns where table_name = 'A';

index_name	table_name	column_name		column_position
IA		A		SYS_NC00002$	1



What is the reason for the change in the column name of the index. How to avoid this?

TIA
-rM

--

Please see the official ORACLE-L FAQ: http://www.orafaq.com
--

Author: Rahul Mehendale
  INET: rahul.mehendale_at_tatainfotech.com

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services

---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).
--

Please see the official ORACLE-L FAQ: http://www.orafaq.com
--

Author: Deshpande, Kirti
  INET: kirti.deshpande_at_verizon.com
Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services

---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Received on Tue Oct 22 2002 - 09:33:42 CDT

Original text of this message

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