Oracle Database Errors or Warnings from Error ORA-22897 to ORA-22906
ORA-22897: no scope clause specified for user-defined REF column “string”
Cause: User-defined REF column does not have a scope constraint.
Action: Specify a scope constraint for the user-defined REF column and retry the operation.
ORA-22898: existing scope clause on “string” points to a table other than the one mentioned in the referential constraint
Cause: Table mentioned in the referential integrity constraint is different from the scope table of the REF column.
Action: Specify the scope table of the REF column in the referential integrity constraint and then retry the operation.
ORA-22899: cannot specify both scope and rowid constraint on ref column
Cause: An attempt was made to specify both a scope and a rowid constraint on a REF column.
Action: Remove either the rowid or scope constraint and then retry the operation.
ORA-22900: the SELECT list item of THE subquery is not a collection type
Cause: The THE subquery must SELECT a nested table or VARRAY item.
Action: change the subquery to SELECT a nested table or VARRAY item.
ORA-22901: cannot compare VARRAY or LOB attributes of an object type
Cause: Comparison of VARRAY or LOB attributes of an object type was attempted in the absence of a MAP or ORDER method.
Action: Define a MAP or ORDER method for the object type.
ORA-22902: CURSOR expression not allowed
Cause: CURSOR on a subquery is allowed only in the top-level SELECT list of a query.
ORA-22903: MULTISET expression not allowed
Cause: MULTISET expressions are allowed only inside a CAST to a nested table or VARRAY type.
Action: put the MULTISET(subquery) expression inside a CAST to a nested table or VARRAY type.
ORA-22904: invalid reference to a nested table column
Cause: invalid use of a nested table column
Action: remove invalid reference to the nested table column
ORA-22905: cannot access rows from a non-nested table item
Cause: attempt to access rows of an item whose type is not known at parse time or that is not of a nested table type
Action: use CAST to cast the item to a nested table type
ORA-22906: cannot perform DML on expression or on nested table view column
Cause: Attempted to perform a DML on an expression or on a nested table view column where a nested table column of a base table is expected.
Action: Only nested table column of a base table is allowed in the DML.
Above are list of Oracle Database Errors or Warnings from Error ORA-22897 to ORA-22906 received while performing certain operation against Oracle Database or related products.
What are Oracle Database Error Messages?
Oracle Error Messages may be returned while using products which are part of Oracle Database. Each Oracle Database Error or Warning Message mentioned above contains the Warning or Error Message Statement, a short explanation of the probable causes of the Error message, and a recommended action.
Hope this was helpful.
Information about Oracle Database Error Messages or Warning Messages on Windows and Linux Operating Systems.