MySQL Forums
Forum List  »  Newbie

Re: Importing issues
Posted by: Peter Brawley
Date: March 28, 2016 12:08PM

Assuming 24-hr time ...

load data infile ...
...
( ... @mydatevar, @mytimevar, ...)
...
set mydatetimecolname = str_to_date( concat(@mydatevar,' ',@mytinevar), "%d-%m-%Y %T");

Options: ReplyQuote


Subject
Written By
Posted
March 22, 2016 12:38PM
March 22, 2016 12:59PM
March 28, 2016 11:31AM
March 28, 2016 11:48AM
March 28, 2016 11:51AM
Re: Importing issues
March 28, 2016 12:08PM
March 23, 2016 06:47AM


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.