I have a text file to be uploaded to DB. I am using SQL *Loader 10.2 to do this. My text file contains some blank lines and i want them to be removed. Below is my control file
LOAD DATA
CHARACTERSET UTF8
INTO TABLE LOAD_TEMP APPEND
fields terminated by ","
TRAILING NULLCOLS
(
ADDRESS,
UPDATE_DATE "to_char(SYSDATE,'YYYY-MM-DD')",
SEQ_NO SEQUENCE(MAX,1)
)
I can't be able to use
MISSING FIELD VALUES ARE NULL
REJECT ROWS WITH ALL NULL FIELDS
to remove blank rows.