MySQL Forums
Forum List  »  Newbie

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

You have a superfluous "," here
updated_at datetime(5) DEFAULT NULL,

The display width of int(10) is deprecated. Remove the (10).

Also, the refman makes no mention of a width specifier for TIMESTAMP or DATETIME data types. While they are accepted if entered, they appear to do nothing.

Good luck,

Options: ReplyQuote

Written By
October 07, 2022 03:18PM
October 07, 2022 06:40PM
Re: create table error 1064
October 09, 2022 12:08AM
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.