CREATE TABLE IF NOT EXISTS `g4_game_copter` ( no int NOT NULL auto_increment, id varchar(20) NOT NULL default '', name varchar(20) NOT NULL default '', score int NOT NULL default '0', date int(13) NOT NULL default '0', x timestamp(14) NOT NULL, PRIMARY KEY (no) ) ENGINE=InnoDB;
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 (no) ) ENGINE=InnoDB' at line 7
error file : /plugin/copter/copter_s.php
위와 같은 에러메세지가 출력되는데, 원인이 뭘까요?
|
답변 1개 / 댓글 1개
채택된 답변
+20 포인트
12년 전
timestamp(14)
=>
timestamp
답변에 대한 댓글 1개
12년 전
답변을 작성하려면 로그인이 필요합니다.
덕분에 몇 개월 동안 끙끙 앓던 문제를 해결했습니다.