【发布时间】:2014-06-03 22:50:50
【问题描述】:
我试图让它工作,但我不明白 SQL 在基础之外是如何工作的。你能找出其中的错误吗?
CREATE TABLE lil_urls (
id varchar(255) NOT NULL default '',
url text,
date timestamp(14) NOT NULL,
PRIMARY KEY (id)
) TYPE=MyISAM;
我目前在 PhPMyAdmin 中遇到此错误:
#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 (id)' at line 4
感谢您的帮助!
【问题讨论】:
标签: mysql sql import phpmyadmin