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

Home -> Community -> Usenet -> c.d.o.misc -> Re: No automatic indexes

Re: No automatic indexes

From: Brian Peasland <oracle_dba_at_nospam.peasland.net>
Date: Wed, 14 Jun 2006 13:52:36 GMT
Message-ID: <J0urvo.9zH@igsrsparc2.er.usgs.gov>


Brex wrote:
> Hi!
>
>
> Can someone please explain to me how not to generate indexes
> automatically when I create a table with PK in Oracle?
>
> Thank you in advance!
>
> Brex
>

Sorry, but you cannot. Oracle uses a unique index to help it enforce the PK constraint. You cannot have a PK constraint without an index.

HTH,
Brian

-- 
===================================================================

Brian Peasland
oracle_dba_at_nospam.peasland.net
http://www.peasland.net

Remove the "nospam." from the email address to email me.


"I can give it to you cheap, quick, and good.
Now pick two out of the three" - Unknown
Received on Wed Jun 14 2006 - 08:52:36 CDT

Original text of this message

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