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: DA Morgan <damorgan_at_psoug.org>
Date: Thu, 15 Jun 2006 09:47:41 -0700
Message-ID: <1150390068.152396@bubbleator.drizzle.com>


Brex wrote:
> Thank you guys for your comments.
>
> The reason I don't want to generate indexes automatically when creating
> tables with Pk in Oracle is that I'm creating my tables with a
> powerdesigner script in which model I've already defined pks, fks and
> indexes(half of them are defined on the same columns as the ones in the
> primary keys). PD is obviously generating a CREATE INDEX statement
> after a CREATE TABLE and when running the script, Oracle complains
> because some columns are already indexed.

Edit the script and fix it. This is a really bad idea.

-- 
Daniel A. Morgan
University of Washington
damorgan_at_x.washington.edu
(replace x with u to respond)
Puget Sound Oracle Users Group
www.psoug.org
Received on Thu Jun 15 2006 - 11:47:41 CDT

Original text of this message

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