Importing (imp) a dump (exp) from a schema into another schema

Hello
-I know I should read the manual-
-I also know that there are some experts here who only need two lines to explain it- :)
I have a dump file from a complete schema (lets call it xx).
I habe another schema (yy) in the same database and:
I would like to put that dump file into the schema yy.
How does the imp command looks like?
Thank you in advance!

How does the imp command looks like? To get help say at OS prompt.
imp help=y
-aijaz

Similar Messages

  • How to import an in-line schema from a wsdl into another schema

    I am using SOA Suite 11g (11.1.1.1.0) and JDev 11
    I have a wsdl from a vendor that includes several in-line schemas. Included in the schema is a complexType that I'd like to use as an element. I can easily drop an element into the vendor's wsdl, since I have my own copy. But I'd prefer to leave the vendor's wsdl untouched as I anticipate having to replace it occasionally. But I don't know how to go about importing an schema in-line in a wsdl, into another schema. Is that even possible? Comments most welcome.
    - Cris

    Actually, I think I may have solved my own problem and it wasn't all that difficult. I simply created a reference wsdl, imported the vendor wsdl and created another in-line schema. Seems to work well enough. For anyone who can offer a better approach, please do share.
    - Cris

  • Imp records of One schema into another schema of same table.

    I had done following steps,
    schemas(toy,toys)
    1) i open the session of toy schema
    First i taken backup of table
    create table bck20121103_himan as select * from himan;
    Backup table is created.
    After taking the Backup table
    delete himan;(deleting the records)
    2) i log in to another session(toys)
    exp toys/toys@orcl file=20121103TOYs.DMP TABLES=(HIMAN) /* Particular table is taken*/
    3) i log in to toy schema
    imp toy/toy@orcl file=<dump file name> TABLES=(HIMAN) INDEXES=N IGNORE=Y
    i tried the above statement it taken so much of time..
    Later i tried
    I log in to toy session
    i rename the table with other name.
    later i imported
    imp toy/toy@orcl file=<dump file name> TABLES=(HIMAN) IGNORE=Y FULL=Y
    it's successfully imported..
    kindly correct me if its wrong or any other steps is their ..

    as per your first method.
    you took backup
    you deleted not commited.
    took export from toys and imported into toys without fromuser & touser
    after correction.
    ============
    you mentioned
    you took backup
    you deleted toy.himen (again not commited)
    exported toy.himen
    imported toy.himen
    check you might have got the duplicate records also
    when you delete any records its a dml operation which does not auto commit you need to commit it.
    hope you got the point.
    Regards
    Kaleem.

  • Importing schema into another schema using enterprise manager on 11.2.0.3

    I am using OEM database control not Grid Control.
    I am exporting a schema using OEM Data Movement and I want to REMAP it to another schema.
    But it does not populate the Destination Schema with any other schemas other than the Source Schema.
    I only get one item in Destination Schema dropdown which is the same as the Source Schema.
    Any ideas why the Destination Schema dropdown is not populated with all the schemas?
    This is on Windows 2008 R2 64-bit
    This worked fine in 10g versions.
    Edited by: user563987 on Feb 20, 2012 1:48 PM

    I have confirmed with Oracle support that it is a bug which was suppose to have been fixed in this version but obviously is not. They have opened a new bug.
    When you are you are on Grid Control 11.2.0.5? I am not seeing this version? Or am I missing something?
    Thanks.

  • How do I move a table from one schema to another schema on Oracle XE?

    How do I move a table from one schema to another schema on Oracle XE?

    Hi,
    I tried to use the insert/select statement that you had given, it did not work.
    The error is ORA-00913: too many values.
    But finally what I did was, I went into the system schema where the table was and generated the DDL through the utilities and afterwards I imported them into the schema that I am currently working on. It solved the problem!
    However I am still curious to know why the insert/select statement did not work? Do you know any site/tutorial which gives a real time example?
    Thank you
    Skye

  • How do I move a table from one schema to another schema?

    How do I move a table from one schema to another schema?

    Grant access to the table from the source schema to destination schema.
      GRANT SELECT ON <TABLE_NAME> TO  <DESTINATION SCHEMA>A simple way would be to use CREATE Table with select syntax (in destination schema)
      CREATE TABLE <TABLE_NAME> AS SELECT * FROM <SOURCE SCHEMA>.<TABLE_NAME><li>However, you would be in <b><u>trouble when the table has index,constraints and triggers</u></b>.
    So you can better of grab the DDL statement of the table(and any additional components) andd then create the table in the destination schema.You can use SQL developer, Toad or Apex's Object browser for this.
    After the table is created, Insert the records using SELECT.
    INSERT INTO <TABLE_NAME> SELECT * FROM <SOURCE SCHEMA>.<TABLE_NAME>This question is discussed in great detail in this <b>AskTom thread</b>

  • Import package from one project into another

    Hello everyone,
    I have some projects.
    An enterprise and war project created in netbeans.
    I would like to use some files from one project to another. when I import
    the package I get the error-
    'package x does not exist'
    I have added the package to the project but I still get the error.
    I have also added the project to import to my glasspath but still.
    E.g.
    set classpath
    .;c:\enterpriseA;
    My next idea is to create a war project into my enterprise project and copy the files
    from the war project into it in order to use it. But I'm sure there is a better way.
    THanking you in advance.
    eve
    Edited by: evepokua on Nov 22, 2009 1:44 PM

    One mistake I keep making is that I don't add the package to the
    Dependencies of the plugin I'm writing. You have to go to plugin.xml,
    and add the package you depend on to the Dependencies section. Maybe you
    didn't do this?
    Michael
    nasti wrote:
    > Hello everybody!
    > I am new user of osgi and eclipse. I tried to do some of Oscar examples
    > but I had some problems. Namely, the problem in import of package from
    > one project into another in Eclipse.
    > I add first project to the Build Path of the second one.
    > I add to the first project manifest line: Export-Package example2.service.
    > I add to the second project manifest line: Import-Package example2.service.
    > But when I tried to execute these bundles the
    > java.lang.NoClassDefFoundError was occurred. May be you will help me
    > with this problem.
    > Thanks....
    >
    >

  • Best LKM to move data from with in Oracle from one schema to another Schema

    Hi Gurus,
    What is the best KM to move data from one schema to another schema within same oracle database.
    Thanks in advance

    Dear,
    If your source and target are on the same database server then you dont need LKM.
    You have to 1. create one data server for the database server
    2. Create one physical schema for your source and another physical schema for your target under the above created data server.
    3. Then create models for each above created physical schema
    In this case you just need IKM knowledge module
    Please refer http://oditrainings.blogspot.in/2012/08/odi-interface-source-target-on-same.html
    If your source and target are on different server then you must create two different data servers in topology. You have to use LKM.
    The best LKM to use is LKM oracle to Oracle dblink. But you should have proper grants to use it
    If your source has very few records you can go with LKM SQL to Oracle other wise use LKM oracle to Oracle dblink

  • How to copy one schema into another

    I need to copy one schema into another. That means, all the tables, views, constraints, etc, and all the data as well.
    I have a dmp file of source-schema (created daily with expdp by our backup schedule).
    Can I use impdp to import this dmp file into dest-schema? I'm thinking about something like this:
    The dmp file was created with:
    expdp source-schema/pwd DIRECTORY=dmpdir DUMPFILE=myproject.dmp
    Create the copy on dest-schema with:
    impdp dest-schema/pwd DIRECTORY=dmpdir DUMPFILE=myproject.dmp
    (dest-schema is an existing schema on the same machine. I'll drop all the tables before executing the command. Is there anything else I should do first?)
    If this approach is not feasible, kindly suggest me an alternative.
    Thank you.
    Edited by: mgro on Apr 16, 2010 3:22 AM (changed 2nd command: expdp to impdp)

    Thank you both. Dean, I've made a note of your proposed command. May use it next time.
    In the end I used the following command and it worked for me. I added TABLE_EXISTS_ACTION=REPLACE since the destination was not empty.
    First I ran these command logged in as SYS
    GRANT Import Full Database TO dest-schema;
    GRANT Create Any Directory TO dest-schema;
    GRANT Unlimited Tablespace TO dest-schema;
    impdp
    dest-schema/pwd
    DIRECTORY=dmpdir
    DUMPFILE=myproject.dmp
    REMAP_SCHEMA=source-schema:dest-schema
    TABLE_EXISTS_ACTION=REPLACE
    LOGFILE=implog.log
    There were some errors though. The import process complained about constraints referencing non-existent primary keys.
    It turns out that the source schema has some constraints that are marked with status DISABLED. These constraints either:
    - are not part of the DUMP file
    or
    - are in the DUMP file but skipped during import
    Don't know if this is a bug or by design behavior.

  • Export One Schema to Another Schema

    Hi
    I would like to export some of my tables from one schema to another schema.
    Can you help me on this
    regards
    Ghouse

    Here you resuire two steps EXPORT AND IMPORT
    STEP-1
    First run the export utility (name EXP80.EXE) in the ORANT\BIN directory and make the .DMP file.
    STEP-2
    Secondly run the import utility (name IMP80.EXE) in the ORANT\BIN directory and call the above .DMP file
    ===============
    THE END
    ===============

  • Administrate Objects in Schema by Another Schema

    Hi,
    I am in a scenario to give administer privilege on one schema to another schema only.
    Let me exxplain my scenario with an example.
    I have a schema named HR in my database. Now I have create another schema named SH.
    Now I need to do all operations like create table, create procedure etc on HR schema from SH schema.
    And please note that I can't give create any table, create any procedure etc as it will be a big security breach.
    Please help me to sort out this issue.
    Regards,
    Savad

    user9292816 wrote:
    Hi,
    I am in a scenario to give administer privilege on one schema to another schema only.
    Let me exxplain my scenario with an example.
    I have a schema named HR in my database. Now I have create another schema named SH.
    Now I need to do all operations like create table, create procedure etc on HR schema from SH schema.
    And please note that I can't give create any table, create any procedure etc as it will be a big security breach.
    AFAIK , without create any table/ or any any super privilege like DBA etc , you cannot achieve this.
    Regards
    Rajesh

  • Copy part of a sequence from one project into another?

    I want to bring a sequence from none project into another. Do I need to import the files into the bin in new project? Or is there a shorter way?
    (This was what I was trying to do in my last post when it all went south. I'll post it there too)

    I have brought an old sequence from a FCE project into FCP, and then copied them into a new( final) sequence, and there's a problem. Some--but not all--of the video files are very wide. Can I correct or do I need to re-import the original files fron the Hard drive?
    By the way, you've pulled my fat out of the fire a few times. Thanks.
    Sean

  • Inserting data from one table into another table using PL/SQL

    HI,
    I am trying to insert values from one table into another using PL procedure, the values I want to retrieve from the table riverside1 are charac_id and charac_type and insert these values into another table called riverside2 , the stored procedure zorgs_gorfs(x,y) accepts two parameters which are 2 charac_id's of d characters in riverside1 then using insert statements inserts these characters from riverside1 into riverside2.
    CREATE OR REPLACE PROCEDURE zorgs_gorfs(x IN NUMBER, y IN NUMBER) AS
         BEGIN
              INSERT INTO riverside2
                   (charac_id)
              VALUES
                   (x);
    INSERT INTO riverside2
                   (charac_id)
              VALUES
                   (y);
          END zorgs_gorfs;
    /This works but the problem im having is that when I also try to insert the charac_type as well as the charac_id it doesnt work below is the code:
    CREATE OR REPLACE PROCEDURE zorgs_gorfs(x IN NUMBER, y IN NUMBER) AS
         BEGIN
              INSERT INTO riverside2
                   (charac_id,charac_tye)
              VALUES
                   (Select
                        charac_id,
                        charc_type
                   FROM
                        riverside1
                   WHERE
                        charac_id = x);
          END zorgs_gorfs;
    /can someone kindly sort me out

    modify this sql
    INSERT INTO riverside2
                   (charac_id,charac_tye)
              VALUES
                   (Select
                        charac_id,
                        charc_type
                   FROM
                        riverside1
                   WHERE
                        charac_id = x);as
    INSERT INTO riverside2
                   (charac_id,charac_tye)
              VALUES
                   (Select
                        charac_id,
                        charc_type
                   FROM
                        riverside1
                   WHERE
                        charac_id in ( x,y));But my suggestion would be consider revising your approach. It does not look that good.
    Thanks,
    karthick.

  • TS2530 When I put a burned cd from one Mac into another Mac, song titles do not show up! I have to enter them manually! My CD player reads the titles that i on the cd; how can I get my Mac to do so?

    When I put a burned cd from one Mac into another Mac, song titles do not show up! I have to enter them manually! My CD player reads the titles that i on the cd; how can I get my Mac to do so?

    The problem is that I burned these CD's myself from music that I added from my personal collection to iTunes. The INFO is ON the CD's (it appears perfectly when I put the CD in my Numark mixer...so I know the info is on the CD), but for some reason, my MAC PRO will NOT read the info on the burned CD when I place the CD into the MAC PRO. The CD was burned on a MAC that I no longer own. But there HAS to be a way to transfer songs from a burned CD with the INFO that is on the CD burned with iTunes.
    PLEASE HELP!
    -Old Appel

  • How to get a value from one item into another

    How can i get value from one item into another item.
    Ex: I have a report, in there i have check boxes, and when i have checked some rows, and press submitt, a prosses computates it into a item on another page, and a branche redirects to page 3. Then i'm going to use the value in the item into a PL/SQL script in an report to show the submittet items.
    How can i do this?
    Computation script, pages and all that is fixed. But i dont know which PL/SQL statement to use to get th value from the item.

    Hi Fredr1k,
    Use the V() function from pl/sql.
    e.g. V('P3_MY_ITEM')
    will return the value of that page item.
    As long as the pl/sql is called from within the Apex environment.
    Regards
    Michael

Maybe you are looking for

  • Backing up photos to external hard drive,and exporting back to CF card on camera

    iPhoto 5 on Mac Power PC G4, OS 10.4.11 backing up photos to external hard drive (LaCie) My iPhoto Library contains a number of files (such as 'Library.iPhoto' 'iPhoto.db' 'ThumbJPG.data' etc) and a number of folders with dates such as 2005 etc, cont

  • URGENT LargeFile in Pro*C

    I need to manage text files of 4GBytes on a Unix system (the usual limit is 2GBytes on this file-system). I tried using the directive CDEFS=_LARGEFILE_SOURCE in the Makefile, but it does'n seem to work (the C compiler seems to loose the call to <sqlc

  • Flex compilation error after adding an additional output port to a query

    Hello, I need to add an additional output port to a query in order to dynamically filter some results. Our version of VC 7.0 (SP16) doesn't support filter components with access to store data. Just when we add an extra output port to the query and de

  • BSP iview HAP_CALIBRATION Graphic does not appear

    Hi there, I'm using HAP_CALIBRATION BSP application, search.htm page. When trying to show the graphic, it does not appear. I have configured IGS connections at SM59. I´ve already checked note 898918 and I have this correction installed. What can I do

  • Rotating Movie in iPhoto 11

    Is there a way to rotate a video 90º in iPhoto 11?  I shot a video with my Canon Elph camera held vertically and I would like to view it that way in iPhoto.