Import data from table in another table via datapump

Hello

I have Oracle 11 GR 2 on Windows 2008 Server R1 64-bit version.
I took a support for the export of table through data pump, the table name is sql_temp , my requirement is to import the data into another table, as sql_temp1 using the data pump even export the backup.
Is is possible? How can we achieve this through data pump?

Thank you and best regards,
Vikash Jain (Junior DBA)

Not really a big problem:

C:\Windows\system32>expdp scott/tiger tables=emp directory=DATA_PUMP_DIR dumpfile=test.dmp logfile=log.log

Export: Release 11.2.0.1.0 - Production on Thu Apr 26 11:49:18 2012

Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.

Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
Starting "SCOTT"."SYS_EXPORT_TABLE_01":  scott/******** tables=emp directory=DATA_PUMP_DIR dumpfile=test.dmp logfile=log.log
Estimate in progress using BLOCKS method...
Processing object type TABLE_EXPORT/TABLE/TABLE_DATA
Total estimation using BLOCKS method: 64 KB
Processing object type TABLE_EXPORT/TABLE/TABLE
Processing object type TABLE_EXPORT/TABLE/GRANT/OWNER_GRANT/OBJECT_GRANT
Processing object type TABLE_EXPORT/TABLE/INDEX/INDEX
Processing object type TABLE_EXPORT/TABLE/CONSTRAINT/CONSTRAINT
Processing object type TABLE_EXPORT/TABLE/INDEX/STATISTICS/INDEX_STATISTICS
Processing object type TABLE_EXPORT/TABLE/CONSTRAINT/REF_CONSTRAINT
Processing object type TABLE_EXPORT/TABLE/STATISTICS/TABLE_STATISTICS
. . exported "SCOTT"."EMP"                               8.570 KB      14 rows
Master table "SCOTT"."SYS_EXPORT_TABLE_01" successfully loaded/unloaded
******************************************************************************
Dump file set for SCOTT.SYS_EXPORT_TABLE_01 is:
  E:\APP\SERVERROOM\ADMIN\ORCL\DPDUMP\TEST.DMP
Job "SCOTT"."SYS_EXPORT_TABLE_01" successfully completed at 11:49:32

C:\Windows\system32>impdp scott/tiger tables=emp directory=DATA_PUMP_DIR dumpfile=test.dmp logfile=log.log remap_table=emp:testemp

Import: Release 11.2.0.1.0 - Production on Thu Apr 26 11:50:10 2012

Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.

Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
Master table "SCOTT"."SYS_IMPORT_TABLE_01" successfully loaded/unloaded
Starting "SCOTT"."SYS_IMPORT_TABLE_01":  scott/******** tables=emp directory=DATA_PUMP_DIR dumpfile=test.dmp logfile=log.log remap_table=emp:testemp
Processing object type TABLE_EXPORT/TABLE/TABLE
Processing object type TABLE_EXPORT/TABLE/TABLE_DATA
. . imported "SCOTT"."TESTEMP"                           8.570 KB      14 rows
Processing object type TABLE_EXPORT/TABLE/GRANT/OWNER_GRANT/OBJECT_GRANT
Processing object type TABLE_EXPORT/TABLE/INDEX/INDEX
ORA-31684: Object type INDEX:"SCOTT"."PK_EMP" already exists
Processing object type TABLE_EXPORT/TABLE/CONSTRAINT/CONSTRAINT
ORA-31684: Object type CONSTRAINT:"SCOTT"."PK_EMP" already exists
Processing object type TABLE_EXPORT/TABLE/INDEX/STATISTICS/INDEX_STATISTICS
ORA-39111: Dependent object type INDEX_STATISTICS skipped, base object type INDEX:"SCOTT"."PK_EMP" already exists
Processing object type TABLE_EXPORT/TABLE/CONSTRAINT/REF_CONSTRAINT
ORA-31684: Object type REF_CONSTRAINT:"SCOTT"."FK_DEPTNO" already exists
Processing object type TABLE_EXPORT/TABLE/STATISTICS/TABLE_STATISTICS
Job "SCOTT"."SYS_IMPORT_TABLE_01" completed with 4 error(s) at 11:50:13

C:\Windows\system32>sqlplus scott/tiger

SQL*Plus: Release 11.2.0.1.0 Production on Thu Apr 26 11:50:31 2012

Copyright (c) 1982, 2010, Oracle.  All rights reserved.

Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options

SQL> select count(*) from testemp;

  COUNT(*)
----------
        14

SQL>

Concerning
Girish Sharma

Tags: Database

Similar Questions

  • import data from database A database B

    Hi experts,

    I am a newbie in oracle database,
    is it possible to write a sql or others to import data from tables in the database A to B database tables?

    There is a user who has rights to access the two database?

    Thank you very much!

    Hello

    As said Ndiaye, the exp and imp utilities or the Data Pump can be used to export data from a database and to play these files in a database. It is probably the most common way to copy data from one database to another.

    You can create a database link in a database to another database of reference. Then you can use the database tables, or both in the same statement.
    See CREATE DATABASE LINK in the SQL language manual
    http://download.Oracle.com/docs/CD/B28359_01/server.111/b28286/statements_5005.htm#sthref6123

    For large amounts of data, look for The Transportable Tablespaces .

  • Extracting data from table without refreshment and without using the tab key.

    Hi friends,

    I have a problem I want to extract data from table without discount in the text field without using the Tab key. When I enter a field value any value then the text corressponding should enter into corressponding textfield without using the Tab key.

    for example. When I get back emp_id 101 in a text field then first_name and last_name, address would come in to the text fields corressponding without refresh and use the Tab key.

    How can I do that.

    Thank you
    Maury

    Hi Maury,

    I guess it's similar to: retrieving data without refreshing rather than Re: value of a textfield should enter into an another textfield without using the TAB ?

    If so, the only change you want to bring on the first is to use the parameter "Onkeyup" instead of "onchange" in the 'HTML Form attributes of the element' element.

    Note, however, that the user must move away from the issue at some point (for example, to click on a button), so the onchange will fire anyway.

    Andy

  • Import data from another browser - only a few favorite IE9 are transferred in bookmarks. Solution HTML - HTML file all Favorites OK, but same result

    Win7 / IE9: use for the first time. Example: A folder of Favorites has 4 entries HTML - only 2 transferred. Some have none transferred - empty folder. Others have correct random + some disappeared persons.

    All of Monday
    I can see the full list of favorite IE9 HTML in HTML file on desktop with Firefox-> new tab-> open file-> open
    .
    In the desktop HTML file, there are 37 files IE9 with no more nesting 3 deep in all of a high. They are all correct wrt favorite IE9.

    All records albums + deeper nests are copied in FF ok. Random content. Copied content works ok

    7 unassigned to IE9 HTML web sites best records are also copied <-these 7 copy on FF and work well

    Example: First file in the list of IE9 has no nesting., IE9 has 4 entries - Firefox has only 2. What other method of reproduction is used.

    BTW - please let know us how I can delete entire list of bookmarks in Firefox button to try again with a clean list of bookmarks

    I'll uninstall Firefox and start over with a clean copy and use the HTML only method to try to transfer IE (files. I'll bring result.

    BTW, I'm in the United Kingdom at the time of UK - where delays to answer - need to sleep sometime!

    Tuesday night

    Hello

    I uninstalled Firefox. Re installed and loaded with favorite IE9 to HTML file.

    All seem to be copied correctly

    First time that I started using the "import data from another browser. Partial is copied.
    Then I tried 'Import HTML file' without deleting any favorite had been copied. Always partial copied.

    Everything seems fine.

  • I couldn't add the Favorites of internet explore because "important data from another browser" are gray

    I tried to import favorites to internet explore, but I find the tab 'import data from another browser' was grey (not active)

    Make sure that you are not Firefox running in permanent private browsing mode.

    To view the history settings and cookies, choose:

    • Tools > Options > privacy, choose the setting Firefox will: use the custom settings for the story of
    • Uncheck the box: [] "always use the navigation mode private.
  • I want to import my IE Favorites but "import data from another browser" is grayed out and is not an available choice.

    Following the instructions of Firefox to open the library - import & backup tool - the drop down choice for "Import data from another browser" this choice is grayed out and unavailable. I don't know how to import my IE Favorites.

    Make sure that you are not Firefox running in permanent private browsing mode.

    To view the history settings and cookies, choose:

    • Tools > Options > privacy, choose the setting Firefox will: use the custom settings for the story of
    • Uncheck the box: [] "always use the navigation mode private.
  • When you try to import the bookmarks, the ability to import data from another browser is not active in the import and backup from the tap in the history. So, how to import bookmarks on my file?

    I followed the instructions of Firefox to import bookmarks/favorites to Internet Explorer. It does not work because the import data from another browser is not active in the import tab and backup in the history. The instructions read to use this tab, but does not work because it cannot be selected.

    Make sure that you are not Firefox running in permanent private browsing mode.

    To view the history settings and cookies, choose: Tools > Options > privacy, choose the setting Firefox will: use the custom settings for the story of

    • Uncheck the box: [] "always use the navigation mode private.
  • How to recover data from table

    I'm new to APEX 4.0, how to recover data from table

    My table is CR_USERPROFILE... and I want to recover data to the following recommendations:

    Select the title, user name, address, email, mobile, cr_userprofile where e-mail is APEX_CUSTOM_AUTH. GET_USERNAME


    Text P110_EMAIL 10 field
    20 P110_TITLE selection list
    P110_USERNAME 30 text field
    Text field P110_ADDRESS 40
    P110_PHONE 50 text field
    Text P110_MOBILE 60 field

    could any body if you please help...

    Thanks and greetings
    Luke

    Hello

    1. create the process Page.
    2. Select the Data Manipulation
    3. in the category select "Automated line Fetch".
    4 enter the process name, sequence, select "on the load - before the headers" to the point.
    5. specify the owner, table, primary key and the key column primary (Item name contains the primary key).
    6. create a process.
    7. in each element, select "Column of the database" in "the Source Type.

    Kind regards

    Patel Kartik
    ------------------------------------------------------------------------
    http://patelkartik.blogspot.com/
    http://Apex.Oracle.com/pls/Apex/f?p=9904351712:1

  • Import data from Excel to ADF

    Hello world
    I need to import data from excel file that I've seen some posts as
    http://technology.AMIS.nl/Blog/8418/ADF-11g-import-from-Excel-into-an-ADF-table
    but it did not work with me.
    Thank you

    N °
    ADFDi binds ADF (web) with MS Office.
    See this demo: http://download.oracle.com/otn_hosted_doc/jdeveloper/111demos/ADFdi_Overview/Overview-ADFdi11g.html

  • importing data from the old system to the new system, key to the raw16 column

    Hi, experts,

    now I have a new system, the design of the system is to use raw (16) column as the key column in all tables of database.
    of course, when the new system goes live (in production), new records of transactions are written to the new database system.
    When the new system inserts new records, it manages itself to avoid any conflict of the raw key column value (16)


    Now, I'm dealing with this problem:

    I need to import data from the old system to the new system, I use sys_guid() to fill the column raw (16) into the new database system.
    How can I avoid conflicts of raw column value (16) between the old system data and the new data of database system?

    the sql code I write is very simple:

    insert into new_sys_table_a (key_column_raw_16,...,...)
    Select sys_guid(), old_sys_col_a, old_sys_col_b
    of old_sys_table_a;
    insert into new_sys_table_a (key_column_raw_16, col1, col2 )
    select key_column_raw_16, col1, col2
    from old_sys_table_a;
    
  • Import data from different DBs to HFM Application using FDQM

    Hi gurus

    1. how to import data from different databases to HFM Application using FDQM?
    Do we need to write scripts for integration in FDQM, or is there an alternative method, we need to do?

    concerning
    Dev

    Data import is long to explain,

    To be more precise,
    1. you would establish a connection with your source systems and destination where you pull the data.
    You can do this by registering adapters of integration for send_break_action source machines
    2. you would then upward some formats for importing, maps and tables of control.
    Please go through the Administrator's guide,

    One of the experts will help you better understand.

    Kind regards

    David Martin

  • When I try to import the Favorites of IE using "Import Data from Other Browser" it is grayed out. Why is this?

    I'm trying to follow the instructions of the Firefox Help. Step 2 to import bookmarks is to select the option "Import data from another browser" in history-library-import and backup. However, this option is grayed out for me and I can't select it. Why is this grayed out? How can I make this?

    Make sure that you do not use Firefox mode of private - browsing using Firefox without saving history .

    • To view the history settings and cookies, choose: Firefox > Options > privacy, choose the setting Firefox will: use the custom settings for the story of
    • : Uncheck the [] "always use the private browsing mode.

    Now do-> Import Favorites to Internet Explorer

    Check and tell if its working.

    Not related to your problem, but your Plugins are out of date

    • Update all of your Firefox Plugins-> https://www.mozilla.org/en-US/plugincheck/
    • During the installation of the Plugins download files hotfix, remove the check mark to download any other software options with your Plugins (for example, toolbars, McAfee, Google Chrome, etc.)
  • Import data from microsoft great Adobe acrobat XI

    Hello

    I am referring to an object of the adobe support page. German Version can be found here. A quote from the site are under discussion.

    I want to import data from an excel sheet in adobe pdf format. I created some forms that have the same names as the columns (to be more precise: the first line) in the excel worksheet. How I export data from excel?

    I exported the "tab-separated-Tex", but I found an error in adobe saying that the txt could not be imported. Can someone tell me how to export the data correctly?

    Is there another way?

    Thank you very much! Questions or remarks are welcome!

    Edit1: I would appreciate a person displaying a file "adobe acrobat" forms a txt for example. That make you much easier, if all goes well. Thank you!

    Import form data

    In some stream work, particular scenarios present filled with forms as data only files and not as a complete PDF files. These files are not PDFs, but use a different format, such as FDF or XML. You can view the data provided by an individual recipient in the context of the PDF by opening the original file and importing the information contained in the data file.

    1. In Acrobat, open the PDF form in which you want to import data.
    2. Choose Tools > forms > clear form.
      Note: When you import data from another file into a PDF form, the imported data will replace any information that was previously included in individual form fields. However, if the imported data file contains one or more blank form fields, the import does not clear the original data.

    3. Choose Tools > forms > more form Options > manage form data > import data.
    4. In the Select file containing Form Data dialog, select a format in the file of Type corresponding to the data file to import. Locate and select the file, and then click Open.

      Note: Some formats are only available for specific types of PDF forms, depending on the application used to create the form, like Acrobat or Designer ES2. Data you're importing a text (.txt) file must be formatted in rows, delimited by tabs that form columns.

    I think it would be better for you to put a blank form and a sample data file so that we can test it and check why it does not work.

  • Can I import data from face recognition that I did it on my MacBook to my new iMAC?

    Can I import data from face recognition that I created on my MacBook to my new iMAC?

    Thank you

    When you migrate your to face Info Photos iPhoto library are also migrated

    LN

  • can I import data from my second computer to my first

    I created the original account in my new installation of windows 7. I'm trying to import bookmarks and settings from my old installation of xp. both installations of firefox are 32-bit. I use a dual boot system. I can't get my windows 7 installation to import the settings out of sync. Why not? The main computer can pull the synchronization of the secondary image?

    See this support article:

    http://support.Mozilla.com/en-us/KB/recovering+important+data+from+an+old+profile

Maybe you are looking for