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 -> SQL LOADER and NOT NULL constraint

SQL LOADER and NOT NULL constraint

From: <ibm_97_at_yahoo.com>
Date: Wed, 15 Dec 1999 14:10:06 GMT
Message-ID: <8387fr$m5$1@nnrp1.deja.com>


Oracle 8i for Solaris.

Table A has a NOT NULL column, and its value is white space.

I used the the following statement to create a flat file:

set.....
spool flatfile
select col_1||'ctrl-f'||ctrl_2||'ctrl-f'||col_3 from tableA;
spool off

When I use SQLLDR to load data(for testing), it complains that violate the NOT NULL constraint. What's wrong?

Thanks a lot!!!

Sent via Deja.com http://www.deja.com/
Before you buy. Received on Wed Dec 15 1999 - 08:10:06 CST

Original text of this message

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