How to Export/Import Composite Objects(CLOB,Nested Table)

I am trying to export the database containing BLOB, Nested Tables etc. and wants to import the same. But i am getting an error. Pleease help as to how i will proceed with it. This is something very urgent. please reply . i will be very thankful to you

The only solution I've found so far as a workaround is rather convoluted.
1. I took an export using datapump's expdp of SCHEMA1 (in 10g it will skip the table with the xmltype).
2. I imported the data to my empty schema (SCHEMA2) using impdp. To avoid the error that the type already exists with another OID, I used the TRANSFORM=oid:n parameter e.g.
impdp user/pwd dumpfile=noxmltable.dmp logfile=importallbutxmltable.log remap_schema=SCHEMA1:SCHEMA2 TRANSFORM=oid:n directory=MYDUMPDIR
3. I then manually created my xmltype table in the SCHEMA2 and did a select into to load it (make sure you have the select privileges to do so):
INSERT INTO SCHEMA2.XMLTABLE2 SELECT * FROM SCHEMA1.XMLTABLE1;
4. I am still taking an export with exp of the xmltable as well even though I'm not sure I can do anything with it.
Thanks!
Edited by: stacyz on Jul 28, 2009 9:49 AM

Similar Messages

  • Expoting/Importing Oracle BLOB, CLOB, Nested Tables datatypes

    I am trying to export the database containing BLOB, Nested Tables etc. and wants to import the same. But i am getting an error. Pleease help as to how i will proceed with it. This is something very urgent. please reply . i will be very thankful to you

    I believe this error is only associated with LONG data type. I have been using data pump to export/import table with LOB type without any problem.
    Data pump been having issue with LONG type check this bug
    Bug 5598333 - EXPDP/IMPDP corrupts the data for a LONG column
    Doc ID: Note:5598333.8
    It's fixed in 11.1.0.6

  • How to insert reference of object in nested table

    hi , i have a problem with nested table :
    CREATE OR REPLACE TYPE ITEM AS OBJECT
    ITEM_ID NUMBER,
    ITEM_DES VARCHAR2(4000),
    PRODUCT_NO VARCHAR2(15),
    PRODUCT_DES VARCHAR2(4000)
    CREATE TABLE ITEMS OF ITEM
    CONSTRAINT ITEM_PK PRIMARY KEY (ITEM_ID)
    CREATE OR REPLACE TYPE BOM AS OBJECT
    BOM_ID NUMBER,
    ITEM_ID NUMBER,
    BOM_PARENT_ID number
    create or replace type boms as table of ref bom;
    create table bom_table
    bom_ids bom,bom_member boms
    ) nested table bom_member store as bom_childs;
    insert into bom_table (bom(1,1,null),null);
    insert into bom_table (bom(2,1,1),boms(select ref(t) from bom_table t where t.bom_id=1))
    show error.
    how i can insert in nested table reference of object
    thanks

    your table "bom_table" is not an object table or view, and thus you can't create object references to it's rows. you'll need to create an object table or view of "bom" objects, with a corresponding object identifier, and then reference that table/view in your subquery instead.
    Gerard

  • How to export &import the OSS note?

    Hi Team?
    How to export &import the OSS note?

    Dear Jagadish,
    Download SAP Notes from the SAP Service Marketplace and upload them in Note Assistant.
    Start Note Assistant (transaction SNOTE).
    Download the SAP Note from SAPNet - R/3 Frontend. To do this, choose "SAP Note Download" (Ctrl + F8) and enter the relevant SAP Note number. The downloaded SAP Note appears in your worklist under the category New.
    Read the SAP Note!
    Check whether the SAP Note entails manual activities. (See also answers to questions concerning ABAP Dictionary objects and messages.)
    If this is the case, first perform the manual activities.
    Implement the SAP Note. To do this, choose Implement SAP Note. During implementation, Note Assistant may download prerequisite SAP Notes that must be implemented before.
    Also read and check the prerequisite notes! This is necessary, since they may also contain manual activities. If you don´t do this, the syntax check can bring up an error of the relevant field of the function module, for example.
    Reward points if it helps.
    Regards,
    Naveen.

  • How to Export/Import in Windows-Oracle10g-EnterprisesManager

    Hi
    How to Export/Import in Windows operating system / Oracle 10g through Enterprises manager.
    1)Which oracle user has privilege to logon in Enterprises manager for export/import purpose.
    2)After loging on to the Enterprises manager's Maintaince menu it asks Host credential here whether i should give OS administrator name & password or Oracle user name & password.
    by
    balamuralikrishnan.s

    Hi1)Which oracle user has privilege to logon in Enterprises manager for
    export/import purpose.
    Normally owner of the schema has all privilege of export/import data in his own schema.
    2)After loging on to the Enterprises manager's Maintaince menu it asks Host
    credential here whether i should give OS administrator name & password or Oracle user name & password.Give oracle user name & password(ie., owner of the schema and password)

  • How to export&import data using sql *loader

    Hi all,
    How to export&import data from sql*loader. Give me the clear steps..
    Thanks in Advance

    Hi did you already exported data from SQL SERVER? if not using SQL*LOADER you cannot export data. SQL*LOADER is only mean for importing data from flat files(usually text files) into ORACLE tables.
    for importing data into oracle tables using sql*loader use below steps
    1) create a sql*loader control file.
    it looks like as follows
    LOAD DATA
    INFILE 'sample.dat'
    BADFILE 'sample.bad'
    DISCARDFILE 'sample.dsc'
    APPEND
    INTO TABLE emp
    TRAILING NULLCOLS
    or for sample script of control file search google.
    2) at command prompt issue following
    $ sqlldr test/test
    enter control file=<give control file name which you create earlier>
    debug any errors (if occured)

  • How to  Export/Import "report for the query" to another company

    Hello,
    I do this:
    1.create query in SQL analizer
    2.copy paste into SBO query generator and save
    3.create report for the query
    Then, How to Export/Import "report for the query" to another company ?
    Thanks for your HELP.

    Look for SAP Note number 600813
    That's the note Adele means, I guess.
    <b>Edit (@13:18)</b>
    The direct link:
    https://websmp101.sap-ag.de/~sapidb/012006153200000183292003E.ITF
    ---- Replace *SOURCE* with the source database name.
    ---- Replace *DEST* with the destination database name.
    insert into [*DEST*].[dbo].[RDOC]
    select [*SOURCE*].[dbo].[RDOC].*
    from
    [*SOURCE*].[dbo].[RDOC],[*DEST*].[dbo].[cinf],[*SOURCE*].[dbo].[cinf]
    where [*DEST*].[dbo].[cinf].[lawsset]=[*SOURCE*].[dbo].[cinf].[lawsset]and [*DEST*].[dbo].[cinf].[version]=[*SOURCE*].[dbo].[cinf].[version] and [*SOURCE*].[dbo].[RDOC].[Doccode]NOT IN (SELECT Doccode from [*DEST*].[dbo].[RDOC])
    insert into [*DEST*].[dbo].[RITM]
    select [*SOURCE*].[dbo].[RITM].*
    from [*SOURCE*].[dbo].[RITM],[*DEST*].[dbo].[cinf],[*SOURCE*].[dbo].[cinf] where [*SOURCE*].[dbo].[RITM].[Doccode] NOT IN (select Doccode from [*DEST*].[dbo].[RITM])AND [*SOURCE*].[dbo].[RITM].[Doccode]IN (SELECT Doccode from [*DEST*].[dbo].[RDOC])
    Hope it helps...
    Grtz, Rowdy

  • How to export / import workspaces from CS3 to CS5

    How to export / import workspaces and other preference settings from CS3 to CS5.

    copy the files from
    (username)/library/preferences/AICS3settings/en_us/workspaces
    to
    (username)/library/preferences/AICS5settings/en_us/workspaces

  • How to export/import plan witch a scheduler data

    How to export/import plan witch a scheduler data

    Hi,
    See the BAM Enterprise Link Utilities User's Guide for additional Enterprise Link import/export capabilities not exposed via ICommand.
    Regards, Stephen

  • SQL Loader Constraints with Column Objects and Nested Tables

    I am working on loading a Table that (god forbid) contains columns, column objects, and nested tables (which contains several depth of column objects). My question is does SQL Loader have a hidding undocumented feature where it states how the column objects must be grouped in refereneced to the nested tables within the loader file? I can load the various column objects, and nested tables fine right now, however, I am loading them all in strange and insane order. Can anyone answer this question? Thanks.
    Peter

    I just noticed that my email is wrong. If you can help, plese send email to [email protected]
    thanks.

  • How to export & import interface type data object to memory

    Hi experts,
    My greetings to all.
    we have came across a situation where we need to pass interface type data object to memory
    and import same from memory.
    DATA context TYPE REF TO if_timecontext.
    its not possible with regular export statement.
    is their any other way to do it?
    Thanks in advanced,
    Sudhir

    Thank you saurabhmani & sandra.
    @ saurabhmani : i tried assigning object context to memory (field-symbol) and exporting it to memory, but got runtime error.
    @sandra : XML serialization & shared object concept sounds intresting but as you already checked that interface IF_TIMECONTEXT is missing the required IF_SERIALIZABLE_OBJECT interface.
    Istead of exporting context data object to memory we tried different approch and it worked out for our requirement
    Regards
    Sudhir

  • How to export/Import default prefs and object styles with no project open?

    I would like to export my preferences and object styles with no projects open and them import them on my team's machines so that no matter what project we create, we all start from the SAME set of defaults.  When I open captivate and check both with no projects open, there is no ability to import/export.  I know I could open a project and export, but then importing is an issue.
    I'm using CP8 on a Windows 8.1 64 bit machine.
    Help?
    Thx.
    Lori

    After a fresh install I start by editing the Preferences globally, that means by using Edit, Preferences before opening any project (like switching to Expert UI, default language, replacing feedback captions by shapes). There is indeed no way to import preferences from a specific file. I will do the same for some object styles (like creating a blank Highlight box for audio objects). You can only export/import from and to a project,  same like for all Library assets.
    However the Object styles: they are part of the default theme, along with their theme colors, master slides and skin. You cannot edit everything without having a project open. I would recommend to create a custom theme in a project, in which you have all the wanted object styles. Changing the theme colors (you can have a custom theme color palette) will change partially colors of the objects. Once you set that theme as default theme, you'll have all the object styles in the projects that use the default theme.
    To transfer Preferences, custom themes to another machine, maybe this article could help you out. It was written for a different purpose, but you'll find the location of a lot of files that you could transfer in this post:
    Captivate 8.0.1 Install? Keep your Customisation! - Captivate blog
    Lilybiri

  • How to export/import database from tools menu in sql developer.

    Hi,
    I need to export database from a server and import it on another db server using the export database function under tools menu in SQL developer. How do I import it? This is for Oracle 10g database.
    Thanks

    Depends what are you trying to do? Are you making a database copy or just creating an empty schemea or creating schema with the data?
    With 10g, you have also options of using datapump (expdp/impdp) and conventional export/import which is very usefule and easy to use when it comes to create a clone (duplicate schema) or an export/import of some objects.
    If you right click on table object, you have options of export ddl/export data and import data but thats different thant what expdp/impdp or conventional export/import provides. For very small database you can use sqldeveloper but consider
    using other above mentioned options. Hope this helps
    Regards

  • How do we import design objects ?

    Hello friends,
    I have a s/w component with a namespace in it containing all my Design objects in the Integration repository(Design).  There is an option called Export which i assume exports entire namespace along with the design objects within it to a tpz file.
    now i want to know is whether i can import this tpz file again into Xi, if yes then how because when i tried importing it (Tools-> Import Design Objects...) , it says No Object Found.
    I also want to know is that whether i can import this Namespace on some other XI deployed on some other machine.
    Thanks !!!

    Hi Rohit,
    <i>now i want to know is whether i can import this tpz file again into Xi, if yes then how because when i tried importing it (Tools-> Import Design Objects...) , it says No Object Found.</i>
    Yes, when you say TOOLS --> IMPORT , you should be able to import your exported namespace into the IR. Just make sure, you are giving the correct TPZ file to be imported into XI.
    <i>I also want to know is that whether i can import this Namespace on some other XI deployed on some other machine.</i>
    Yes , you surely can and that is the exact reason why the export and import actually exist. One option that is normally used when you want to migrate your objects from Dev to QA to Prod and so on is this import and export.
    Regards,
    bhavesh

  • How to export/import UDQ

    Hi Experts,
    I want to distribute the user defined query.
    Here is the steps:
    1. Export the specific one
    2. Import the specific one
    Here is my question
    1. How can I get the query list?
    I cannot find method to do it, which like getBPlist.
    If I can get it, I will do a loop to export all.
    2. How can I get the query catelogues list?
    3. Which is better to improt?
    UserQueries object via DI, or sql statement of OUQR ?
    Thanks
    Best regards
    Huan

    Hi Huan,
    Please refer to my reply on your other question about exporting/importing formatted searches here:
    http://scn.sap.com/thread/3580368
    You can use the V9 Implementation Center to transfer User Queries from one company to another. It is also possible to use Copy Express in earlier versions of SBO.
    If you want to use the DI API then you can use the UserQueries object.
    Kind Regards,
    Owen

