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: Index or Primary key ??

Re: Index or Primary key ??

From: Patrick Suppes <psuppes_at_lucent.com>
Date: Fri, 23 Apr 1999 11:17:01 -0600
Message-ID: <3720AB0D.36BBDB03@lucent.com>


Primary keys can be identified by looking in all_constraints (aka sys.dba_constraints). You can look up the index by name or by owner/table.

Primary keys are identified with a constraint_type of 'P'.

Patrick Suppes

nieuws net wrote:

> Good morning
>
> My goal is to automate the index sizing for production instances.
> When i look at the view USER_INDEXES there is no difference between
> the primary and the secondary index.
> In my mind you don't have store the primary key apart from data in a
> different tablespace.
> So my question is to you
>
> how do i distinct indexes from primary indexes with the help from a view ??
>
> thanks
>
> gkor_at_rdw.nl
Received on Fri Apr 23 1999 - 12:17:01 CDT

Original text of this message

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