Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Oracle Tools > Re: sqlldr: set...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 2 Topic 2703 of 2833
Post > Topic >>

Re: sqlldr: setting NULL instead of rejecting record

by "fitzjarrell@[EMAIL PROTECTED] " <fitzjarrell@[EMAIL PROTECTED] > Feb 4, 2008 at 06:11 AM

On Feb 3, 2:42=A0am, Mathias Waack <M.Wa...@[EMAIL PROTECTED]
> wrote:
> Hi all,
>
> I'm going to im****t a table into oracle by using sqlldr. The table
contain=
s
> some cells with wrong contents, for instance number fields with text or
da=
te
> fields with invalid dates. sqlldr rejects these records. Is there an
optio=
n
> the tell sqlldr to just set wrong values to NULL intead of rejecting the
> whole record?
>
> Thanks,
>
> =A0 =A0 =A0 =A0 Mathias

There is (NULLIF) but it won't work in your case as you can't
guarantee the exact same value will appear in a given column across
multiple records.

I'd seriously suggest you fix the data, rather than try to finagle
SQL*Loader into replacing the errant values with NULLs.


David Fitzjarrell
 




 2 Posts in Topic:
sqlldr: setting NULL instead of rejecting record
Mathias Waack <M.Waack  2008-02-03 09:42:01 
Re: sqlldr: setting NULL instead of rejecting record
"fitzjarrell@[EMAIL   2008-02-04 06:11:13 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Tue Dec 2 19:23:15 CST 2008.