Export/import utility from within apex

Hi Friends,
With my knowledge in oracle forms the export/import utility can be called from within a form in runtime
using a push button.But how can i achieve this using a similar button in the oracle apex.
Pls give me a helping hand.Thanks.
regards,
kehinde

Hello:
The Oracle Data Pump utility is now the preferred tool to use to import and export data and metadata from an Oracle database. Oracle Data Pump provides capabilities that far exceed those provided by the older imp/exp programs. Further, in addition to command line invocation of the tool, Oracle Data Pump has a set of pl/sql APIs (DBMS_DATAPUMP) that will let you do import and exports from pl/sql. You can therefore easily set up an APEX page that will accept a bunch of parameters and execute the appropriate procedures within DBMS_DATAPUMP to do the export/import.
http://download.oracle.com/docs/cd/B19306_01/server.102/b14215/dp_api.htm#i1008009
Varad

Similar Messages

  • How to call Operating System commands / external programs from within APEX

    Hi,
    Can someone please suggest how to call Operating Systems commands / external programs from within APEX?
    E.g. say I need to run a SQL script on a particular database. SQL script, database name, userid & password everything is available in a table in Oracle. I want to build a utility in APEX where by when I click a button APEX should run the following
    c:\oracle\bin\sqlplusw.exe userud/password@database @script_name.sql
    Any pointers will be greatly appreciated.
    Thanks & Regards,

    Hi Guys,
    I have reviewed the option of using scheduler and javascript and they do satisfy my requirements PARTIALLY. Any calls to operating system commands through these features will be made on the server where APEX is installed.
    However, here what I am looking at is to call operating systems programs on client machine. For example in my APEX application I have constructed the following strings of commands that needs to be run to execute a change request.
    sqlplusw.exe user/password@database @script1.sql
    sqlplusw.exe user/password@database @script2.sql
    sqlplusw.exe user/password@database @script3.sql
    sqlplusw.exe user/password@database @script4.sql
    What I want is to have a button/link on the APEX screen along with these lines so that when I click that link/button this entire line of command gets executed in the same way it would get executed if I copy and paste this command in the command window of windows.
    Believe me, if I am able to achieve what I intend to do, it is going to save a lot of our DBAs time and effort.
    Any help will be greatly appreciated.
    Thanks & Regards,

  • Problem with the Export/Import Utility when importing a .portal file

    Hi there !
    I got the following error when trying to import a .portal file to a desktop by using the Export/Import Utility.
    <13-11-2009 12:13:26 PM CLST> <Error> <netuix> <BEA-423487> <Import: did not add navigable [2203] as it would cause an illegal dependency.>
    The error is shown several times, starting from the number [2203] until [2285].
    It causes that i can't see some pages of my portal... it's like they dont exist.
    I Hope you can help me fix it, because i have not found any information about it.
    Best regards
    P.D.: I am using the BEA Weblogic 10.0.1 version.
    Edited by: user12231353 on 16-nov-2009 12:38

    I upgraded to cs6 and imported all the images together, I made them 3 frames per and exported them. The problem is slightly improved but still there. I'm still getting flicker.
    Check it out: http://www.youtube.com/watch?v=g_yZjskzTLs
    Black screen version from yesterday if you want to look at it: http://www.youtube.com/watch?v=NCcAEO8YU6Y
    The problem has to be with my settings. when I upgraded it deleted all my prefrences and settings. There was no dslr preset either so I had to redo it all from  scratch to the best of my ability. Here is a complete rundown of my settings:
    I shoot with a canon dslr 60D in 24fps and upload all my stuff in 1080p. Please advice.

  • Move our Existing Database 8.1.7.3 into 10gR2 through Export Import Utility

    Hi,
    I want to move our Existing Database 8.1.7.3 into 10gR2 through Export Import Utility in Oracle EBS (FINANCILA) environment.
    My Current Setup:
    OS: SUN SPARC 8
    ORACLE APPS: 11.5.7
    DB Version: 8.1.7.3
    My New Setup:
    OS: SUN SPARC 10
    ORACLE APPS: R12
    DB Version: 10gR2
    I have successfully created Upgraded file R12 file system and installed R12 tech stack.
    Now we want to move data from Current to New Setup by using Export/Import utility.
    Please suggest me steps or meta link note .
    Thanks
    Anup

    What shoul be better for my case:
    Upgrade Paths :
    E-Business Suite Releases Available Paths
    11.5.8 with 9.2.0.x database Path A
    11.5.9 (base or CU1) with 9.2.0.x or 10.1.0.x database Path A
    11.5.9 CU2 with 9.2.0.x or 10.1.0.x database Path A or Path C
    11.5.9 CU2 with 10.2.0.2 database Path D
    11.5.9 CU2 with 10.2.0.3 database Path E
    11.5.9 CU2 with 10.2.0.4 database Path B
    11.5.10 (base or CU1) with 9.2.0.x or 10.1.0.x database Path A
    11.5.10.2 with 9.2.0.x or 10.1.0.x database Path A or Path C
    11.5.10.2 with 10.2.0.2 database Path D
    11.5.10.2 with 10.2.0.3 database Path E
    11.5.10.2 with 10.2.0.4 database Path B
    Regards
    Anup

  • 10g export/import utility

    Hi,
    I imported a couple of tables using the export and import utilities. Here is a break down of the process.
    -Exported SH schema as SH.
    -Created a new user 'HT' as sys, granted it resource and connect roles.
    -Ran import utility as HT and imported only 2 tables (sales & products) from the schema export .dmp file.
    -The import runs successfully, saying the tables have been imported.
    -I run a select against user_tables as HT to find the imported tables, which returns no rows selected.
    Why is this?

    Hello,
    How did you exported the tables?
    If you are cloing the entire schema and using conventional export/import utility then do following
    exp system/manager owner=userA file=userA.dmp log=userAexport.log
    imp system/managet fromUser=userA toUser=userB file=userA.dmp log=userBimport.logAnd if you are importing just couple of tables then do following
    exp username/password tables=table1,table2 file=tables.dmp log=tableexport.log
    imp username/password tables=table1,table2 file=tables.dmp log=tableimport.log rows=Y ignore=Y
    #With tables (make sure table doesn't exists in target schema).
    imp username/password tables=table1,table2 file=tables.dmp log=tableimport.log YOu can also use datapump but it has different options and I recommend you should refer to oracle documenation for using datapump.
    Regards
    Edited by: OrionNet on May 25, 2009 2:27 PM

  • Send email from within apex 2.1 application

    Hello,
    I like to send email from within apex application. I use oracle 10g xe with apex 2.1
    thx for advice
    Edited by: wucis on Feb 27, 2012 11:49 AM

    That is a very old version indeed. The documentation for sending emails from Apex 2.2 is here:
    http://docs.oracle.com/cd/B31036_01/doc/appdev.22/b28550/advnc.htm#BABJHJJF

  • Export/import to/from database

    hi,
    i do not know what is this for. i read the help but still no idea.
    i know to use export/import to/from memory id and also set/get but not export/import to/from database.
    1) what help says it stores data cluster? what is data cluster
    2) can have example of export/import to/from database?
    3) what is the different for export/import to/from memory id and database?
    thanks

    Hi,
    1) A data cluster is a set of data objects grouped together for the purpose of storage in a storage medium(Like database, local memory or shared meomory etc), which can only be edited using ABAP statements like EXPORT, IMPORT and DELETE.
    2) Suppose you want to export the data in a internal table to database.
    Here TABLE_ID is the identifer of your data cluster. You are exporting your data to a SAP table INDX and giving it an ID (TABLE_ID in this case and this ID you are giving it an area by name XY where your data will be stored). EXPORT tab = itab
      TO DATABASE indx(XY)
      CLIENT '000'
      ID 'TABLE_ID'.   
    You can get this data as follows.
    IMPORT tab = itab
      FROM DATABASE indx(xy)
      CLIENT '000'
      ID 'TABLE_ID'.
    3) The difference is simple when you use MEMORY ID the data you export is stored in the application server MEMORY where as in the case of DATABASE it is stored in the database.
    Regards,
    Sesh

  • Using the Import utility from other users and going to a different schema

    I has a user today with rights
    Insert into XXXX.TABLE values(); Works just fine for another schema's table which has select,insert,update,delete.
    We tried to utiile the import utility from OTHER USERS
    Insert failed ORA-00942
    Do you want ot ignore all errors
    Even though we have rights to the schema under OTHER USERS.
    When connected as the owner it works fine.

    I've be trying to find a work-around to this issue & found this old post -- I'm having the same problem.
    I'm using Oracle 11g and SD 2.1.1.64.
    I have user A with a table that grants select,insert,update, and delete privs to user B. Logging into user B I, of course, can do inserts, deletes, etc. on the the table in user A's schema.
    When I use the import data feature to load data from a CSV file I can't get it to work while logged into user B. It does work fine if logged into user A. It looks like the issue may be that it doesn't put the schema prefix of "A." on the insert statements.
    Has anyone found a way to get around this issue yet?

  • How to wrap the export/import utility using perl

    Hello,
    How to user perl to wrap the export/import utility? Thanks.

    If you are using DBMS_SCHEDULER, I would expect that you would just invoke export directly. I'm not sure I see the benefit to putting a Perl wrapper on top in that case. Of course, DBMS_SCHEDULER could invoke a Perl script just as it can invoke a shell script if there was some particular need to have a Perl layer there.
    Of course, I assume that you're not trying to invoke export on a regular basis as your primary backup method... Exports should be a complement, not a supplement, to a proper physical backup (i.e. via RMAN).
    Justin

  • Export/import utility for portals: opeasst ; where to launch from?

    hi all
    does this script opeasst.csh have to be run from infra home or the midtier home? i think for exports of pages and portlets from 904, the CH 10 on export/import requires us to launch export from the mid-tier.
    however, if i set up the midtier as my home, and intend to use the opeasst.csh, i do not see this script sitting in the directory where it's been suggested to reside:
    ORACLE_HOME\portal\admin\plsql\wwu
    instead it is in the ORACLE-infra home:
    ORACLE_HOME\portal\admin\plsql\wwu
    please help. it is URGENT.
    I am using OracleAS 10g Portals 9.0.4 version.

    I've been doing some runs and had typical DB export's at about 12 GB per hour (compressed to ~7GB file). Typical DB I/0 bottle neck loosened by using different file system/disk to point export at than where the DB data files reside (CPU ~80% of single CPU)
    now the import is a bigger item.

  • EXPORT / IMPORT  TO/FROM SHARED BUFFER

    Hello all,
    I am facing a problem with the EXPORT/IMPORT to SHARED BUFFER statements.
    In my report program , I export data to the shared memory.
    I then call a transaction to park an accouting document.
    The BTE 2218 gets triggered in the process. Here the IMPORT works fine.
    Later, there is a standard function module which is called IN UPDATE TASK.
    Within this, the IMPORT statement fails.
    It works on one server but not on another.
    Notes :
    The IMPORT works in debugging mode but fails if I simply run.
    Another point is that the ID used for identifying the shared memory uses sy-uname.
    Can the visiblity of sy-uname in UPDATE TASK be controlled by settings ?
    Any ideas on this ?
    Please don't copy paste the help on SHARED BUFFER etc.
    Thanks in advance.

    Hi Mariano,
    the issue is to due to multiple servers present where SHARED MEMORY is specific for each application server.
    So we export data into shared memory in program A, we have to be sure, that program B or FM which is called in background or update task by program A runs on the same application server
    Here, the problem is when program A calls the program B or FM in background or update it’s a dynamic scheduling to all application server with have batch work processes and not the same application server that of calling program A always, so program B runs on another application server which has different shared  memory.
    Solution will be:-
    To Force program B to run on same application server as of calling program A by
    passing sy-host of calling program A to Function module “JOB_CLOSE” parameter
    name “TARGETSERVER”. OR
    Instead of using SHARED MEMORY we will use DATABASE.
            EXPORT itab FROM itab  TO DATABASE indx(ar) CLIENT sy-mandt ID job_number in programA where job number is unique.
            Then IMPORT itab TO itab FROM database indx(ar) CLIENT sy-mandt ID job_number  in program B Where job number is passed from program A to B.
            Then DELETE FROM DATABASE indx(ar) CLIENT sy-mandt ID job_number.
    Regards,
    Vignesh Yeram

  • Export/Import utility

    With Oracle 10G, do we need to set the NLS_Lang for exporting and importing data.

    The NLS_Lang FAQ says the following.
    "In Oracle9i the Export utility always exports user data, including Unicode data, in the character set of the database. The Import utility automatically converts the data to the character set of the target database."
    But it is not very clear from Export/Import FAQ in metalink.

  • Export/Import groups from address book?

    How do I export group lists from address book and import them to another MAC?

    I can import individual contacts but when I export and then import a group list it imports as single contacts that go into the general contact folder.  I cannot seem to import them as groups.

  • 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

  • Command Line Export/Import Utility

    Hi,
    Is there a way to perform a command line export/import as if you were doing this via the Oracle ApEx GUI?
    If so, what is involved?
    Thanks.
    Tony.

    To import using SQL*Plus you are limited to installing an application as the original application ID and into the original workspace (both being the IDs contained in the file itself in various places). You can connect as any schema assigned to the workspace so long as that schema is not also assigned to other workspaces. If it is, you can connect as SYS, SYSTEM, or the FLOWS_xxxxxx schema, options that should be reserved as a last resort because of the undesirability of connecting as these privileged accounts.
    Scott

