MySQL Forums
Forum List  »  General

Re: DATETIME does not keep fractional seconds (5.6.11)
Posted by: Peter Brawley
Date: December 29, 2013 02:03PM

To store fractional seconds you need ...

`datetime` datetime(6) DEFAULT CURRENT_TIMESTAMP(6),

See http://dev.mysql.com/doc/refman/5.6/en/fractional-seconds.html

Options: ReplyQuote


Subject
Written By
Posted
Re: DATETIME does not keep fractional seconds (5.6.11)
December 29, 2013 02:03PM


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.