Datapump export in sql developer

Getting issue while exporting  using data pump:
Error on Job Submit
ORA-39002: invalid operation
dbms_datapump.get_status(14...)
ORA-39002: invalid operation
ORA-39070: Unable to open the log file.
ORA-29283: invalid file operation
ORA-06512: at "SYS.UTL_FILE", line 536
ORA-29283: invalid file operation
1. I am using a directory created from the schema from where i am also running export utility
2.
SELECT *   From All_Tab_Privs   Where Table_Name =
--above query shows grantee as the user i am uising to invoke export utility
Please help

user should have read and write privileges on directory...and oracle user is having access to the physical directory...

Similar Messages

  • Crash in "Export" from SQL Developer  Version 2.1.1.64

    Hi,
    Did a quick search and didn't find anything on this forum about this problem: any help
    appreciated and thus Thanks in advance.
    I was using a slightly older version of Developer to dump out a file (via Tools->Database Export)
    when the blooming thing crashed in the middle of the export.
    I hadn't upgraded the version for a while, so a quick "Check for Updates" revealed a more modern
    version. I downloaded that and went through the procedure again, but the crash is as copied below:
    java.io.IOException: ORA-06502: PL/SQL: numeric or value error
    ORA-06512: at line 1
         at oracle.dbtools.raptor.format.InsertFormatter.printColumn(InsertFormatter.java:187)
         at oracle.dbtools.raptor.format.ResultSetFormatterWrapper.print(ResultSetFormatterWrapper.java:164)
         at oracle.dbtools.raptor.format.ResultsFormatter.print(ResultsFormatter.java:200)
         at oracle.dbtools.raptor.format.ResultsFormatter.print(ResultsFormatter.java:139)
         at oracle.dbtools.raptor.ddl.oracle.OracleDataDDL.doGetDDL(OracleDataDDL.java:55)
         at oracle.dbtools.raptor.ddl.oracle.OracleDataDDL.doGetDDLScript(OracleDataDDL.java:71)
         at oracle.dbtools.raptor.ddl.oracle.OracleObjectDDL.getScriptDDL(OracleObjectDDL.java:278)
         at oracle.dbtools.raptor.ddl.DDLGenerator.getScriptDDL(DDLGenerator.java:210)
         at oracle.dbtools.raptor.export.ExportAPI.writeExportImpl(ExportAPI.java:866)
         at oracle.dbtools.raptor.export.ExportAPI.writeExport(ExportAPI.java:416)
         at oracle.dbtools.raptor.export.ExportAPI$1.doWork(ExportAPI.java:928)
         at oracle.dbtools.raptor.export.ExportAPI$1.doWork(ExportAPI.java:922)
         at oracle.dbtools.raptor.backgroundTask.RaptorTask.call(RaptorTask.java:193)
         at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
         at java.util.concurrent.FutureTask.run(FutureTask.java:138)
         at oracle.dbtools.raptor.backgroundTask.RaptorTaskManager$RaptorFutureTask.run(RaptorTaskManager.java:492)
         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
         at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
         at java.util.concurrent.FutureTask.run(FutureTask.java:138)
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
         at java.lang.Thread.run(Thread.java:619)
    The only thing I can think of as being a problem is that the table in question (one of three small tables
    I am exporting) has a CLOB column in it and some data in there is HTML format.
    If anyone has a workaround, or I can elaborate further, please don't hesitate to drop me a reply.
    Thanks
    Mungo Henning

    Many thanks for the "heads up".
    I did take a look at the export file and inside it any CLOB's data
    that has an apostrophe in it is not escaped.
    Some of my CLOBs have HTML in them: if I had to answer the question
    "Enter value for nbsp" once, I had to do this several times (the HTML had the
    element for non-breaking-space whose sequence is ampersand-nbsp so
    with the Defines on it asked me for a value for this substitution variable... sigh).
    Looks like my problem has gone away for other reasons (the hosting company have
    volunteered to migrate the data), but I wonder whether the SQL Developer
    team know about this issue or not.
    Thanks again.
    Mungo

  • XLS export problem (SQL Developer 1.1)

    hi, I'm yw Kim.
    I got a problem when i export dataset XLS format
    I'm using Korean characters. but after exporting xls,
    I cant see korean characters from xls file. (there are only broken chars.)
    I can see korean chars on SQL Developer(Grid, sql worksheet ...)
    (well, when I using Toad 8.6, It works )
    My system environments :
    Windows 2000 professional (korean ver.)
    Oracle 10g, 9i
    thanks.
    Message was edited by:
    user549191

    hi kim,
    it will be better if you post this problem on sql developer forum.
    regards

  • SQL Developer Strangeness with database objects beginning with 'AQ'

    I have two separate but seemingly related issues.
    *1. I am experiencing a situation whereby database objects beginning with the letters 'AQ' are not included when performing a database export from SQL Developer (using the procedure described below).*
    Procedure:
    1. Create any database objects starting with 'AQ'
    2. Tools > Database Export
    3. Check every item in the 'Types to Export' step of the Export Wizard
    4. Progress to the 'Specify Objects' step of the Export Wizard
    Expected:
    The 'Specify Objects' step of the Export Wizard lists all database objects
    Actual:
    The 'Specify Objects' step of the Export Wizard lists all database objects EXCEPT those prefixed with AQ. As these objects are not listed, I am not able to export them.
    *2. Sequences that start with the letters 'AQ' do not appear in the object list*
    Any sequences starting with the letters 'AQ' are missing from the Sequences list in the left panel of SQL Developer.
    At a glance, it appears as though these are symptoms of the same issue that's described in [this thread|http://forums.oracle.com/forums/thread.jspa?threadID=898765&tstart=180]. I have attempted this in versions 1.5.4 and 2.1.1.64 under both Windows XP and Vista. Both exhibit the same problems.
    Thanks.
    Edited by: thrillhouse on 16-Mar-2010 17:27

    I have created a new bug for the first and reopened the bug for the second. In the latter case we fixed the AQ for most nodes, but it seems a few nodes, like the Sequences were not included.
    Sue

  • 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

  • Problem with Exporter for MS Access 3.2 in SQL Developer

    Hi,
    I have problem with exporting tables and data from MS Access to XML with Exporter for MS Access 2000.
    This error ocurr: 'Error #5 - XML Exporter'
    When I use Exporter for MS Access 2002 this error ocurr: 'Error #3478 - XML Exporter'
    Any leads how to solve this problem ?

    Thread moved to Forum Home » Database » SQL Developer
    SQL Developer
    Please, stay tune there.
    Nicolas.

  • SQL Developer 2.1: Problem exporting and importing unit tests

    Hi,
    I have created several unit tests on functions that are within packages. I wanted to export these from one unit test repository into another repository on a different database. The export and import work fine, but when running the tests on the imported version, there are lots of ORA-06550 errors. When debugging this, the function name is missing in the call, i.e. it is attempting <SCHEMA>.<PACKAGE> (parameters) instead of <SCHEMA>.<PACKAGE>.<FUNCTION> (parameters).
    Looking in the unit test repository itself, it appears that the OBJECT_CALL column in the UT_TEST table is null - if I populate this with the name of the function, then everything works fine. Therefore, this seems to be a bug with export and import, and it is not including this in the XML. The same problem happens whether I export a single unit test or a suite of tests. Can you please confirm whether this is a bug or whether I am doing something wrong?
    Thanks,
    Pierre.

    Hi Pierre,
    Thanks for pointing this out. Unfortunately, it is a bug on our side and you have found the (ugly) "work-around".
    Bug 9236694 - 2.1: OTN: UT_TEST.OBJECT_CALL COLUMN NOT EXPORTED/IMPORTED
    Brian Jeffries
    SQL Developer Team

  • View jobs with SQL Developer and export to file with delimiter

    Hi,
    is there a way to view, create and alter my database jobs with SQL developer?
    And is it possible to export tables, views or simple queries to file delimited different from the CSV standard?
    Diego.

    Hi and Welcome to the Forum!!
    To select data from a table or a view you must use the SELECT sql command. Example to get the data from your view you can
    select ZMATNUM,ZMATCUR,ZMATATTR from ZMATERIALAs you have said you are using SQL Developer just execute the above query in your sql developer and it will show the data. Right click the grid and export the data to excel file.

  • How to import/export data in pl/sql developer

    how to import/export data,table script in pl/sql developer.
    By using the export functionality i am getting the dump file.I want a sql file.How do i do it?
    And i want the data in csv file and table script in a sep sql file.How do i do it?

    <li>run your query in "Query Builder"
    <li>Right-Click on the Query-Results
    <li>Click "Export"
    <li>Click on the "Drop-Down" in front of "Format" and choose "insert"
    <li>Provide the location and name of ther "sql" file.
    If you want output in CSV format, choose "csv" from the "format" drop-down.
    HTH

  • SQL Developer is not exporting the time part of date data types.

    I need to export data from a table using sql developer. The column is a date data type but when I export the data to a csv, xls or an sql file with insert statements, sql developer only includes the date part without the time.
    Please kindly advise.
    Thanks,
    Erika

    What is your 4 digits Oracle version ?
    What is your SQL Developer version ?
    With Oracle XE and a schema named TEST I have:
    select * from t
    X                        
    04-FÉVR.-2010 21:24:40  If I use Tools/Database Export with all default settings with SQL Developer 2.1.0.63 I get following SQL file:
    --  Fichier créé - jeudi-février-04-2010  
    --  DDL for Table T
      CREATE TABLE "T"
       (     "X" DATE
    --   DATA FOR TABLE T
    --   FILTER = none used
    REM INSERTING into T
    Insert into T (X) values (to_timestamp('04/02/10 21:24:40,000000000','DD/MM/RR HH24:MI:SS,FF'));
    --   END DATA FOR TABLE T
    ---------------------------------------------------Edited by: P. Forstmann on 4 févr. 2010 21:26

  • SQL Developer 2.1.0.63.73 exports DATE as TIMESTAMP

    I believe this is a bug. When I export a table to an XLS file, the values contained in DATE columns are saved as if they were TIMESTAMP:
    eg. 31-DEC-09 12:00:00 AM would export as 31-DEC-09 12.00.00.000000000 AM
    Not really a huge deal until you try to import it back in, in which case you can't import a TIMESTAMP into a DATE column. First, you'll get an error about the AM/A.M. or PM/P.M. missing. You can't explicitly specify the date format during the import either as Oracle rejects it since it's not supported. The proper way is to cast it back to a date, but you can't do that through the import function.
    Regardless, I think the export function should export DATEs according to the Date Format NLS settings but it is not.
    If it makes any difference, I'm using the 64-bit Windows version of SQL Developer on Windows 7 64-bit with the Oracle 64-bit client.

    Hi,
    Not sure if this is something related to my previous problem.
    My SQL Dev gives the correct date format on exporting to Excel, but fails on export INSERT statement
    Vasan, one of the sql dev's team member, gave this workaround which solved my problem
    >
    You can add the following in the sqldeveloper.conf to ensure that the driver doesn't report the column type of a DATE column as TIMESTAMP.
    AddVMOption -Doracle.jdbc.mapDateToTimestamp=false
    >
    as suggested in this thread
    Re: 2.1 EA1: Problems on Date type columns
    Hope this help,
    Buntoro

  • Statement terminator problems when exporting data with SQL Developer 3.2

    I've ran across what appears to be a bug with SQL Developer 3.2.20.09. If someone can let me know if this is indeed a bug, or just something I need to configure differently, please let me know.
    The problem is related to exporting a database as a SQL script, and terminator characters at the end of "create" statements, especially when columns have comments, and problems that occur when using SQLPlus to run the export script to create the tables. With the old SQL Developer 1.5.4, with the "Terminator" and "Pretty Print" options checked, statements like the following are generated:
    -- DDL for Type NUM_ARRAY
    CREATE OR REPLACE TYPE "NUM_ARRAY"
    IS TABLE OF NUMBER(20)
    -- DDL for Sequence MYTABLE_SEQ
    CREATE SEQUENCE "MYTABLE_SEQ" MINVALUE 1 MAXVALUE 999999999999999999999999999 INCREMENT BY 1 START WITH 1 CACHE 20 NOORDER NOCYCLE ;
    -- DDL for Table MYTABLE
    CREATE TABLE "MYTABLE"
    (     "MYTABLE_ID" NUMBER,
         "COL2" NUMBER,
         "COL3" NUMBER
    -- DDL for Table ANOTHERTABLE
    CREATE TABLE "ANOTHERTABLE"
    (     "ANOTHERTABLE_ID" NUMBER,
         "COL2" VARCHAR2(1024),
         "COL3" VARCHAR2(1024)
    COMMENT ON COLUMN "ANOTHERTABLE"."ANOTHERTABLE_ID" IS 'This is a comment.';
    When I then run the script using SQLPlus, everything works fine. However, with SQL Developer 3.2.20.09, with the same options enabled, the same statements are generated like this:
    -- DDL for Type NUM_ARRAY
    CREATE OR REPLACE TYPE "NUM_ARRAY"
    IS TABLE OF NUMBER(20)
    -- DDL for Sequence MYTABLE_SEQ
    CREATE SEQUENCE "MYTABLE_SEQ" MINVALUE 1 MAXVALUE 999999999999999999999999999 INCREMENT BY 1 START WITH 1 CACHE 20 NOORDER NOCYCLE ;
    -- DDL for Table MYTABLE
    CREATE TABLE "MYTABLE"
    (     "MYTABLE_ID" NUMBER,
         "COL2" NUMBER,
         "COL3" NUMBER
    -- DDL for Table ANOTHERTABLE
    CREATE TABLE "ANOTHERTABLE"
    (     "ANOTHERTABLE_ID" NUMBER,
         "COL2" VARCHAR2(1024),
         "COL3" VARCHAR2(1024)
    COMMENT ON COLUMN "ANOTHERTABLE"."ANOTHERTABLE_ID" IS 'This is a comment.';
    Notice all of the extra slashes in there. If a slash is not used as a statement terminator, SQLPlus treats slashes as a command to repeat the last SQL statement, which causes many errors about tables or sequences already existing. So, I tried removing the "Terminator" flag from the export options. This lead to statements that looked a bit more promising:
    -- DDL for Type NUM_ARRAY
    CREATE OR REPLACE TYPE "NUM_ARRAY"
    IS TABLE OF NUMBER(20)
    -- DDL for Sequence MYTABLE_SEQ
    CREATE SEQUENCE "MYTABLE_SEQ" MINVALUE 1 MAXVALUE 999999999999999999999999999 INCREMENT BY 1 START WITH 1 CACHE 20 NOORDER NOCYCLE
    -- DDL for Table MYTABLE
    CREATE TABLE "MYTABLE"
    (     "MYTABLE_ID" NUMBER,
         "COL2" NUMBER,
         "COL3" NUMBER
    -- DDL for Table ANOTHERTABLE
    CREATE TABLE "ANOTHERTABLE"
    (     "ANOTHERTABLE_ID" NUMBER,
         "COL2" VARCHAR2(1024),
         "COL3" VARCHAR2(1024)
    COMMENT ON COLUMN "ANOTHERTABLE"."ANOTHERTABLE_ID" IS 'This is a comment.'
    The big problem, though, is in the statement for the table with a comment. Notice that there are two statements, but there is not a semicolon after either of them. This unfortunately causes the "COMMENT" statement to be appended to the "CREATE TABLE" statement before being executed, which causes the table to not be created (which causes even more errors later on when the script attempts to populate the table with data).
    So, it would appear that this is a bug, but I'm not sure. Is there a way I can configure the export options to make SQL Developer export these statements like it used to in older versions?
    Thanks,
    -Bill

    >
    So, it would appear that this is a bug, but I'm not sure.
    >
    That would be a bug. Thanks for reporting it and providing the detailed example.
    >
    Is there a way I can configure the export options to make SQL Developer export these statements like it used to in older versions?
    >
    No.
    Leave the thread open. One of the developers for sql developer should be monitoring the forum and can provide more information.

  • Urgent Help !!!  Export data into insert format (Oracle Sql developer)

    Hi all,
    Please help , when i try to export ms access table which have 400,000 over rows to insert format using oracle sql developer 1.5.5. After the export have done the exported file xxx.sql is empty.
    Is it because of too many rows? or what tool or function should i use for exporting table with many rows.
    It used to have exported successfully with
    Insert into table( ) values ();
    Insert into table( ) values ();
    Insert into table( ) values ();
    Insert into table( ) values ();
    ----- when i try to export table with over 10,000 row.
    Regard,
    Tun

    Another option is to export your file as Formatted text (space delimited). This will create a fixed format file. You can either create an external table to access the file or use sqlloader to load it. In your control file or access parameters you will specify the positions of the fields you are interested in. Your control file will look something like this:
    OPTIONS (BINDSIZE=50000,ERRORS=50,ROWS=200,READSIZE=65536)
    LOAD DATA
    CHARACTERSET US7ASCII
    INFILE '/home/FIXED_FORMAT.dat' "FIX 58"
    CONCATENATE 1
    INTO TABLE "EMP2"
    APPEND
    REENABLE DISABLED_CONSTRAINTS
    "ID" POSITION(1:2) INTEGER(2) ,
    "REGION" POSITION(3:3) INTEGER EXTERNAL(1) ,
    "DEPT" POSITION(4:6) INTEGER EXTERNAL(3) ,
    "HIRE_DATE" POSITION(7:14) DATE(8) "mmddyyyy" ,
    "SALARY" POSITION(15:19) DECIMAL(9,2) ,
    "NAME" POSITION(20:34) CHAR(15)
    SQLDeveloper does not currently provide an option to import fixed format files.

  • Import / Export MySQL database in SQL Developer

    Hello,
    I have version 3.1.2.704 of SQL Developer Data Modeler and version 3.2.09 of SQL Developer installed.
    When I´m adding a new connection in SQL Developer, I can choose the MySQL tab an create a connection to a MySQL database.
    The connection test was successful and I can see all tables.
    I use the same JDBC driver for SQL Developer and SQL Developer Data Modeler (mysql-connector-java-5.0.4-bin.jar).
    But there are two problems.
    1. First there is an problem when I want to import from a MySQL database (SQL Developer -> File -> DataModeler -> Import -> DataDictionary).
    After choosing the MySQL connection and pressing the next button an error occurs: CONNECTION_TYPE
    What is the reason?
    2. In SQL Developer Data Modeler I have not the CONNECTION_TYPE problem. But when I want to export DDL, there is no MySQL type selectable, although there is working connection to the MySQL Database. It´s the same in SQL Developer.
    What is the reason?

    Hi,
    Please be aware that a separate forum for SQL Developer Data Modeler is available:
    SQL Developer Data Modeler
    You will likely get a more rapid response if you mark this thread as answered and re-post your question over there.
    Regards,
    Gary

  • Import / Export MySQL database in SQL Developer Data Modeler

    Hello,
    I have version 3.1.2.704 of SQL Developer Data Modeler and version 3.2.09 of SQL Developer installed.
    When I´m adding a new connection in SQL Developer, I can choose the MySQL tab an create a connection to a MySQL database.
    The connection test was successful and I can see all tables.
    I use the same JDBC driver for SQL Developer and SQL Developer Data Modeler (mysql-connector-java-5.0.4-bin.jar).
    But there are two problems.
    1. First there is an problem when I want to import from a MySQL database (SQL Developer -> File -> DataModeler -> Import -> DataDictionary).
    After choosing the MySQL connection and pressing the next button an error occurs: CONNECTION_TYPE
    What is the reason?
    2. In SQL Developer Data Modeler I have not the CONNECTION_TYPE problem. But when I want to export DDL, there is no MySQL type selectable, although there is working connection to the MySQL Database. It´s the same in SQL Developer.
    What is the reason?

    Hi,
    Data Modeler does not explicitly support import from MySQL databases, although you can use a JDBC connection to do this.
    Philip described how to set this up in forum message How to connect mySQL for reverve engineering
    There is no MySQL tab in Data Modeler - you should use "JDBC-ODBC Bridge" - "other third party Driver".
    Set URL like : jdbc:mysql://localhost:3306/database_name
    driver Class: com.mysql.jdbc.DriverAlso Data Modeler does not support generation of DDL for MySQL.
    David

Maybe you are looking for

  • Illegal use of Key Logger

    Help! I believe an ex boyfriend of mine has placed key logger on my computer. I already read about reinstall, which I may do if I can find the original discs for my computer, however, I'd like to prove key logger is even on the computer first. He has

  • Powermac G5 won't boot after new PSU replaced- says no ram installed!!!

    I've recently inherited a friends old Powermac DP 2.0 G5 after it died a death. After some testing I diagnosed that that PSU had died in it- something that seems quite common. Having found some detailed instructions online, I sourced a replacement PS

  • System.exit

    Before user is about to close the gui, I want to free up the open sockets used in my application. Now, we don't want to poll the exit, waiting for the open sockets to finally free themselves and than the application quits. The user is going to thing

  • C++ library wich is similar to bounsty castle

    hi all, is there any free source C++ lib wich provides similar interfaces (API) as present in BounstyCastle in java???

  • ADE 1.7 Now Available

    Adobe Digital Editions 1.7 is now available for download from http://www.adobe.com/products/digitaleditions There are two new features for this release: - Language support - an additional 8 languages: Italian, Spanish, Japanese, Chinese (Traditional)