I am creating a database for my application. I get this error: MySQL said: Documentation
1064 – You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘(14) NOT NULL,
PRIMARY KEY (UserID))' at line 4 .
This is my sql statement:
CREATE TABLE sitheloChat_Users (
UserID int(10) unsigned NOT NULL auto_increment,
Username varchar(15) NOT NULL default '',
PreviousUpdate timestamp(14) NOT NULL,
PRIMARY KEY (UserID)
);
What must i add or edit?
Remove the (14) from timestamp