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: Reorder Primary Key - any problem?

Re: Reorder Primary Key - any problem?

From: Daniel Morgan <damorgan_at_x.washington.edu>
Date: Thu, 02 Sep 2004 20:27:10 -0700
Message-ID: <1094182088.836194@yasure>


t53864 wrote:

> I need to reorder the primary key of a table. Say,
>
> Primary Key (field1, field2)
>
> changed to:
>
> Primary Key (field2, field1)
>
> Would like to know if this creates any problem to the
> database?

Perhaps no affect and perhaps a complete disaster. Depends on child tables and foreign keys. Test ... test ... test.

-- 
Daniel A. Morgan
University of Washington
damorgan_at_x.washington.edu
(replace 'x' with 'u' to respond)
Received on Thu Sep 02 2004 - 22:27:10 CDT

Original text of this message

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