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: SQL*Loader problem

Re: SQL*Loader problem

From: Robert Chin <robert_chin_2000_at_hotmail.com>
Date: Mon, 03 Dec 2001 04:38:33 GMT
Message-ID: <dlDO7.68313$z8.10498466@news02.optonline.net>


Don't think that'd work.
If you look at the log, SQLLDR complains about the missing data and suggests the solution: TRAILING NULLCOLS

So try:

FIELDS TERMINATED BY ','
TRAILING NULLCOLS
( f1,
  f2,
  XXX "NVL(:xxx,'YYY')"
)

Note you can put your custom pl/sql function in place of that NVL to be called from sqlldr.

--
Robert Chin


> If I understand your question, writing the literal value in for the field
> position should solve your problem.
>
> FIELDS TERMINATED BY ','
> (f1, f2,'xxx')
Received on Sun Dec 02 2001 - 22:38:33 CST

Original text of this message

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