Re: change date format in MYSQL
Posted by: Bob Field
Date: December 19, 2006 09:56AM

INSERT INTO yourtable (datefield) VALUES (str_to_date('01/02/2007', '%d/%m/%Y'));

Options: ReplyQuote


Subject
Written By
Posted
December 18, 2006 02:56AM
December 18, 2006 09:34AM
Re: change date format in MYSQL
December 19, 2006 09:56AM


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.