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: Will ROWID change during DB Runing??

Re: Will ROWID change during DB Runing??

From: DA Morgan <damorgan_at_x.washington.edu>
Date: Fri, 31 Dec 2004 00:37:53 -0800
Message-ID: <41d50ec2$1_2@127.0.0.1>


nntp.lucent.com wrote:

> Hi,
>
> Does anyone know that whether the rowid will change for one record during
> ORACLE runing?
>
> From the below link
> http://www.adp-gmbh.ch/ora/concepts/rowid.html
> I found such words:
> Although a rowid uniquely identifies a row in a table, it might change its
> value if the underlying table is an index organized table or a partitioned
> table.
>
> Thanks in advance!
> Best Regards,
> Grant

ROWID can change and should not be used to identify a row unless that row has been locked: SELECT ... FOR UPDATE.

-- 
Daniel A. Morgan
University of Washington
damorgan_at_x.washington.edu
(replace 'x' with 'u' to respond)
Received on Fri Dec 31 2004 - 02:37:53 CST

Original text of this message

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