无效的字符错误

时间:2011-01-17 16:21:53

标签: sql database oracle oracle10g ora-00911

我在oracle 10g中写了这段代码,快递版:

CREATE TABLE FACILITY ( 
  "FACILITY_ID" NUMBER NOT NULL ENABLE, 
  "CENTER_ID" NUMBER(10,0), 
  "FACILITY_NUMBER" NUMBER(10,0), 
  "FACILITY_TYPE" VARCHAR2(20), 
  CONSTRAINT "FACILITY_PK" PRIMARY KEY ("FACILITY_ID") ENABLE, 
  CONSTRAINT "FACILITY_fk" FOREIGN KEY ("CENTER_ID")
  REFERENCES  "SPORTS_CENTERS" ("CENTER_ID") ENABLE
)

错误消息是

  

ORA-00911:无效字符

我如何纠正它?

0 个答案:

没有答案