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

Home -> Community -> Usenet -> c.d.o.tools -> Re: Update primary key

Re: Update primary key

From: Brian Peasland <peasland_at_edcmail.cr.usgs.gov>
Date: 2000/06/23
Message-ID: <39535DAA.A637BFEC@edcmail.cr.usgs.gov>#1/1

Hakan is correct and I'd like to just add one more point. If the table is partitioned on the primary key, then you can update the primary key so long as the update does not force the row to move to a new partition.

HTH,
Brian

Hakan Eren wrote:
>
> Hi,
>
> Simply it is not true. You can update the primary key as long as the new
> key is unique.
>
> Regards
>
> Hakan
>
> Kevin wrote:
> >
> > Hi,
> > I'm a newbie in Oracle. I would like to ask if a primary key of a table
> > can be updated because someone told me it's illegal to update any primary
> > keys.
> > Any post / FAQ response are welcome.
> > Thanx
 

-- 
========================================
Brian Peasland
Raytheons Systems at
  USGS EROS Data Center
These opinions are my own and do not
necessarily reflect the opinions of my 
company!
========================================
Received on Fri Jun 23 2000 - 00:00:00 CDT

Original text of this message

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