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-create Primary Key

Re-create Primary Key

From: Steve <schen_at_prodigy.net>
Date: Wed, 20 Jun 2001 16:47:38 -0400
Message-ID: <9gr1ur$drf6$1@newssvr06-en0.news.prodigy.com>

I would like to seek guru's comment on how to re-create primary key after dropping the primary key index (not table). (rule out reindex option).

I would do:

1) disable primary key related foreign constraint on child table;
2) disable primary key constaint on present table
3) drop index
4)  recreate index
5) enable all disabled constraint

Question is:
The command on "create index xxxx on table_name (a,b) tablespace kkk storage (....)" do not have primary key indicated as you have on creating primary key index based on a new table.

If primary key constraint is enabled, would that primary key function be resumed, not only the index?

Please help.

Very appreciated.

Steve Received on Wed Jun 20 2001 - 15:47:38 CDT

Original text of this message

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