| Inserting data using DBLINK [message #577848] |
Thu, 21 February 2013 03:17  |
ajaykumarkona
Messages: 261 Registered: August 2010
|
Senior Member |
|
|
Hi Experts,
I am inserting XMLTYPE data using DBLINK I am getting the following error.
INSERT INTO APSP.SALES_HISTORY@APSP_LINK
SELECT * FROM KMBS.SALES_HISTORY
ORA-22804: remote operations not permitted on object tables or user-defined type columns
Source table structure
Name Null? Type
----------------------------------------- -------- ----------------------------
SC_NO NOT NULL NUMBER(25)
LT_DATE TIMESTAMP(6)
METHOD XMLTYPE
Target table structure(another DB)
Name Null? Type
----------------------------------------- -------- ----------------------------
SC_NO NOT NULL NUMBER(25)
LT_DATE TIMESTAMP(6)
METHOD XMLTYPE
Please help me how to insert XMLTYPE data using DBLINK.
Thanks in advance.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| Re: Inserting data using DBLINK [message #577982 is a reply to message #577980] |
Fri, 22 February 2013 06:05   |
ajaykumarkona
Messages: 261 Registered: August 2010
|
Senior Member |
|
|
I have gone through the link.
But as per our process we have one procedure it's picking data from 20 tables
and inserting into remote db.
Out of 20 tables 2 tables having XMLTYPE data.
I am not able to insert data into those 2 tables using my DBLINK.
Can you please provide workaround using DBLINKS to insert data into remote DB
with minor changes to my procedure.
Please help me.
Thanks.
|
|
|
|
| Re: Inserting data using DBLINK [message #577984 is a reply to message #577982] |
Fri, 22 February 2013 06:13  |
cookiemonster
Messages: 9135 Registered: September 2008 Location: Rainy Manchester
|
Senior Member |
|
|
There is no work-around that uses DB links.
This is what everyone has been trying to tell you repeatedly.
You need to use an external program written in something other than PL/SQL - java, C etc.
|
|
|
|