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: NULL vs. empty

Re: NULL vs. empty

From: Ed prochak <ed.prochak_at_magicinterface.com>
Date: 26 May 2004 09:54:24 -0700
Message-ID: <4b5394b2.0405260854.575f27b@posting.google.com>


Steffen Conrad <steffen.conrad_at_gmx.de> wrote in message news:<2hj0fqFddkrqU1_at_uni-berlin.de>...
> Frank van Bortel wrote:
> >
> > Oracle treats empty strings as NULLs (OK Daniel...), at least for
> > character columns (CHAR, VARCHAR, VARCHAR2, NVARCHAR, NVARCHAR2):
> [...]
>
> Hi Frank,
>
> as I mentioned the empty VARCHAR problem is solved by inserting a TAB as
> value. What I asked is what to do for INTEGER/NUMBER values...
> It is not possible to reserve a special INT value like '-1' for doing this.
>
> Bye,
> Steffen

I understand your issue with the empty string and the NULL. But how are number fields affected? If the field is numeric and the input file has no value a NULL is loaded. When you dump the table to a file the numeric field for null values will be blanks, right?

I just don't see the problem on numbers that there is on character data.

  Ed Received on Wed May 26 2004 - 11:54:24 CDT

Original text of this message

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