Hi
please find below A control file which I have loaded successfully - I now want to append into it -but have decided that each I run it I would rather trncate the table first and then load the data into it - how can I do this?
LOAD DATA
APPEND INTO TABLE px_extract
FIELDS TERMINATED BY "," OPTIONALLY ENCLOSED BY "'"
TRAILING NULLCOLS
(
payroll_no,
request_id,
product_code,
walsh_no,
request_date date "YYYY-MM-DD",
free_text char(2000),
priority,
high_date date "YYYY-MM-DD",
high_reason CHAR(2000),
deliver_to,
walsh_place_no,
bus_unit_id,
position_idn,
postal_address,
process_flag
)
please find below A control file which I have loaded successfully - I now want to append into it -but have decided that each I run it I would rather trncate the table first and then load the data into it - how can I do this?
LOAD DATA
APPEND INTO TABLE px_extract
FIELDS TERMINATED BY "," OPTIONALLY ENCLOSED BY "'"
TRAILING NULLCOLS
(
payroll_no,
request_id,
product_code,
walsh_no,
request_date date "YYYY-MM-DD",
free_text char(2000),
priority,
high_date date "YYYY-MM-DD",
high_reason CHAR(2000),
deliver_to,
walsh_place_no,
bus_unit_id,
position_idn,
postal_address,
process_flag
)