RE: rowid value

  • From: "Powell, Mark" <mark.powell2@xxxxxx>
  • To: ORACLE-L <oracle-l@xxxxxxxxxxxxx>
  • Date: Fri, 8 Aug 2014 18:55:01 +0000

Jared said, “Identifying which 'duplicate' to delete it [sic] not always 
straight forward.”

No it isn’t since the non-key columns may differ and in some cases you actually 
should determine which row to save based on the non-key data.  Worse is when 
you discover you need some data from multiple rows.



From: oracle-l-bounce@xxxxxxxxxxxxx [mailto:oracle-l-bounce@xxxxxxxxxxxxx] On 
Behalf Of Jared Still
Sent: Friday, August 08, 2014 2:23 PM
To: kibeha@xxxxxxxxx
Cc: Hemant-K.Chitale@xxxxxx; Brian Zelli; ORACLE-L
Subject: Re: rowid value


On Wed, Aug 6, 2014 at 1:15 AM, Kim Berg Hansen 
<kibeha@xxxxxxxxx<mailto:kibeha@xxxxxxxxx>> wrote:
If the idea of deleting the "higher" ROWID is to delete the "newest" row, that 
is not at all certain. But if the rows are identical duplicates, that shouldn't 
matter ;-)

Probably this is already stated somewhere in this thread, but it bears 
repeating.

Duplicate refers to PK/UK, not the row.

Identifying which 'duplicate' to delete it not always straight forward.



Jared Still
Certifiable Oracle DBA and Part Time Perl Evangelist
Sr Oracle DBA at Pythian
Pythian Blog http://www.pythian.com/blog/author/still/
Oracle Blog: http://jkstill.blogspot.com
Home Page: http://jaredstill.com

Other related posts: