MySQL Forums
Forum List  »  Newbie

Re: create table error 1064
Posted by: Barry Galbraith
Date: October 09, 2022 12:14AM

I've just found that the DATETIME(5) and TIMESTAMP(5) is a Fractional seconds specifier.
So your definition is OK, as long as you mean to have fractional seconds to 5 decimal places stored.

https://dev.mysql.com/doc/refman/8.0/en/date-and-time-type-syntax.html

Good luck,
Barry.

Options: ReplyQuote


Subject
Written By
Posted
October 07, 2022 03:18PM
October 07, 2022 06:40PM
October 09, 2022 12:08AM
Re: create table error 1064
October 09, 2022 12:14AM


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.