Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> SQL*Loader defaultif?
I've read the manuals and still need help with:
How do I specify, "If the data in the flat file to be loaded for column XXX is NULL, default the column to 'ABC' "? I tried using CONSTANT 'ABC', but that doesn't read (skips) any data from the flat file for that column, which brings up another question. Is there a way to skip (dummy-up) the reading of a column of data? Is DEFAULTIF what I need? Please show an example.
Thanks,
Alan Martin
Database Administrator
GMAC Insurance Personal Lines
Winston-Salem, NC
Alan.Martin_at_GMACInsurance.com
![]() |
![]() |