ErikButler
MIS
I am needing to load data from a flat file into a table
the data example is
610,1/7/1991 0:00:00,101,1/8/1991 0:00:00,101.40
here is my control file but it rejects every line of the input file
Control:
load data
infile 'i:\SALES_ORDER.txt'
insert
into table sales_order
fields terminated by ","
(
order_id,
order_date DATE 'mm/dd/yyyy' ,
customer_id,
ship_date DATE 'mm/dd/yyyy',
total
)
Please advise as to where i have hosed this thing up
Thanks
Erik
Thanks
Erik Butler
2000 MCSE
erikbutler@centurytel.net
the data example is
610,1/7/1991 0:00:00,101,1/8/1991 0:00:00,101.40
here is my control file but it rejects every line of the input file
Control:
load data
infile 'i:\SALES_ORDER.txt'
insert
into table sales_order
fields terminated by ","
(
order_id,
order_date DATE 'mm/dd/yyyy' ,
customer_id,
ship_date DATE 'mm/dd/yyyy',
total
)
Please advise as to where i have hosed this thing up
Thanks
Erik
Thanks
Erik Butler
2000 MCSE
erikbutler@centurytel.net