can I export and import my database to oracle via the stored procedure?

Hi all

I need to export my database using the stored procedure, the stored procedure is called by the java application and it works well
Now I still get the "ULTIMATE QUESTION", could export and import the database using the stored procedure?

Really thanks for the reply.

Kind regards

Kahlil

Hello

I think you can use DBMS_DATAPUMP (10.1 +), see [DBMS_DATAPUMP | http://download.oracle.com/docs/cd/B28359_01/appdev.111/b28419/d_datpmp.htm#i1007277], for examples, see [http://www.psoug.org/reference/dbms_datapump.html]

Kind regards

Tags: Database

Similar Questions

  • Export and import of table made by extending the schema

    Hello

    I created a new separate table using SchemaExtension tool. Then I exported using databaseTransport tool. And after that I imported to another system, the values inserted in there was not visible. It has not exported certain permissions I think.

    What is a standard way to export a database table?

    How to configure a permissions for the imported table so data can be seen and edited?

    Thank you

    John

    Try this:

    Var bukrsCollection As IColDbObject = Connection.CreateCol ("CCC_MAPPING_TABLE")

    bukrsCollection.Load)
    VID_Write2Log (logfile, "" + bukrsCollection.Count.ToString) "' WROTE THIS REAL number of RECORDS
    For each boss as IColElem in bukrsCollection
    Dim CCC_Obj as ISingleDBObject = bm. Create()
    VID_Write2Log (log file, CCC_Obj.GetValue("CCC_SOME_COLUMN"). (ToString())
    Next

  • Database export and import them on another server of the same kind database (11.2 XE)

    Hello

    Can someone explain the process of exporting data from one server to another?

    I have database 11.2 XE and PL/SQL Developer. When I choose the tables to export tools, I do not see the table USERS space and tables indoors as HR. EMPLOYEES.

    Start the datapump doco:

    http://docs.Oracle.com/CD/E11882_01/server.112/e22490/part_dp.htm#i436481

  • How schema can be exported and imported into Oracle Apex?

    Hello

    I am very new to oracle apex. I had installed the apex and the Oracle XE database successfully. I want to import an application to my apex. It was created using workspace - worm and schema - Ves. I had imported the application and the workspace in my apex. But, I'm not able to run the application because I had specified my diagram (HR) by default for the application. How can I import the schema "Ves", in which the application is developed, in my apex?... so that I can run the application in the same pattern... Help, please. Thank you

    Do a quick web search for ApexLib highlights the suggestion that a part of your installation is missing. No doubt the other APEX instance includes the so-called Apex Lib, which seems to be a sort of add-on APEX framework (I never heard him personally sorry Patrick!).

    It seems that your original application has dependencies on this module, which you have not captured during migration. I suggest re - visit your existing instance of APEX and see what are the additional dependencies it (it has different points of view in the dictionary of the APEX which can help you with this) deal with them everything first, then re - try your migration of the application.

  • Database export and import.

    Hello

    I want to export and import the database using .dmp file of two schema, the names of patterns that PRODUCTION and DEVELOPMENT.

    I want a script of the PRODUCTION schema export and clean DEVELOPMENT scheme adds the .dmp file in the pattern of DEVELOPMENT.

    Please suggest me the script to do this activity. I tried many ways not able to import correctly

    Thank you
    Sudhir

    My friend, that's almost exactly the same method that we discussed earlier in {: identifier of the thread = 2403938}. But now must use expdp/impdp with clause DUMPFILE, not DATABASE_LINK.

    Published by: Nikolay Ivankin on 20.06.2012 16:39

  • Problem of migration of data of characters using a whole export and import

    Hi there;

    I have a database in my local computer that does not support Turkish characters. My NLS_CHARACTERSET is WE8ISO8859P1, it should be changed to WE8ISO8859P9, because it supports the full Turkish characters. I would like to migrate character data using a full export and import and my strategy is the following:

    1. create a full export to a network location,

    2 create a new database in the local computer than NLS_CHARACTERSET is WE8ISO8859P9 (I wish NLS_TERRITORY NLS_LANGUAGE change by the way)

    3 and to implement a full import of database created.

    I've implemented the first step, but I could not implement the second step. I created the second step using Toad editor by clicking Create-> new database, but I can't connect to the new database. I need to connect the new database in order to perform the full import. How can I do this?

    Thanks in advance.

    Technical details

    NLS_LANGUAGE... AMERICAN

    NLS_TERRITORY... AMERICA

    NLS_CURRENCY... $

    NLS_ISO_CURRENCY... AMERICA

    NLS_NUMERIC_CHARACTERS.,.

    NLS_CHARACTERSET... WE8ISO8859P1

    NLS_CALENDAR... GREGORIAN

    NLS_DATE_FORMAT... DD-MON-RR

    NLS_DATE_LANGUAGE... AMERICAN

    NLS_SORT............................... BINARY

    NLS_TIME_FORMAT... HH.MI. SSXFF AM

    NLS_TIMESTAMP_FORMAT... DD-MON-RR HH.MI. SSXFF AM

    NLS_TIME_TZ_FORMAT... HH.MI. SSXFF AM TZR

    NLS_TIMESTAMP_TZ_FORMAT... DD-MON-RR HH.MI. SSXFF AM TZR

    NLS_DUAL_CURRENCY... $

    NLS_COMP............................... BINARY

    NLS_LENGTH_SEMANTICS... BYTE

    NLS_NCHAR_CONV_EXCP... FAKE

    NLS_NCHAR_CHARACTERSET... AL16UTF16

    NLS_RDBMS_VERSION... 10.2.0.1.0

    :

    First of all, if your applications run on Windows, do not use WE8ISO8859P9. Use TR8MSWIN1254.

    Second, if you create a new database, the database is not necessarily immediately accessible to the outside world. I don't know of a toad, and I have no idea if it performs all necessary steps required for the new base data is visible.  For example, in the toad itself, I guess you need to create a new connection that refers to the new SID of the newly created database and use this new link to connect. However, connections without a connection string using the parameter ORACLE_SID in the registry to indicate applications access which instance (database) to use.  To change the database accessed with a connection string empty, you must modify the registry (unless the toad has an option to do it for you). If you want to connect without changing the registry, you need a connection string. This requires the implementation of Oracle Listener to serve the new database (unless the default configuration is used and the database registers itself with the default listener). You must also edit the tnsnames.ora file to create an alias for the new database. Net or Net Configuration Manager Wizard can help you with this.

    I wonder if the database Configuration Wizard would not be a better tool to create a new Oracle databases.

    Thank you

    Sergiusz

  • Tables of export and import the schema using the system user

    Hello

    Can someone asssit me please:

    I want to export all the tables / or some tables of a schema (ETLUSER) on DB1 to ETLUSER on an other (DB2) database by using the user of the SYSTEM. The SYSTEM user has DBA privilege.
    How I do what I do not know the password of ETLUSER.

    Environment:
    Oracle 11 g 2, AIX5

    Thank you.

    no problem, shouldn't you password in the ETLUSER.
    Start your exp or imp of the user of the system

    below, scott table dept exported and imported in the HR schema.

    Oracle@oragg1 > exp tables = scott.dept file = a.dmp log = b.log

    Export: Release 10.2.0.4.0 - Production on Mon Mar 19 18:58:45 2012

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

    Username: System
    Password:

    Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production 64-bit
    With the partitioning, Real Application Clusters, OLAP, data mining
    and Real Application Testing options
    Export in US7ASCII and AL16UTF16 NCHAR character set
    Server uses WE8ISO8859P1 (possible character set conversion) character set

    About to export specified tables by conventional means...
    Current user has changed to SCOTT
    . . export the DEPT 10 exported table rows

    Oracle@oragg1 > imp leader = a.dmp log = bb.log fromuser = scott touser = hr

    Import: Release 10.2.0.4.0 - Production on Mon Mar 19 18:58:56 2012

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

    Username: System
    Password:

    Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production 64-bit
    With the partitioning, Real Application Clusters, OLAP, data mining
    and Real Application Testing options

    Export file created by EXPORT: V10.02.01 by conventional means
    import in US7ASCII and AL16UTF16 NCHAR character set
    import server uses WE8ISO8859P1 (possible character set conversion) character set
    *. import of SCOTT in HR objects *. .
    "DEPT" table import 10 lines imported
    Import completed successfully without warnings.

  • EXPORT AND IMPORT utilities

    Hello

    I'm a certified OCA so I'm new to export and import of concepts.when I've lived on this concept on several sites that I have idea of big important thing produced is prior to export, we run we run catalog.sql file but when I tried to export files it works without runing tat script.then what is the use of the catalog.sql run script?

    Hello

    Manual creation of data base means that we can create an oracle database using manual scripts without using dbca. We use the export utility is for taking backup of

    database is running and the backup file created with so .dmp file taken call us as dump and utility import file is used to restore the dump to the database file.

  • Export and import using named pipes

    Hai,
    I need a clarification to the export, import and compress dumps using named pipes. I use Oracle 9i RAC 9.2.0.4 in AIX 5.3. Every month I have to move the list of tables in a database to a different database after shocks of export. The list of activities made by me at the present time are given below.

    1 account export and gziping file dump at the same time by using named pipes.
    2. to unzip and import into database using named pipes second.

    We do the compress for space constraints. Now my doubt is if using named pipes, we can make two import operations and compress the dump file at the same time. That is to say, at the time of export, using channels named, I need the import into the database in another and compress the zip file. Is this possible?

    mknod exp.out p
    mknod imp.inp p
    owner of dbadmin/admindb queue = exp.out exp = scott log = export.log statistics = none &
    gzip < exp.out=""> a.dmp.gz
    IMP file = imp.inp dbadmin/admindb fromuser = scott touser = foobar log = import.log &
    gunzip < a.dmp.gz=""> imp.inp
    RM exp.out
    RM imp.inp

  • How to make fast export and import

    I have a windows 2003 server and oracle 10.2.0.3 installed on it.
    Here, I would like to ask how can I speedup my export and import using expdp.

    Hi user,

    user11798002 wrote:
    I have a windows 2003 server and oracle 10.2.0.3 installed on it.
    Here, I would like to ask how can I speedup my export and import using expdp.

    You can use export parallelization using data pump, but for traditional export use the following syntax

    Export of databases - readings given by running a select data and generating the DDL to perform the import process in the future.

    Quick export

    (1) use direct = y
    (2) until the disk is not fully used try to launch exports in parallel.
    (3) maintain the export on the other disk file and data files.
    (4) exports to run into two parts rather than lines that is 1 a = n and second to as long as index = n lines = forced y = n.

    Quick import

    (1) uses the first two files created with exports, it will insert all data but doesn't create any indexes and constraints. Once the insertion of data made imp execution with the indexfile option to extract the index creation script in the text file. Edit the file to include a parallel clause, and then set it to 128 with sort_area_size db_file_multiblock_read_count parameter to a higher value and a workarea_size_policy = AUTO.

    A P R I T S I N H A
    [oracledba.in]

  • sys and system of export and import

    Hi all

    is there a difference with exports or imports, usiing the sys user and user of the system.

    a schema export and import has to do with the system user only.

    What is the difference in fact.

    Thank you!

    Hello
    In general, never use sys - you can't export consistent reading on the one hand, that the sys user. As long as the user you run expdp/impdp a permission/imp_full_database, they should be able to unload/load anything.

    SYS the property in the goods may not be imported/exported in any case. tab$ is for example a table in sys but rows in it are added/removed by sql recursive create/delete table implementation.

    Kind regards
    Harry

  • Problems with export and import

    I have a problem with export and import

    Here's what I did...
    exp "'/ as sysdba'" PARFILE=parfile.txt
    
    PAFILE
    
    TABLES=user1.Table1
    file=Table1_1006.dmp
    LOG=Table1_1006.log
    query="where to_char(processeddate,'YYYYMMDDHHMISS') between to_char(to_timestamp('1911-01-01 00:00:00','YYYY-MM-DD HH24:MI:SS'),'YYYYMMDDHHMISS') and to_char(to_timestamp('2011-10-06 16:46:26','YYYY-MM-DD HH24:MI:SS'),'YYYYMMDDHHMISS')"
    Here is my log export
     set and AL16UTF16 NCHAR character set
    
    About to export specified tables via Conventional Path ...
    Current user changed to user1
    . . exporting table               Table1   16019049 rows exported
    EXP-00091: Exporting questionable statistics.
    EXP-00091: Exporting questionable statistics.
    EXP-00091: Exporting questionable statistics.
    EXP-00091: Exporting questionable statistics.
    EXP-00091: Exporting questionable statistics.
    EXP-00091: Exporting questionable statistics.
    EXP-00091: Exporting questionable statistics.
    EXP-00091: Exporting questionable statistics.
    Export terminated successfully with warnings.
    Then I started to import
    /database2/rdbm15> imp "'/ as sysdba'" file=Table1_1006.dmp fromuser=user1 touser=user1 tables=Table1 log=imp_Table1_1006.log
    
    Import: Release 10.2.0.5.0 - Production on Thu Oct 6 19:57:01 2011
    
    Copyright (c) 1982, 2007, Oracle.  All rights reserved.
    
    
    Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    
    Export file created by EXPORT:V10.02.01 via conventional path
    import done in US7ASCII character set and AL16UTF16 NCHAR character set
    . importing user1's objects into user1
    IMP-00015: following statement failed because the object already exists:
     "CREATE TABLE "Table1" ("APPROVALTRACEID" VARCHAR2(64), "REQUESTOR"
     "EID" VARCHAR2(9), "EID" VARCHAR2(9), "FIRSTNAME" VARCHAR2(32), "LASTNAME" V"
     "ARCHAR2(32), "MIDDLEINITIAL" VARCHAR2(8), "TIER" VARCHAR2(3), "JOBTITLE" VA"
     "RCHAR2(64), "JOBCODE" VARCHAR2(10), "EMPLOYEETYPE" VARCHAR2(2), "CONTRACTOR"
     "TYPE" VARCHAR2(2), "EMPLOYEESTATUS" VARCHAR2(2), "COSTCENTER" VARCHAR2(10),"
     " "COSTCENTERDESCRIPTION" VARCHAR2(50), "CONTRACTENDINGDATE" VARCHAR2(8), "A"
     "CCOUNTSTATUS" VARCHAR2(2), "LOGINID" VARCHAR2(70), "APPLICATIONGROUP" VARCH"
     "AR2(50), "APPLICATIONNAME" VARCHAR2(50), "APPLICATIONID" VARCHAR2(12), "LEV"
     "EL1" VARCHAR2(512), "LEVEL2" VARCHAR2(512), "LEVEL3" VARCHAR2(512), "LEVEL4"
     "" VARCHAR2(512), "LEVEL5" VARCHAR2(512), "PROFILECODE" VARCHAR2(50), "PROCE"
     "SSEDDATE" DATE, "APPROVERMANAGEREID" VARCHAR2(9), "APPROVERMANAGERDELEGATEE"
     "ID" VARCHAR2(9), "APPROVERT4MANAGEREEID" VARCHAR2(9), "APPROVERT4MANAGERDEL"
     "EGATEEID" VARCHAR2(9), "APPROVERAPPOWNEREID" VARCHAR2(9), "APPROVERAPPOWNER"
     "DELEGATEEID" VARCHAR2(9), "PERFORMEREID" VARCHAR2(9), "NATIONALID" VARCHAR2"
     "(30), "COUNTRYCODE" VARCHAR2(9), "PASSPORTID" VARCHAR2(20), "DATEOFBIRTH" V"
     "ARCHAR2(15), "CITYOFBIRTH" VARCHAR2(15), "VENDORNAME" VARCHAR2(50), "VENDOR"
     "MANAGERNAME" VARCHAR2(50), "VENDORMANAGERID" VARCHAR2(9), "VENDORADDRESS1" "
     "VARCHAR2(100), "VENDORADDRESS2" VARCHAR2(100), "VENDORSTATEPROVINCE" VARCHA"
     "R2(15), "VENDORCOUNTRYCODE" VARCHAR2(9), "VENDORZIPPOSTALCODE" VARCHAR2(9))"
     "  PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 4076863488 "
     "NEXT 1048576 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)            "
     "                   LOGGING NOCOMPRESS"
    Import terminated successfully with warnings.
    but I have no lines of base2
    [server1]database2
    /database2/rdbm15> sqlplus / as sysdba
    
    SQL*Plus: Release 10.2.0.5.0 - Production on Thu Oct 6 19:59:17 2011
    
    Copyright (c) 1982, 2010, Oracle.  All Rights Reserved.
    
    
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    
    SQL> select count(*) from user1.Table1;
    
      COUNT(*)
    ----------
             0
    
    SQL> exit
    SQL> select * from v$version;
    
    BANNER
    ----------------------------------------------------------------
    Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bi
    PL/SQL Release 10.2.0.5.0 - Production
    CORE    10.2.0.5.0      Production
    TNS for HPUX: Version 10.2.0.5.0 - Production
    NLSRTL Version 10.2.0.5.0 - Production
    Published by: user3636719 on October 6, 2011 17:23

    could ignore = y, and then try again. It should work

    Concerning
    Julien

  • How to export and import reports and presentations?

    Hi guys,.

    How to export and import reports and presentations of 7.2 Analyzer 11.1.1 Web Analytics.
    Can you please tell me the procedure.

    Thank you

    Hello

    As I mentioned earlier, you can export documents and presentations on the computer and mapped drives.
    -Exported documents take ARD extension & presentations take APT extension.

    To export the current document, select file, then export current Document. In the Save dialog box, indicate your location of local/network drive to which the file should be saved and click OK.

    I believe-7.2 Analyzer also has the wizard to allow you to export documents. & Presentations.

    -Alexia

  • EXPORT AND IMPORT AUTO COMMIT

    Hello

    I have a dump file that has a table that has about 70 million lines in it and a few other tables in the database. I do ALL export and IMPORT.

    When I import the dump file

    (1) if he agrees to the lines from time to time, or he just create the logs files and commit after all rows have been imported? What I need, is the frequency at which occurs the commit.

    (2) not this impdp differently implemented?

    By default, the imp utility commits after importation of the complete table.

    If you set ' commit = y ' then he will commit after each "buffer" according to the structure of the table. (for example objects BLOB etc.)

    http://download.Oracle.com/docs/CD/B19306_01/server.102/b14215/exp_imp.htm#i1023560

  • Is it possible to export and import forwarding a file option to another?

    Hi all

    I have the model in the idml file that does not have fixed reference options. I need to update these settings from one document to another. Is it possible to export and import the reference parameters of a file to another file (such as the import of paragraph styles).

    Thanks in advance

    Kasi

    Not through the user interface, but perhaps by script. Ask above in InDesign Scripting

Maybe you are looking for

  • command - tab problem

    Hello On El Capitan with a Macbook 12 "machine, the control function + tab doesn't work correctly (as work for example on my old desktop iMac with El Capitan...) What happens is that when I try to switch to a different application, by using the comma

  • FF42 - View Page Info - Media tab is missing

    I used right click and View Page Info - Media inside tab - to see pictures, backgrounds, and other media on a specific page. Now after the upgrade to FF42, this tab is missing, the only other three tabs are always available.

  • This script's bothering me: Script: chrome://tavgp/content/libs/include.js:595. How can I fix?

    When I run mozilla, mozilla does not open because this script.Script: chrome://tavgp/content/libs/include.js:595worried about the computer. After the computer asks me to stop this script, mozilla opens, but I have to wait for a long time. Help, pleas

  • HP ENVY 15-aq002no 360 x: after 10 deleted Windows app Intel Widi update birthday

    Hi, I received my new HP ENVY x 360 Notebook 28 - Sep 2016 15-aq002no. He was quite old Windows 10 installed (earlier version of 2016). I wanted to leave the laptop to be as up-to-date as possible before making personal configurations and adding cont

  • I want to import a registry key (dword key) for adm template

    I want to import the adm template (key dword) registry key but I can't. I want to import this model to the field to prevent users to write confidential data to usb storage device. [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\StorageDevicePoli