Maybe you are looking for

  • Portege R100 - Random Blue Screen of Death (IRQL not less or equal)

    Hi, I've been getting random "Blue Screen of Death" screens in the last few weeks. The error is "IRQL not less or equal" and it's performing a memory dump every time. If I get the error and try restarting the laptop after, I usually get the same "Blu

  • IPhone "cannot connect to Youtube"

    I get this error when trying to connect to Youtube on my wifi network. I think I read somewhere that youtube would only play on EDGE, but I just saw a video on Engadget where they played Youtube over their network. Anyone have any idea what's up?

  • ResultSet into ResultSet Mysql servlets

    Hi! I have a problem with this code: while (result.next()) dgenre=statement.executeQuery("select value from table_genre where id_1=1 and id_2=3");                               if (dgenre.next()) out.println("hello"); dgenre.close();      println("<b

  • UPRIGHT: why does ACR and Lightroom process images differently using Upright

    Current version of ACR and LR MBP 2011 OSX Mavericks Hello - I process hundreds of architectural images daily in ACR. I started using LR but found that the Upright function in ACR is much more accurate. Am I missing something here? Are these not the

  • Getting an older iMac to use cable modem

    I have a PowerBook G4 and a MacBook that are both using the AirPort Express wireless network that I have set up in my home. I have a cable modem and that modem has a ethernet cable that goes from the back of the modem and plugs into my AirPort Expres