Xmltype data can't be copied from remote database
Hi,
I got the following same error when copy table with xmltype from different env:
table localXML(xml xmltype);
insert into localXML select * from remoteXML@romote;
1. run from db tools:
... Physical database connection acquired for: local
12:07:41 [INSERT - 0 row(s), 0.000 secs] [Error Code: 22992, SQL State: 99999] ORA-22992: cannot use LOB locators selected from remote tables
... 1 statement(s) executed, 0 row(s) affected, exec/fetch time: 0.000/0.000 sec [0 successful, 0 warnings, 1 errors]
2. run from sqlplus
ORA-22992: cannot use LOB locators selected from remote tables
The above script runs well if two tables are in same database.
Did any one have solution on this?
Thanks.
John
The standard workaround for this one is to create a synonym or such on the be called object and then do the insert selecting via the synonym. Search google for ORA-22992 and "asktom" and see if this workaround for LOB's also works for xmltype (CLOB) columns/tables.
What's your database version and how was the remoteXML table created (DDL) ???
Similar Messages
-
Can OLAP cube load from remote database?
Sorry, been forever since I worked with Express / Oracle OLAP. If I want to build a cube in one database, is AWM able to load data from another database? Or do I have to have to build the cube on the same database where the source is?
Thanks!
ScottYou can load from any local table or view. So the simplest approach is to define a view in your AWM database that selects from the table in the second database. You then map your cube to the local view.
-
Hello,
I am facing following issue regarding web analytic service for specific date 2014-08-18:
Verified following services which are running and status was success on that specific date 2014-08-18 :
Web Analytics Service
Microsoft Usage Data Import
Microsoft SharePoint Foundation Usage Data Processing
Observed latest Web Analytics Setting as below :
LastAggregationDateId
20140817 - The date id of the last successfully completed data aggregation
LastAggregationTime
2014-08-18T00:00:13.210 - The time of the last successfully completed data aggregation
LastBestBetSuggestionAggregationDateId
20140818 - The date id of the last successfully completed best bet suggestion data aggregation. This date id should not be reset to an earlier date manually.
LastDataCopyTime
2014-08-17T23:59:09.693 - The last time the data were copied from the staging databases to this reporting database for aggregation
Above settings says that Data has not copied from Staging DB to Reporting DB on Date 2014-08-18
In order to verify the same I have checked as follow:
SELECT COUNT (*) FROM [dbo].[WATrafficAggregationByDate] WITH (NOLOCK)
WHERE [DateId] = 20140818
Above SQL Query has returned ZERO value.
Can anyone please let me know Why data has not been copied from staging DB to Reporting DB even timer job status is success ?
Your help will be much appreciated.
Thanks and Regards,
Dipti ChhatrapatiThe image itself has the answer
The user requests a page, and the action gets picked up by the Web Analytics service that runs on SharePoint.
The Web Analytics service logs this in the “.usage” files.
A Timer job called “Microsoft SharePoint Foundation Usage Data Import” by default runs every 30 minutes. It imports the logs into the staging database.
Each night the “Microsoft SharePoint Foundation Usage Data Processing” Timer job runs and transforms the data into the reporting database.
The last run time of the import from staging and the aggregation is logged in the Settings table in the Reporting database.
Usage and Health Data Collection Service Application collects Data about Usage and Health of your farm.
This information is used for Health Monitoring and this is also required for running the Web Analytics Service. If you do not have a Usage and Health Data Collection Service Application or your
Usage and Health Data Collection Proxy is stopped, you will not see any data in the Web Analytics Report
Regards Chen V [MCTS SharePoint 2010] -
Why can't I copy from Microsoft 2011 Word to apple postage stamp email?
Why can't I copy from Microsoft 2011 Word to apple postage stamp email?
You probably ended up purchasing a Mac OS X 10.6.3 DVD. I have posted previously about this. I will edit this once I find the post again.
10.6.3 is incompatible with the Mac Pro you are using. You must install the version that came with your computer or newer. (Yours came with 10.6.4)
If you do not have the original discs:
There is another way to do this that I just remembered when one of my co-workers asked me if I had a 10.6.6 disc.
You need two macs: NEW and OLDER.
Connect NEW and OLDER via firewire cable. (NEWER is probably firewire 800, so you may need a firewire 400-800 adapter or cable)
Boot NEW into "Target Disk Mode" by holding down 'T' at boot until the Firewire logo (looks like a Y) appears.
Boot to Install Disc in OLDER.
Once you have booted to the install disc, it is the same process as installing it onto the internal drive, except you need to choose the Drive in the other computer as the target drive. The drive that you want to install to will look like it's a firewire drive (so it will look like a mounted usb drive but with that 'Y' symbol on it.)
MAKE SURE NOT TO INSTALL OVER THE GOOD DRIVE!!!!!
Go ahead and install Mac OS X.
Once it finishes installing and OLDER shuts down hold down the 'Option' key right after the chime. Select the drive that you just installed Mac OS X on. It should appear just as it did in the Installer.
Once it has booted and you have logged in: run software update and update to the latest version of the OS. Once you have finished updating, shutdown the computer. Unplug the firewire cable. Turn off NEW, then turn it back on. It should work properly. -
Validity end date is not getting copied from inquiry to quotation.
Hi Friends,
While creating quotation the validity end date is not getting copied from inquiry to quotation.
What setting needs to be done, pl suggest.
Regards,
Hari.Sreehari,
i dont find any logic of having Same validity date for Quotation and Inquiry....
the simple reason is explained by example: Say you have created Inquiry on 1st november and end date is 15th novembr. Customer comes to you on 14th november and asked for Quotation, and if you refer quotation on that day that means its only applicable for one day, which generally wont be the case.
There is no option for copying the validity dates from Inquiry to Quotation as per standard. If you want, create routine, place it in copy control.
Thanks,
raja -
Test whether data can be read successfully from the SLD
1. Test whether data can be read successfully from the SLD
This test attempts to read the number of business systems defined in the SLD. If this attempt fails, the test is considered to have been unsuccessful. If no business systems are found, the system gives a corresponding warning.
Could you plz give the navigation steps to perform above test ??
thanks
kumarGenerally SLDCHECK is the transaction used to test the connectivity to the SLD from your R/3 system.
Use the function module LCR_LIST_BUSINESS_SYSTEMS to get the list of Buiness systems configured in SLD.
***Reward points if useful.
Regards,
Kiran Bobbala -
Getting error while calling procedure from remote database
When I am trying to call child procedure from remote database I am getting below error:
ORA-02064: distributed operation not supported
ORA-06512: at "NMUSER.NEW_CUST_UPLOAD", line 740
(P.S. on line no 740 I issued "commit;" )
I checked rights,synonym on all the objects they are fine.Oracle Error: ORA-02064
Error Description:
Distributed operation
not supported
Error Cause:
One of the following
unsupported operations was attempted:
1. array execute of a remote update with a subquery that references a dblink,
or
2. an update of a long column with bind variable and an update of a second
column with a subquery that both references a dblink and a bind variable, or
3. a commit is issued in a coordinated session from an RPC procedure call
with OUT parameters or function call.
Cheers,
Manik. -
Copying CLOB data from remote database to local database
How can i copy a CLOB data from a remote datbase table to a local database table ?
i have a database link created from my local database to remote database, but looks like i cannot select a clob locator or clob data residing on a remote database through this link ?
is there any way to do this ? anyone has a readily available code for doing this ? i need this very urgently, your help is greatly appreciated!
thanks,
SC.Is there a local to your pc database ???? Which is the db version of your pc(if there is)....and your server's database?????
Simon -
How to Copy (or) Transfer data in a BLOB Table From one database to another
Dear Members,
I want to Copy or Tranfer the data in a Table having BLOB Column from one database to another database.
The Problem is that I am using COPY Command.
COPY from scott/[email protected] to k5esk_ldb2/k5esk_ldb2@k5_ist.world CREATE BLOB_TABLE using select * from BLOB_TABLE;
This is working only if the table is not having BLOB Column or CLOB columns.
Is there any other way to do the same.
Appreciate any Help.
Regards
Madhu KYou could try using export/import utilities, but may run into tablespace issues if the tablespaces are not the same between the two databases. You can also try Data Pump using the REMAP_TABLESPACE variable if you tablespaces are different. You could also write your own export and import code...there are plenty of examples of that to copy.
-
Can i take expdp from remote server
we have three databases ( 10.2.0.1 / OEL),
I configured seperate server (OEL/10G CLIENT ADMIN PART) for taking backup for all 3 databases(
is it possible to run datapump from remote system
and write the dump file in the remote system (backup server), it writes only in the
database server not in remote server. Because we have declared datapump
directory in local system not in remote system.
Can i take expdp from my backup server for all three databases.
i edited tns_names.ora file(for all databases) in backup server.santhanam_oradba wrote:
we have three databases ( 10.2.0.1 / OEL),
I configured seperate server (OEL/10G CLIENT ADMIN PART) for taking backup for all 3 databases(Really? What is your backup configuration? Are you using RMAN?
is it possible to run datapump from remote system
and write the dump file in the remote system (backup server), it writes only in the
database server not in remote server. Because we have declared datapump
directory in local system not in remote system.
Can i take expdp from my backup server for all three databases.
i edited tns_names.ora file(for all databases) in backup server.The only way I can possibly think of doing it is if your ORACLE DIRECTORY OBJECT points to a mount point that is over the network.
Remember using Data Pump dumps is not equivalent to taking backups :) -
Patch cluster 3Q2012 - can I install it from remote connection?
Hi,
The notes on installation of Solaris 10 patch bundle mention "you may be required to execute some steps in single user mode".
Does anyone has experience of 3Q2012 bundle installation from remote session (telnet)?
I ask, because, I need to handle remote server, that is very problematic to gain direct access in customer premises
Thanks in advance,
Yuri EisenstadtSingle User mode has capabilities that are even more limited than run level 1.
Among those limitations are -- no network connectivity and no logins for users other than root.
See the following page in the Solaris 10 System Administration Guide :
http://docs.oracle.com/cd/E26505_01/html/E29492/hbrunlevels-13026.html#hbrunlevels-ix937
which can be found here:
http://docs.oracle.com/cd/E26505_01/index.html
Therefore I think your task for patching will require someone to be at the box while you do that maintenance. -
How to Centalize the data from remote database
we have 300-400 databases across remote server.
we want to collect the centralized inforamtion from remote server into centralized oracle database.
1.exporting the centralized data at remote server and
through FTP transfering it to central server and
importing the dump in central database
2.Creating database links and collecting data through
Snapshot
Which is best or Give any suggestion pls
if possible give detail informationHi,
Use Proxies For Your Sender SAP System side and Use the Appropriate Adapter at Receuver side according to the Requirement
Now scenario willl be Proxy-Xi---
Logic:
1) Write the Logic inside the Proxy report to pick the records from the tables
2) And send it to Xi, Xi will routew the data to the third party System based on the adapter you selected
ABAP Proxies Pre-requisites
/people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies
ABAP Client Proxies
/people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy
Regards
Seshagiri -
Can I translate copy from English to Chinese with In Copy
Hi There
Our local designer in Australia creates our marketing collateral. I would like to send this to a team member in China so she can translate the copy in to Chinese. Can she do this with In Copy?
thanksHi There
Our local designer in Australia creates our marketing collateral. I would like to send this to a team member in China so she can translate the copy in to Chinese. Can she do this with In Copy?
thanks -
Display BLOB from remote database
Context: We are offloading documents (pdf) from our OLTP database to a dedicated 'output database.' These documents must be displayed from the application on our OLTP database using a database link. Various posts show that querying a BLOB from a remote database can best be implemented using a query on the remote table and an insert on a local (temporary) table. So far, so good. The idea is to display this BLOB using wpg_docload.download_file.
BUT:
When trying to display the pdf from this global temporary table an error occurs:
ORA-14453: attempt to use a LOB of a temporary table, whose data has already been purged
When trying to display from a normal table and issuing a rollback after wpg_docload.download_file results in another error:
ORA-22922: nonexistent LOB value
When trying to display from a normal table and not removing the record in any way, its works fine. Only I now have a garbage collection issue, because the remote date remain in my local (preferably temporary) table.
It seems to me that mod_plsql needs an active session to display my pdf.
Does anyone have an explanation for this behaviour and maybe a solution for my problem?
Environment:
local: 10.2.0.4.0
remote: 11.1.0.7.0
pdf size: ca. 150kB
code used:
PROCEDURE show_doc (p_nta_id IN NUMBER
,p_sessie IN NUMBER
IS
t_lob BLOB;
t_lob2 BLOB := empty_blob();
t_mime VARCHAR2(100);
BEGIN
-- copy BLOB into local global temp table
INSERT INTO mvs_tmp_notaprint_bestanden
npv_nta_id
, npv_npe_sessie
, mime_type
, bestand
) -- from remote table
SELECT npd.npv_nta_id
,npd.npv_npe_sessie
,npd.mime_type
,npd.bestand
FROM mvs_notaprint_bestanden@marc npd
WHERE npd.npv_nta_id ; = p_nta_id
AND npd.npv_npe_sessie = p_sessie
-- show BLOB from local global temp table
SELECT t.bestand
, t.mime_type
INTO t_lob
, t_mime
FROM mvs_tmp_notaprint_bestanden t
WHERE t.npv_nta_id ; = p_nta_id
AND t.npv_npe_sessie ; = p_sessie
t_lob2 := t_lob; -- buffer BLOB
owa_util.mime_header(t_mime , FALSE );
owa_util.http_header_close;
wpg_docload.download_file(t_lob2);
END show_doc;Andrew,
thank you, the 'preserve rows' did the trick.
Every query from a browser (even in the same browser session) is a new Oracle session, so the copied records in the global temporary table are gone after the page is displayed.
Am I correct in assuming that each call from the browser results in a new Oracle session? I did a few tests and found for each call a different sessionid.
Sincerly,
Arne Suverein
Edited by: Arne Suverein on Aug 18, 2009 3:35 PM -
Getting LONG RAW from remote database
Hi,
I have a table in my local database that has a LONG RAW column . I have another table of similar structure in a remote database (so it has LONG RAW as well). I would like to transfer data including LONG RAW data from the remote database into the local database table using PL/SQL. I know it is not possible to copy LONG RAW over dblink directly. Can anyone suggest an approach to accomplish this?
The local table cannot be changed to BLOB, but I have the flexibility to change the remote table to use BLOB. So, can anyone tell me if the following solution would work. If so, can you shed some light on what PL/SQL libraries to use or can you provide me with some sample code to implement steps 3 and 4 below?:
1. Change the remote table to use BLOB
2. Create a new temporary table with BLOB in the local database.
3. Copy data using PL/SQL from remote BLOB to local temporary table BLOB.
4. Copy data using PL/SQL from BLOB to LONG RAW within the local database from temporary table (w/ BLOB) to the actual target table (w/ LONG RAW).
I think step 3 can be a direct Insert-Select from remote table (I'll try this myself), but not sure how to go about step 4.
Thanks for your help.There is a chapter in the Oracle Application Developer's Guide on calling external procedures
I don't know enough about VB and the available VB APIs to know for sure. I would assume that VB could be configured to generate a DLL with a C call specification. I would also assume that there was a VB API that would allow you to manipulate LONG RAW and BLOB data. Unfortunately, though, I don't know which VB API's have that functionality.
Justin
Maybe you are looking for
-
This week, our E-4500 server restarted 2 times automaticlly. At first time,I can't find any error in /var/adm/messages but I found some infomation in "prtdiag -v" Most recent AC Power Failure: ============================= Fri Sep 26 01:59:24 2005 Po
-
Automatic Item category change
Dear Gurus, How can the below be achieved? We want the item category of a line item be automatically changed to TAS after ATP check (no stock available condition) when saving the sales order in order to create a Purchase requisition. Customer is not
-
Oracle Driver in weblogic.jar - 6.1
I was browsing through the weblogic.jar file in Weblogic 6.1 and I saw there were some oracle.jdbc.* classes in there. Can someone explain what these drivers are? Are these just to support the OCI drivers? Is there a Type 4 driver included? I didn't
-
I have been having trouble with Verizon for the last three months. At first I had new service installed in my name as my parents were leaving the state. However this was in December and in January verizon basically did a name change instead of a new
-
Is it possible to log onto a site and tell where it is hosted?
is it possible to log onto a site and tell where it is hosted?