MySQL Forums
Forum List  »  MySQL Workbench

Re: MySQL Workbench
Posted by: Peter Brawley
Date: January 04, 2020 10:34AM

There is only one right format for storage, yyyy-mm-dd. You need to convert the oddball US date input format to that format eg ...

insert into staff values (1,'Kelley','rkelley0@soundcloud.com','Female','Computers',str_to_date('10/2/2009','%m/%d/%Y'),67470,'Structural Engineer',2);

Options: ReplyQuote


Subject
Views
Written By
Posted
645
January 02, 2020 04:16AM
345
January 02, 2020 12:31PM
373
January 04, 2020 05:22AM
Re: MySQL Workbench
314
January 04, 2020 10:34AM
258
January 05, 2020 10:58PM


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.