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: Can I change the primary key on a table?

Re: Can I change the primary key on a table?

From: Walt <walt_askier_at_YerBootsyahoo.com>
Date: Wed, 19 Jan 2005 09:40:48 -0500
Message-ID: <QjuHd.362$UN1.54@news.itd.umich.edu>


deanbrown3d_at_yahoo.com wrote:

> Perfect! People told me it was harder than that! Perhaps this is a new
> feature in recent releases?

No, it's always been this easy. Dealing with all the consequences is the hard part. i.e. are there any tables that have a foreign key relationship to this table? How are your apps going to handle the change? Making changes to your data design after it's been put into production will usually have repurcussions, even if the changes themselves are fairly easy to do.

P.S. Composite primary keys have their own set of problems. Many people recommend avoiding them altogether.

-- 
//-Walt
//
//
Received on Wed Jan 19 2005 - 08:40:48 CST

Original text of this message

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