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: Strange ROWID problem

Re: Strange ROWID problem

From: Steve Haynes <steve_at_rwx777.demon.co.uk>
Date: Mon, 13 Jul 1998 23:08:05 +0100
Message-ID: <aioSNEAFVoq1Ewcb@rwx777.demon.co.uk>


If I follow this, you have multiple copies of the same rowid - not to mention multiple same primary keys. Must be corruption.

Select rowid, count(*)
from mytable
group by rowid
having count(*) > 1;
This should always produce no rows. Ditto for PK.

This might be a long shot but if you suspect the
"<" operator with rowid, try ROWIDTOCHAR or similar.
Does it behave the same?

Check if you have anlayze table validate structure in v7...

Perhaps the easiest fix is to open a pl/sql cursor to fetch by rowid then delete any found after the first occurance of each, but this is too weird. It shouldn't happen. Steve
--
"The floggings will continue until morale improves."
Received on Mon Jul 13 1998 - 17:08:05 CDT

Original text of this message

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