Re: create table error 1064
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.
https://dev.mysql.com/doc/refman/8.0/en/date-and-time-types.html
Good luck,
Barry.
Subject
Written By
Posted
Re: create table error 1064
October 09, 2022 12:08AM
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.