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

Home -> Community -> Usenet -> c.d.o.tools -> Re: Cannot drop an index with a mixed-cased name

Re: Cannot drop an index with a mixed-cased name

From: Jerry Gitomer <jgitomer_at_erols.com>
Date: Mon, 29 Jan 2001 23:47:12 +0000
Message-ID: <955gvd$419$1@bob.news.rcn.net>

Dino Hsu wrote:

> Dear all,
>
> We have a table BTRX with a unique index PrimaryKey (its name
> is PrimaryKey, but it is not a primary key index, however). I
> can select it from USER_TABLES, ALL_TABLES, and DBA_TABLES,
> but I cannot drop it or rename it with the following SQL
> commends:
>
> drop index PrimaryKey;
> alter index PrimaryKey rename to PRIMARYKEY;
>
> Both return the message: ORA-01418: the index doesn't exist.
>
> The odd thing is all indexes come with all-upper-case names
> except for this one, and I cannot do anything to it without
> dropping the underlined table. Doesn't it look like a ghost
> haunting?
>
> Anyone has comments? Thanks in advance.
>
> Regards,
> Dino

Put the present name in quotes.

-- 
Jerry Gitomer
Once I learned how to spell DBA, I became one       
Received on Mon Jan 29 2001 - 17:47:12 CST

Original text of this message

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