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_at_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 Mon Dec 03 2001 - 05:38:33 CET

Original text of this message