为什么我在“日期”数据类型中遇到错误?

我正在创建一个插入提醒应用程序提醒的表,但是在创建表insert_reminder时遇到DATE列错误。我试图弄清楚我是否输入了错误的关键字,但一切都正确。

mysql> CREATE TABLE set_reminder(
    -> SID int(10) primary key auto_increment,-> UID int(10) references registration(UID) not null,-> "DATE" date not null,-> SUBJECT varchar(10) not null,-> DESCRIPTION varchar(100) not null,-> CONTact varchar(60) not null,-> RECUR_NEXT int(2));

这是我要创建的表。

ERROR 1064 (42000): 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 'not null,"DATE" date not null,SUBJECT varchar(10) not null,DESCRIPTION varcha' at line 3

这是我得到的错误。

show8bbs 回答:为什么我在“日期”数据类型中遇到错误?

暂时没有好的解决方案,如果你有好的解决方案,请发邮件至:iooj@foxmail.com
本文链接:https://www.f2er.com/3130468.html

大家都在问