Re: IDataReader.Read() throws Exception! How can i skip a row?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



So I'm afraid it messes the data stream. I would try an Oracle forum. Have
you tried to report this problem to those who could fix the DB ? I can't
imagine they are not willing to fix what seems a DB corruption ?

IMO trying to make an application able to work against a corrupted DB is
really not a solution.

I would skip this row not selecting this primary key and would definitely
report the problem to the db owner so that they can check and fix this
problem...

Good luck.

--
Patrice

"Venkat" <Venkat@xxxxxxxxxxxxxxxxxxxxxxxxx> a écrit dans le message de
groupe de discussion : A8200ED9-5CCA-4271-ADBD-6F2BEB17CFF8@xxxxxxxxxxxxxxxx
Patrice,
Thanks for your response.
When using a try/catch block and trying to read again in the catch block
the
cursor is not valid (i get a "ORA-01002: fetch out of sequence" error).

Is there some sort of "peek" or "skip" in OracleDataReader so that I can
ignore the problematic row(s)?

And there's nothing I can do to fix the actual data :-(

-Venkat

"Patrice" wrote:

What happens when using try/catch ? (if the stream doesn't recover from
this you can't perhaps not continue).

That said, my personal preference would be likely to report this to
someone
that can fix this as working with a corrupted database is likely to cause
further problems (or avoid the row by not selecting this particular key
for
now)....

Possibly point them to :

http://dbcrusade.blogspot.com/2008/08/oracle-resolving-ora-29275-partial.html

That seems to show how to fix the DB...
--
Patrice


.



Relevant Pages

  • Re: ReportBuilder 9.03 is now available for Delphi 2005, Delphi 7, and Delphi 6!
    ... >> - Added support for TeeChart 7.05. ... >> - Fix for RichText Editor in Delphi 2005, ... >> when the report generation process is canceled. ... >> - Modified the RAP compiler to allow the local Var and Const sections to ...
    (borland.public.delphi.thirdpartytools.general)
  • Re: Computer reboots spontaneously
    ... IOW don't try to fix anything. ... diagnostics would be on disk and on manufacturer's web site. ... But marginal hardware tends to fail ... The status report on the hard drives shows OK when the computer boots. ...
    (microsoft.public.windowsxp.general)
  • Re: Testing Internet and Telephony Applications
    ... I need to prepare the test plan, schedule it, (reschedule in due ... going to take to report the problem. ... if there will be a fix. ... estimate testing time; your development manager or project manager has ...
    (comp.software.testing)
  • Re: when to fix , when to not to fix the vuln.
    ... Someone gave you a pentest report, or a basic tool scan report or ... fix it, or when you dont fix it? ... risk profile such that patching itself is considered a bigger risk to ...
    (Pen-Test)
  • Re: Cannot access "explore" or "search"
    ... track down the real cause and see a fix for many folks having this ... the feeling that the majority of folks with "the windows explorer ... A VERY few actually report ... >>posting that confirmed this for the Windows Explorer problem. ...
    (microsoft.public.windowsxp.general)