Re: LOAD DATA INFILE from csv file
Posted by:
Sachin G
Date: October 06, 2011 05:18PM
Hi Barry,
Thank you for the reply. It worked. Below is my query as per suggestion.
LOAD DATA INFILE 'C:\\Share\\Results\\ResultsData.csv'
INTO TABLE test.results
FIELDS TERMINATED BY ','
LINES TERMINATED BY '\n'
IGNORE 1 LINES
(column1, column2, @col3, column4 ...)
SET column3 = STR_TO_DATE(@col3,'%m/%d/%Y %H:%i');
I only need to change the hr format. Thanks again.
Sachin
Subject
Written By
Posted
Re: LOAD DATA INFILE from csv file
October 06, 2011 05:18PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.