MySQL Forums
Forum List  »  Connector/Python

Re: Load Data
Posted by: Peter Brawley
Date: July 13, 2020 10:54PM

Assuming date column d in the table ...

Load Data Infile ...
...
(..., @date, ... )
...
set d = str_to_date( @date,'%d-%m-%Y' );

See the manual page for Load Data for more examples.

Options: ReplyQuote


Subject
Written By
Posted
July 13, 2020 11:28AM
Re: Load Data
July 13, 2020 10:54PM


Sorry, only registered users may post in this forum.

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.