MySQL Forums
Forum List  »  Newbie

Importing data with dates AND times spearately
Posted by: Karl Delargy
Date: July 18, 2016 07:11PM

Hi,

I'm trying to import some data sets (.csv) using MySQL workbench. When designing the model, it will only let me select DATETIME as the datatype for importing the date and the time. My data has date and time separately, and the dates are saved DD/MM/YYYY instead of DD-MM-YYYY, and the times are saved HH:MM instead of HH:MM:SS. I cannot change these as the datasets are too big.

Is there any way which these can be imported? What is the format for DATE() or TIME() on their own? Because no records are being imported when i use DATE() or TIME() as the datatype.

Thanksssssss

Options: ReplyQuote


Subject
Written By
Posted
Importing data with dates AND times spearately
July 18, 2016 07:11PM


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.