我正在尝试创建一个 Oracle 11g 表,但由于某种原因,它说缺少括号。
CREATE TABLE logentry (
id CHAR(36) NOT NULL,
"user" VARCHAR2(8 CHAR),
timestamp DATE NOT NULL,
description VARCHAR2(32 CHAR) NOT NULL,
details TEXT(4096),
attn SMALLINT,
readonly SMALLINT,
hasdata SMALLINT,
task_id CHAR(36),
"_type" VARCHAR2(32 CHAR) NOT NULL,
PRIMARY KEY (id)
)