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

Home -> Community -> Usenet -> c.d.o.misc -> Re: sqlldr log

Re: sqlldr log

From: Ed Prochak <edprochak_at_gmail.com>
Date: Mon, 17 Sep 2007 17:57:12 -0000
Message-ID: <1190051832.930628.146840@50g2000hsm.googlegroups.com>


On Sep 17, 11:11 am, Mim <michele.ta..._at_transics.com> wrote:
> Hello,
>
> I am using sql loader to import some data into our oracle 10g database
> from a sybase database.
> The data is pulled from the sybase database by our own tool and
> everything is put in files (two per table: .ctl and .txt file). Our
> tool also creates a batch file which contains the sqlldr statements to
> import each of the previously created files.
> I have one problem though. When the CTL file is not correct (e.g. a
> columnname of a table is not the same as the columnname found on the
> oracle table), no bad file is created.The error is logged in the log
> file, but because we have hundreds of tables, there is no rapid way to
> see that import of table xx failed due to column misspelling.
>
> Is there a way to set up sql loader to only make a log file when an
> error occured? Or to write the error in another kind of file (maybe
> also a .bad file)?
>
> I already tried to write the output of my bad file to its own log
> with:
> CALL IMPORT_ALL_TABLES.BAT > IMPORT.log
> but the messages that matter (the errors) still display on screen and
> are not written in the log file.
>
> Greetings
>
> Michèle

No mention of what OS you are using.
That redirect issue is an OS issue not ORACLE.

Ed Received on Mon Sep 17 2007 - 12:57:12 CDT

Original text of this message

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