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: Question: cleaning up PK indexes

Re: Question: cleaning up PK indexes

From: DW <dwhittier_at_shaw.ca>
Date: 29 Apr 2005 15:25:47 -0700
Message-ID: <1114813547.167198.180900@o13g2000cwo.googlegroups.com>


Thanks for the pointer; here's what I came up with:

select constraint_name from sys.all_constraints where constraint_name like 'PK_%' and constraint_name not in (select index_name from sys.all_indexes)

Seems to give me what I'm looking for...

Cheers,

DW Received on Fri Apr 29 2005 - 17:25:47 CDT

Original text of this message

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