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

Home -> Community -> Mailing Lists -> Oracle-L -> Re: Is there a way to determine which record was entered in last

Re: Is there a way to determine which record was entered in last

From: Stephane Faroult <sfaroult_at_oriole.com>
Date: Tue, 27 Aug 2002 11:23:23 -0800
Message-ID: <F001.004C0993.20020827112323@fatcity.com>


Rick_Cale_at_teamhealth.com wrote:
>
> Hi,
>
> I have records that have same key fields(PK was disabled) but other fields
> are different. Is there a way to determine which record was inserted in
> last.
> I do not think rowid would guarantee it.
>
> Thanks
> Rick
>

No if you have no timestamp. I would tend to say that if : a) no delete is ever performed
b) the number of freelists is one
then the rowid WITHIN ONE EXTENT would probably be significant, and I don't see any reason why extents would not be filled in the order in which they appear in DBA_EXTENTS, but there is no absolute certainty.

-- 
Regards,

Stephane Faroult
Oriole Software
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Stephane Faroult
  INET: sfaroult_at_oriole.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Tue Aug 27 2002 - 14:23:23 CDT

Original text of this message

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