ORA-22888: duplicate SCOPE clauses for a REF column
Cause: Multiple SCOPE clauses were specified for a single REF column.
Action: Remove the duplicate SCOPE clauses and retry the operation.
ORA-22888表示有重复的SCOPE子句,用于定义一个REF列。
ORA-22888: duplicate SCOPE clauses for a REF column
Cause: A REF column was defined with more than one SCOPE clause.
Action: Remove unnecessary SCOPE clauses from the REF column definition.
例如,在定义表和其REF列时,将SCOPE子句用于d_ref列两次:
CREATE TABLE doc (
d_ref REF d_type SCOPE d_table,
d_name VARCHAR2(20)
);
1.复制要编辑的SQL语句。
2.编辑语句,移除多余的SCOPE子句。
3.运行编辑后的SQL语句。