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
75
January 02, 2020 04:16AM
36
January 02, 2020 12:31PM
29
January 04, 2020 05:22AM
Re: MySQL Workbench
34
January 04, 2020 10:34AM
28
January 05, 2020 10:58PM


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.