possible to use 'WHEN' in SQL Loader Control file to check for existing data in end table? [message #257062] |
Tue, 07 August 2007 08:53 |
mariag
Messages: 1 Registered: August 2007 Location: UK
|
Junior Member |
|
|
Hello
I was wondering if its possible to check for existing data in order to avoid duplicating it in the end table when using SQL Loader?
Here is my SQL Loader file:
LOAD DATA
INFILE 'iptvchannel.csv'
BADFILE 'iptvchannel.bad'
APPEND
INTO TABLE IPTVCHANNEL
fields terminated by X"09"
( ID,
EXTERNALNO,
TITLE,
AVAILABILITY "to_number(:availability)",
CALLLETTERS,
NAME,
lastupdated sysdate)
I wanted to use 'WHEN' to check to for existing data (identified by ID) so the data would not be entered again and thus making duplicates in the end table?
Is it possible or do I have to do it another way?
Thanks!
|
|
|
|
|