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



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


"Venkat" <Venkat@xxxxxxxxxxxxxxxxxxxxxxxxx> a écrit dans le message de
groupe de discussion : 05BCB70A-1906-4490-AA9E-1BC73EAD364B@xxxxxxxxxxxxxxxx
Hello,
I am trying to do a simple dump of a huge table (~25 million rows) from
an Oracle database using Oracle Data Provider.Net.
I am calling ExecuteReader() on the Command object and then
DataReader.Read() in a loop.
Some where halfway through, an exception is thrown because of corrupt data
(ORA-29275: partial multibyte character)

I want to know if it is possible to skip this particular row and continue
with the rest of rows.

Other limitations:
1) I have only read permission on the target DB. So I cannot change
anything.

-Regards,
Venkat


.



Relevant Pages

  • Re: My day and To Do list problems
    ... The symptoms are those of a corrupted database, ... So I think this suggestion cannot fix the problem. ... "uninstaller" like PC software does: you have to run the Remove Office Tool. ... In your Entourage calendar, if you are looking for specific events on your ...
    (microsoft.public.mac.office)
  • Re: OID/LDAP problem - Any help with a fix would be appreciated
    ... occurs in a 9.2.0.6 Oracle database when using dblinks. ... Oracle's fix is ... to roll back to TNSNAMS or upgrade to 10G. ...
    (comp.databases.oracle.server)
  • Perl - connecting to Oracle
    ... I have been trying to update some old Perl code to fix a web page that prints ... data from an Oracle database. ... AND sta.station =:station ...
    (perl.dbi.users)
  • IDataReader.Read() throws Exception! How can i skip a row?
    ... I am trying to do a simple dump of a huge table from ... an Oracle database using Oracle Data Provider.Net. ... I am calling ExecuteReader() on the Command object and then ...
    (microsoft.public.dotnet.framework.adonet)
  • Importing data from Oracle
    ... I am creating a DTS package to import data from an Oracle database. ... package copies all the Oracle data to a SQL table. ... I am trying to modify the ...
    (microsoft.public.sqlserver.dts)

Loading