ORA-00906 - 缺少左括号

时间:2016-11-20 16:07:39

标签: oracle

我没有看到任何遗漏的左括号,但我一直看到错误。

CREATE TABLE OWNER
(owner_id NUMBER(30),
CONSTRAINT owner_id_pk
PRIMARY KEY,
owner_name VARCHAR2(50) NOT NULL);

1 个答案:

答案 0 :(得分:2)

CREATE TABLE OWNER
(owner_id NUMBER(30)  --<---- without comma
CONSTRAINT owner_id_pk
PRIMARY KEY,
owner_name VARCHAR2(50) NOT NULL);