ORA-00907:缺少右括号开发人员

时间:2017-12-09 19:53:54

标签: sql oracle oracle11g ddl ora-00907

可能是什么问题?

getDates :: MultiBalanceReport -> [DateSpan]
getDates (MultiBalanceReport (date,_,_)) = date

错误讯息:

  

ORA-00907:缺少右括号   00907. 00000 - “缺少右括号”

1 个答案:

答案 0 :(得分:2)

删除NULL_MONTO和NULL_CANT_VENTAS:

CREATE TABLE ASIGNACION_ANUAL (
ANIO NUMBER(4),
COD_VENDEDOR VARCHAR2(4),
MONTO_ASIGNACION NUMBER(9) NULL,
CANT_VENTAS NUMBER(2) NULL,
CONSTRAINT ASIGNACION_ANUAL_PK PRIMARY KEY (ANIO, COD_VENDEDOR)
)