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: Row in USER_INDEXES table not deleted when constraint is dropped

Re: Row in USER_INDEXES table not deleted when constraint is dropped

From: DA Morgan <damorgan_at_psoug.org>
Date: Fri, 06 Oct 2006 17:08:33 -0700
Message-ID: <1160179709.990239@bubbleator.drizzle.com>


capnwhit_at_yahoo.com wrote:
> If I create a unique constraint (using "alter table x add constraint
> ..."), then Oracle will create a row in the USER_CONSTRAINTS table and
> another row in the USER_INDEXES table. If I drop the constraint (using
> "alter table x drop constraint ...") then Oracle deletes both rows most
> of the time... but sometimes the row in the USER_INDEXES table is not
> dropped. Can anybody tell me what may be happening? Running 10g,
> 10.1.0.2.0.

Can you create a demo we can try?

My guess is because the index existed before the constraint was created but I'd like to try to duplicate what you are seeing.

-- 
Daniel Morgan
University of Washington
Puget Sound Oracle Users Group
Received on Fri Oct 06 2006 - 19:08:33 CDT

Original text of this message

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