Maybe you are looking for

  • XML Syntax Error

    I have a page with NO comments that output unicode in xml and sometimes it works, sometimes it says: Incorrect syntax was used in a comment. Error processing resource ' http://www.netspeaknow.com/gamers/flashCFM/getPopQuiz.cf... <!-- " ---></TD></TD>

  • System message problem in pr

    Hi Experts , I have a problem with system message which is not visible when action is taken.For example we don't want to user to  enter different purchasing group in pr and I do system message for this which is standart number:68 and when I 've teste

  • Connection Manager: login failed

    I'm trying to use the destination assistant in an SSIS project in Visual Studio v2010 to configure a database to hold fields from a flat file source.  I select the Native OLE DB/SQL Server Native Client 11.0 as a provider.  No connections show up in

  • Hearing Audio While Scrolling W/ Keys (or rather, Not Hearing)

    OK so I am not an audio engineer or audio anything. I have a very simple project I told someone I'd help them with because ... how different could STP and FCP controls be? All I want to do is hear the audio on the track as I push the forward and/or b

  • Cannot sync podcasts to 4th gen. nano

    I recently downloaded several podcasts, but when I've tried to sync them to my iPod, it says the podcast "was not copied to your iPod because it cannot be played on this iPod." Am I missing something really obvious? Does anyone know why certain podca