Call now: 252-767-6166  
Oracle Training Oracle Support Development Oracle Apps

 
 Home
 E-mail Us
 Oracle Articles
New Oracle Articles


 Oracle Training
 Oracle Tips

 Oracle Forum
 Class Catalog


 Remote DBA
 Oracle Tuning
 Emergency 911
 RAC Support
 Apps Support
 Analysis
 Design
 Implementation
 Oracle Support


 SQL Tuning
 Security

 Oracle UNIX
 Oracle Linux
 Monitoring
 Remote s
upport
 Remote plans
 Remote
services
 Application Server

 Applications
 Oracle Forms
 Oracle Portal
 App Upgrades
 SQL Server
 Oracle Concepts
 Software Support

 Remote S
upport  
 Development  

 Implementation


 Consulting Staff
 Consulting Prices
 Help Wanted!

 


 Oracle Posters
 Oracle Books

 Oracle Scripts
 Ion
 Excel-DB  

Don Burleson Blog 


 

 

 


 

 

 
 

ORA-22804: Remote Operations Not Permitted on Object Tables or User-Defined Type Columns

Expert Oracle Database Tips by Donald BurlesonConsulting

February 1, 2015

 

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.

One suggested workaround involves logging into the remote database and creating a procedure or function that will accept pieces of the object table.  This requires the object type to be broken down into its componenets.  The DML operation is then performed.  The last step is to log into the local database and perform the DML operation using a remote procedure call to the newly created function or preocedure.    

Sometimes the message can be misleading.  In some cases, the remote table is not a user-defined object and does not have user-defined columns.  If the local DML statements were based on xml_type data, PL/SQL can classify that complex data type as a "user_defined" type, resulting in the misleading message.  In this case, it's possible to create a local staging table with the same structure as the remote table.  The data is then loaded into the local table and sent from there to the remote target.  Now, there is no resulting ORA-28804 error.

Sometimes nested tables can cause this issue.  Read HERE for more on nested tables and how to work with them. 

 
Get the Complete
Oracle SQL Tuning Information 

The landmark book "Advanced Oracle SQL Tuning  The Definitive Reference"  is filled with valuable information on Oracle SQL Tuning. This book includes scripts and tools to hypercharge Oracle 11g performance and you can buy it for 30% off directly from the publisher.

 

 

Burleson is the American Team

Note: This Oracle documentation was created as a support and Oracle training reference for use by our DBA performance tuning consulting professionals.  Feel free to ask questions on our Oracle forum.

Verify experience! Anyone considering using the services of an Oracle support expert should independently investigate their credentials and experience, and not rely on advertisements and self-proclaimed expertise. All legitimate Oracle experts publish their Oracle qualifications.

Errata?  Oracle technology is changing and we strive to update our BC Oracle support information.  If you find an error or have a suggestion for improving our content, we would appreciate your feedback.  Just  e-mail:  and include the URL for the page.


                    









Burleson Consulting

The Oracle of Database Support

Oracle Performance Tuning

Remote DBA Services


 

Copyright © 1996 -  2016

All rights reserved by Burleson

Oracle ® is the registered trademark of Oracle Corporation.


 

��  
 
 
Oracle Training at Sea
 
 
 
 
oracle dba poster
 

 
Follow us on Twitter 
 
Oracle performance tuning software 
 
Oracle Linux poster