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: Q: SQL*Loader NULLIF in date

Re: Q: SQL*Loader NULLIF in date

From: Ralf Bender <ralf.bender_at_arcor.de>
Date: Thu, 06 Nov 2003 17:10:34 +0100
Message-ID: <3faa71f3$0$24763$9b4e6d93@newsread2.arcor-online.net>


Ralf Bender wrote:

> Hello
>
> i got a stupid problem here. i've got to load thousands of data with
> sql*loader. normally no problem. but there are a few records which i
> don't know to handle with.
>
> the last field is my problem:
>
> 30106053;1WES02;4082646;..
> 30109055;1WES03;4085598;..
> 30121980;1WES05;4098442;..
>
> normally it's a date here. now i want do write as NULL in db. but how?
>
> NULLIF date=blanks, should not be right, because it is not blank
>
> thx for helping
> ralf
>

ok, not two hours later i got it :-)

datum "decode(trim(to_char(:datum)),:datum,null,:datum)" Received on Thu Nov 06 2003 - 10:10:34 CST

Original text of this message

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