Hi,
i have a file like this:
name,surname,birthdate (date format mm/dd/yyyy)
I want to load it in a table but in some records date format is different than the format i'm specifying and for those i want to still load name and surname but not load date. Is it possible?
This is my control file:
load data
infile 'search.txt'
insert into table search
fields terminated by ','
(surname char(40),
name char(40),
birthdate date "mm/dd/yyyy"
Thanks
i have a file like this:
name,surname,birthdate (date format mm/dd/yyyy)
I want to load it in a table but in some records date format is different than the format i'm specifying and for those i want to still load name and surname but not load date. Is it possible?
This is my control file:
load data
infile 'search.txt'
insert into table search
fields terminated by ','
(surname char(40),
name char(40),
birthdate date "mm/dd/yyyy"
Thanks