RE: import error

RE: import error

 

  

Niraj,

Imp/exp do not work with XMLTYPE (or XML data of any kind) as the XDB schema
is specifically excluded from being exportable and this is where all XML
link information is held. I raised a tar with Oracle for this, and Oracle
have accepted that there is "a gap in functionality" with exp/imp.. nice
phrase!!

Best way (if not only way!) to migrate XMLTYPE data:

Create the schema in the new database as you want it (create all tables,
etc).

Set up a database link between old and new database.

Create database link my_link connect to schema_name identified by password
using 'tnsnames_entry_for_old_db';

Then from the new database, pull the data:

Insert into new_table_with_xmltype (select * from
[Email Address Removed] Message-----
From: Kumar Niraj
[mailto:oracledba-ezmlmshield-x20113413.[Email address protected]
Sent: 28 July 2006 15:52
To: LazyDBA Discussion
Subject: import error

Hi Guys,



Help me out for the following.



I am importing 9i objects to 10g. There are 3 tables with datatype
XMLTYPE and I am getting error

IMP-00060: Warning: Skipping table "BARCWDC"."WDC_OUTGOING_MESSAGES"
because object type "SYS"."XMLTYPE" does not exist or has different
identifier



How can I imort these table from 9i to 10g.



Rgds,

Niraj






This e-mail and any attachments are confidential and intended solely
for the addressee and may also be privileged or exempt from disclosure
under applicable law. If you are not the addressee, or have received
this e-mail in error, please notify the sender immediately, delete it
from your system and do not copy, disclose or otherwise act upon any
part of this e-mail or its attachments..

Internet communications are not guaranteed to be secure or virus-free.
The Barclays Group does not accept responsibility for any loss arising
from unauthorised access to, or interference with, any Internet
communications by any third party, or from the transmission of any
viruses. Replies to this e-mail may be monitored by the Barclays
Group for operational or business reasons..

Any opinion or other information in this e-mail or its attachments
that does not relate to the business of the Barclays Group is personal
to the sender and is not given or endorsed by the Barclays Group.

Barclays Bank PLC.Registered in England and Wales (registered no. 1026167).
Registered Office: 1 Churchill Place, London, E14 5HP, United Kingdom.

Barclays Bank PLC is authorised and regulated by the Financial Services
Authority.


--------
website: http://www.LazyDBA.com
Please don't reply to RTFM questions
Oracle documentation is here: http://tahiti.oracle.com
To unsubscribe: see http://www.lazydba.com/unsubscribe.html
To subscribe: see http://www.lazydba.com
By using this list you agree to these
terms:http://www.lazydba.com/legal.html

-----------------------------------------
Information in this email including any attachments may be
privileged, confidential and is intended exclusively for the
addressee. The views expressed may not be official policy, but the
personal views of the originator. If you have received it in error,
please notify the sender by return e-mail and delete it from your
system. You should not reproduce, distribute, store, retransmit,
use or disclose its contents to anyone.

Please note we reserve the right to monitor all e-mail
communication through our internal and external networks.

SKY and the SKY marks are trade marks of British Sky Broadcasting
Group plc and are used under licence. British Sky Broadcasting
Limited (Registration No. 2906991), Sky Interactive Limited
(Registration No. 3554332), Sky-In-Home Service Limited
(Registration No. 2067075) and Sky Subscribers Services Limited
(Registration No. 2340150) are direct or indirect subsidiaries of
British Sky Broadcasting Group plc (Registration No. 2247735). All
of the companies mentioned in this paragraph are incorporated in
England and Wales and share the same registered office at Grant
Way, Isleworth, Middlesex TW7 5QD.


Oracle LazyDBA home page