MySQL Forums
Forum List  »  Newbie

Re: LOAD DATA INFILE date format hell
Posted by: Gary Thomas
Date: January 24, 2007 11:08AM

all most there
this set date line is not working


SET Date = date_format(str_to_date(@date, '%d/%m/%y'), '%Y/%m/%d');

24/01/07 is how it is on the csv but mysql need 2007/01/24



agen Any help on this matter would be appreciated.

Many Thanks in advance

Gary Thomas

Options: ReplyQuote


Subject
Written By
Posted
Re: LOAD DATA INFILE date format hell
January 24, 2007 11:08AM


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.