Question:
I am running a query and I get this ORA-22804 error:
ORA-22804 remote operations not permitted on object tables or user-defined type
columns
How do I
find out the cause of this ORA-22804 error?
Answer:
To diagnose any
error, you start by using the
oerr utility to display the ORA-22804 error:
ORA-22804 remote
operations not permitted on object tables or user-defined type columns
Cause:
An attempt was made to perform queries or DML operations on remote object tables
or on remote table columns whose type is one of object, REF, nested table or
VARRAY.
Action:
None.
This issue is addressed in more detail in Metalink note 136352.
Essentially, the documentation says that while attempting to SELECT, INSERT or
UPDATE a remote table containing an object type, it has failed with one of the
following errors:
ORA-22804 remote operations not permitted on object tables or
user defined type columns
or
PLS-453 remote operations not permitted on object tables or user
defined type columns.