Import SQL Developer xml History files to a table

I'd like to import my SQL Developer xml history files into an Oracle table. What's the best way to do this?

I had some success in Pages 1, but I've only tried a couple of times so far in Pages 2 without success. The trick was to make sure the table is the exact number of columns wide. It's very "klunky" but I've ended up converting the tab-delimited text to a table in AppleWorks, saving the AppleWorks file with the table as a "floating" object (fixed objects don't translate) & opening the file in Pages. It's quicker & easier for most of what I do to just drag & drop in Pages.
Peggy

Similar Messages

  • EA2/EA1 - SQL Developer freeze in file editor

    I had a PL/SQL local file open (.pkb) with a database connection selected and compiled the file. There was a compilation error and when I went to correct it, SQL Developer froze (before my typing had updated the file).
    I had the console open and it shows the following exception, which I assume is relate to the freeze:
    Exception in thread "AWT-EventQueue-0" oracle.classloader.util.AnnotatedNoClassDefFoundError:
    Missing class: oracle.bali.xml.addin.XMLSourceNode
    Dependent class: oracle.jdeveloper.compare.StreamDecoder
    Loader: main:11.0
    Code-Source: /C:/Program Files/Oracle/SQLDeveloper150EA1/jdev/extensions/oracle.jdeveloper.history.jar
    Configuration: system property C:\Program Files\Oracle\SQLDeveloper150EA1\jdev\extensions\oracle.jdeveloper.history.jar
    The missing class is not available from any code-source or loader in the system.
    at oracle.classloader.PolicyClassLoader.handleClassNotFound (PolicyClassLoader.java:2159) [C:/Program%20Files/Oracle/SQLDeveloper150EA1/j2ee/home/lib/pcl.jar, by sun.misc.Launcher$AppClassLoader@10719543]
    at oracle.classloader.PolicyClassLoader.internalLoadClass (PolicyClassLoader.java:1716) [C:/Program%20Files/Oracle/SQLDeveloper150EA1/j2ee/home/lib/pcl.jar, by sun.misc.Launcher$AppClassLoader@10719543]
    at oracle.classloader.PolicyClassLoader.access$000 (PolicyClassLoader.java:143) [C:/Program%20Files/Oracle/SQLDeveloper150EA1/j2ee/home/lib/pcl.jar, by sun.misc.Launcher$AppClassLoader@10719543]
    at oracle.classloader.PolicyClassLoader$LoadClassAction.run (PolicyClassLoader.java:326) [C:/Program%20Files/Oracle/SQLDeveloper150EA1/j2ee/home/lib/pcl.jar, by sun.misc.Launcher$AppClassLoader@10719543]
    at java.security.AccessController.doPrivileged (Native method) [unknown, by unknown]
    at oracle.classloader.PolicyClassLoader.loadClass (PolicyClassLoader.java:1675) [/C:/Program%20Files/Oracle/SQLDeveloper150EA1/j2ee/home/lib/pcl.jar, by
    sun.misc.Launcher$AppClassLoader@10719543]
    at oracle.classloader.PolicyClassLoader.loadClass (PolicyClassLoader.java:1657) [/C:/Program%20Files/Oracle/SQLDeveloper150EA1/j2ee/home/lib/pcl.jar, by
    sun.misc.Launcher$AppClassLoader@10719543]
    at java.lang.ClassLoader.loadClassInternal (ClassLoader.java:319) [jre bootstrap, by jre.bootstrap:1.5.0_06]
    at oracle.jdeveloper.compare.StreamDecoder.getDefaultEncoding (StreamDecoder.java:68) [C:/Program Files/Oracle/SQLDeveloper150EA1/jdev/extensions/oracle.jdeveloper.history.jar (from system property C:\Program Files\Oracle\SQLDeveloper150EA1\jdev\extensions\oracle.jdeveloper.history.jar), by main:11.0]
    at oracle.jdeveloper.compare.URLContributor.<init> (URLContributor.java:81) [C:/Program Files/Oracle/SQLDeveloper150EA1/jdev/extensions/oracle.jdeveloper.history.jar (from system property C:\Program Files\Oracle\SQLDeveloper150EA1\jdev\extensions\oracle.jdeveloper.history.jar), by main:11.0]
    at oracle.jdeveloper.compare.URLContributor.<init> (URLContributor.java:60) [C:/Program Files/Oracle/SQLDeveloper150EA1/jdev/extensions/oracle.jdeveloper.history.jar (from system property C:\Program Files\Oracle\SQLDeveloper150EA1\jdev\extensions\oracle.jdeveloper.history.jar), by main:11.0]
    at oracle.jdevimpl.history.LocalHistoryEntry$LocalHistoryContributor.<init> (LocalHistoryEntry.java:79) [C:/Program Files/Oracle/SQLDeveloper150EA1/jdev/extensions/oracle.jdeveloper.history.jar (from system property C:\Program Files\Oracle\SQLDeveloper150EA1\jdev\extensions\oracle.jdeveloper.history.jar), by main:11.0]
    at oracle.jdevimpl.history.LocalHistoryEntry.getCompareContributor (LocalHistoryEntry.java:56) [C:/Program Files/Oracle/SQLDeveloper150EA1/jdev/extensions/oracle.jdeveloper.history.jar (from system property C:\Program Files\Oracle\SQLDeveloper150EA1\jdev\extensions\oracle.jdeveloper.history.jar), by main:11.0]
    at oracle.jdevimpl.history.HistoryViewer.updateCompareView (HistoryViewer.java:1022) [C:/Program Files/Oracle/SQLDeveloper150EA1/jdev/extensions/oracle.jdeveloper.history.jar (from system property C:\Program Files\Oracle\SQLDeveloper150EA1\jdev\extensions\oracle.jdeveloper.history.jar), by main:11.0]
    at oracle.jdevimpl.history.HistoryViewer.mav$updateCompareView (HistoryViewer.java:171) [C:/Program Files/Oracle/SQLDeveloper150EA1/jdev/extensions/oracle.jdeveloper.history.jar (from system property C:\Program Files\Oracle\SQLDeveloper150EA1\jdev\extensions\oracle.jdeveloper.history.jar), by main:11.0]
    at oracle.jdevimpl.history.HistoryViewer$HistorySelectionListener.valueChanged (HistoryViewer.java:861) [C:/Program Files/Oracle/SQLDeveloper150EA1/jdev/extensions/oracle.jdeveloper.history.jar (from system property C:\Program Files\Oracle\SQLDeveloper150EA1\jdev\extensions\oracle.jdeveloper.history.jar), by main:11.0]
    at javax.swing.DefaultListSelectionModel.fireValueChanged (DefaultListSelectionModel.java:187) [jre bootstrap, by jre.bootstrap:1.5.0_06]
    at javax.swing.DefaultListSelectionModel.fireValueChanged (DefaultListSelectionModel.java:167) [jre bootstrap, by jre.bootstrap:1.5.0_06]
    at javax.swing.DefaultListSelectionModel.fireValueChanged (DefaultListSelectionModel.java:214) [jre bootstrap, by jre.bootstrap:1.5.0_06]
    at javax.swing.DefaultListSelectionModel.changeSelection (DefaultListSelectionModel.java:408) [jre bootstrap, by jre.bootstrap:1.5.0_06]
    at javax.swing.DefaultListSelectionModel.changeSelection (DefaultListSelectionModel.java:417) [jre bootstrap, by jre.bootstrap:1.5.0_06]
    at javax.swing.DefaultListSelectionModel.setSelectionInterval (DefaultListSelectionModel.java:441) [jre bootstrap, by jre.bootstrap:1.5.0_06]
    at javax.swing.JTable.setRowSelectionInterval (JTable.java:1414) [jre bootstrap, by jre.bootstrap:1.5.0_06]
    at oracle.jdevimpl.history.HistoryViewer.updateStatusCount0 (HistoryViewer.java:638) [C:/Program Files/Oracle/SQLDeveloper150EA1/jdev/extensions/oracle.jdeveloper.history.jar (from system property C:\Program Files\Oracle\SQLDeveloper150EA1\jdev\extensions\oracle.jdeveloper.history.jar), by main:11.0]
    at oracle.jdevimpl.history.HistoryViewer.updateStatusCount (HistoryViewer.java:620) [C:/Program Files/Oracle/SQLDeveloper150EA1/jdev/extensions/oracle.jdeveloper.history.jar (from system property C:\Program Files\Oracle\SQLDeveloper150EA1\jdev\extensions\oracle.jdeveloper.history.jar), by main:11.0]
    at oracle.jdevimpl.history.HistoryViewer.updateStatusCount (HistoryViewer.java:598) [C:/Program Files/Oracle/SQLDeveloper150EA1/jdev/extensions/oracle.jdeveloper.history.jar (from system property C:\Program Files\Oracle\SQLDeveloper150EA1\jdev\extensions\oracle.jdeveloper.history.jar), by main:11.0]
    at oracle.jdevimpl.history.HistoryViewer.mav$updateStatusCount (HistoryViewer.java:171) [C:/Program Files/Oracle/SQLDeveloper150EA1/jdev/extensions/oracle.jdeveloper.history.jar (from system property C:\Program Files\Oracle\SQLDeveloper150EA1\jdev\extensions\oracle.jdeveloper.history.jar), by main:11.0]
    at oracle.jdevimpl.history.HistoryViewer$5.run (HistoryViewer.java:442)
    [C:/Program Files/Oracle/SQLDeveloper150EA1/jdev/extensions/oracle.jdeveloper.history.jar (from system property C:\Program Files\Oracle\SQLDeveloper150EA1\jdev\extensions\oracle.jdeveloper.history.jar), by main:11.0]
    at java.awt.event.InvocationEvent.dispatch (InvocationEvent.java:209) [jre bootstrap, by jre.bootstrap:1.5.0_06]
    at java.awt.EventQueue.dispatchEvent (EventQueue.java:461) [jre bootstrap, by jre.bootstrap:1.5.0_06]
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy (EventDispatchThread.java:242) [jre bootstrap, by jre.bootstrap:1.5.0_06]
    at java.awt.EventDispatchThread.pumpEventsForHierarchy (EventDispatchThread.java:163) [jre bootstrap, by jre.bootstrap:1.5.0_06]
    at java.awt.EventDispatchThread.pumpEvents (EventDispatchThread.java:157) [jre bootstrap, by jre.bootstrap:1.5.0_06]
    at java.awt.EventDispatchThread.pumpEvents (EventDispatchThread.java:149) [jre bootstrap, by jre.bootstrap:1.5.0_06]
    at java.awt.EventDispatchThread.run (EventDispatchThread.java:110) [jrebootstrap, by jre.bootstrap:1.5.0_06]

    I have just gotten basically the same exception on the console with EA2 using JDK 1.6.0_04. This time I had an SQL file open and had just looked at the history and switched back to the SQL tab to run a query.
    Is the history tab trying to do something that is not yet being shipped with EA2?
    Exception in thread "AWT-EventQueue-0" oracle.classloader.util.AnnotatedNoClassDefFoundError:
    Missing class: oracle.bali.xml.addin.XMLSourceNode
    Dependent class: oracle.jdeveloper.compare.StreamDecoder
    Loader: main:11.0
    Code-Source: /C:/Program Files/Oracle/SQLDeveloper150EA2/jdev/extensions/oracle.jdeveloper.history.jar
    Configuration: system property C:\Program Files\Oracle\SQLDeveloper150EA2\jdev\extensions\oracle.jdeveloper.history.jar
    The missing class is not available from any code-source or loader in the system.
    at oracle.classloader.PolicyClassLoader.handleClassNotFound (PolicyClassLoader.java:2159) [C:/Program%20Files/Oracle/SQLDeveloper150EA2/j2ee/home/lib/pcl.jar, by sun.misc.Launcher$AppClassLoader@3526198]
    at oracle.classloader.PolicyClassLoader.internalLoadClass (PolicyClassLoader.java:1716) [C:/Program%20Files/Oracle/SQLDeveloper150EA2/j2ee/home/lib/pcl.jar, by sun.misc.Launcher$AppClassLoader@3526198]
    at oracle.classloader.PolicyClassLoader.access$000 (PolicyClassLoader.java:143) [C:/Program%20Files/Oracle/SQLDeveloper150EA2/j2ee/home/lib/pcl.jar, by sun.misc.Launcher$AppClassLoader@3526198]
    at oracle.classloader.PolicyClassLoader$LoadClassAction.run (PolicyClassLoader.java:326) [C:/Program%20Files/Oracle/SQLDeveloper150EA2/j2ee/home/lib/pcl.jar, by sun.misc.Launcher$AppClassLoader@3526198]
    at java.security.AccessController.doPrivileged (Native method) [unknown, by unknown]
    at oracle.classloader.PolicyClassLoader.loadClass (PolicyClassLoader.java:1675) [C:/Program%20Files/Oracle/SQLDeveloper150EA2/j2ee/home/lib/pcl.jar, by sun.misc.Launcher$AppClassLoader@3526198]
    at oracle.classloader.PolicyClassLoader.loadClass (PolicyClassLoader.java:1657) [C:/Program%20Files/Oracle/SQLDeveloper150EA2/j2ee/home/lib/pcl.jar, by sun.misc.Launcher$AppClassLoader@3526198]
    at java.lang.ClassLoader.loadClassInternal (ClassLoader.java:319) [jre bootstrap, by jre.bootstrap:1.6.0_04]
    at oracle.jdeveloper.compare.StreamDecoder.getDefaultEncoding (StreamDecoder.java:68) [C:/Program Files/Oracle/SQLDeveloper150EA2/jdev/extensions/oracle.jdeveloper.history.jar (from system property C:\Program Files\Oracle\SQLDeveloper150EA2\jdev\extensions\oracle.jdeveloper.history.jar), by main:11.0]
    at oracle.jdeveloper.compare.URLContributor.<init> (URLContributor.java:81) [C:/Program Files/Oracle/SQLDeveloper150EA2/jdev/extensions/oracle.jdeveloper.history.jar (from system property C:\Program Files\Oracle\SQLDeveloper150EA2\jdev\extensions\oracle.jdeveloper.history.jar), by main:11.0]
    at oracle.jdeveloper.compare.URLContributor.<init> (URLContributor.java:60) [C:/Program Files/Oracle/SQLDeveloper150EA2/jdev/extensions/oracle.jdeveloper.history.jar (from system property C:\Program Files\Oracle\SQLDeveloper150EA2\jdev\extensions\oracle.jdeveloper.history.jar), by main:11.0]
    at oracle.jdevimpl.history.LocalHistoryEntry$LocalHistoryContributor.<init> (LocalHistoryEntry.java:79) [C:/Program Files/Oracle/SQLDeveloper150EA2/jdev/extensions/oracle.jdeveloper.history.jar (from system property C:\Program Files\Oracle\SQLDeveloper150EA2\jdev\extensions\oracle.jdeveloper.history.jar), by main:11.0]
    at oracle.jdevimpl.history.LocalHistoryEntry.getCompareContributor (LocalHistoryEntry.java:56) [C:/Program Files/Oracle/SQLDeveloper150EA2/jdev/extensions/oracle.jdeveloper.history.jar (from system property C:\Program Files\Oracle\SQLDeveloper150EA2\jdev\extensions\oracle.jdeveloper.history.jar), by main:11.0]
    at oracle.jdevimpl.history.HistoryViewer.updateCompareView (HistoryViewer.java:1022) [C:/Program Files/Oracle/SQLDeveloper150EA2/jdev/extensions/oracle.jdeveloper.history.jar (from system property C:\Program Files\Oracle\SQLDeveloper150EA2\jdev\extensions\oracle.jdeveloper.history.jar), by main:11.0]
    at oracle.jdevimpl.history.HistoryViewer.mav$updateCompareView (HistoryViewer.java:171) [C:/Program Files/Oracle/SQLDeveloper150EA2/jdev/extensions/oracle.jdeveloper.history.jar (from system property C:\Program Files\Oracle\SQLDeveloper150EA2\jdev\extensions\oracle.jdeveloper.history.jar), by main:11.0]
    at oracle.jdevimpl.history.HistoryViewer$HistorySelectionListener.valueChanged (HistoryViewer.java:861) [C:/Program Files/Oracle/SQLDeveloper150EA2/jdev/extensions/oracle.jdeveloper.history.jar (from system property C:\Program Files\Oracle\SQLDeveloper150EA2\jdev\extensions\oracle.jdeveloper.history.jar), by main:11.0]
    at javax.swing.DefaultListSelectionModel.fireValueChanged (DefaultListSelectionModel.java:167) [jre bootstrap, by jre.bootstrap:1.6.0_04]
    at javax.swing.DefaultListSelectionModel.fireValueChanged (DefaultListSelectionModel.java:147) [jre bootstrap, by jre.bootstrap:1.6.0_04]
    at javax.swing.DefaultListSelectionModel.fireValueChanged (DefaultListSelectionModel.java:194) [jre bootstrap, by jre.bootstrap:1.6.0_04]
    at javax.swing.DefaultListSelectionModel.changeSelection (DefaultListSelectionModel.java:388) [jre bootstrap, by jre.bootstrap:1.6.0_04]
    at javax.swing.DefaultListSelectionModel.changeSelection (DefaultListSelectionModel.java:398) [jre bootstrap, by jre.bootstrap:1.6.0_04]
    at javax.swing.DefaultListSelectionModel.setSelectionInterval (DefaultListSelectionModel.java:442) [jre bootstrap, by jre.bootstrap:1.6.0_04]
    at javax.swing.JTable.setRowSelectionInterval (JTable.java:2072) [jre bootstrap, by jre.bootstrap:1.6.0_04]
    at oracle.jdevimpl.history.HistoryViewer.updateStatusCount0 (HistoryViewer.java:638) [C:/Program Files/Oracle/SQLDeveloper150EA2/jdev/extensions/oracle.jdeveloper.history.jar (from system property C:\Program Files\Oracle\SQLDeveloper150EA2\jdev\extensions\oracle.jdeveloper.history.jar), by main:11.0]
    at oracle.jdevimpl.history.HistoryViewer.updateStatusCount (HistoryViewer.java:620) [C:/Program Files/Oracle/SQLDeveloper150EA2/jdev/extensions/oracle.jdeveloper.history.jar (from system property C:\Program Files\Oracle\SQLDeveloper150EA2\jdev\extensions\oracle.jdeveloper.history.jar), by main:11.0]
    at oracle.jdevimpl.history.HistoryViewer.updateStatusCount (HistoryViewer.java:598) [C:/Program Files/Oracle/SQLDeveloper150EA2/jdev/extensions/oracle.jdeveloper.history.jar (from system property C:\Program Files\Oracle\SQLDeveloper150EA2\jdev\extensions\oracle.jdeveloper.history.jar), by main:11.0]
    at oracle.jdevimpl.history.HistoryViewer.mav$updateStatusCount (HistoryViewer.java:171) [C:/Program Files/Oracle/SQLDeveloper150EA2/jdev/extensions/oracle.jdeveloper.history.jar (from system property C:\Program Files\Oracle\SQLDeveloper150EA2\jdev\extensions\oracle.jdeveloper.history.jar), by main:11.0]
    at oracle.jdevimpl.history.HistoryViewer$5.run (HistoryViewer.java:442)[C:/Program Files/Oracle/SQLDeveloper150EA2/jdev/extensions/oracle.jdeveloper.history.jar (from system property C:\Program Files\Oracle\SQLDeveloper150EA2\jdev\extensions\oracle.jdeveloper.history.jar), by main:11.0]
    at java.awt.event.InvocationEvent.dispatch (InvocationEvent.java:209) [jre bootstrap, by jre.bootstrap:1.6.0_04]
    at java.awt.EventQueue.dispatchEvent (EventQueue.java:597) [jre bootstrap, by jre.bootstrap:1.6.0_04]
    at java.awt.EventDispatchThread.pumpOneEventForFilters (EventDispatchThread.java:273) [jre bootstrap, by jre.bootstrap:1.6.0_04]
    at java.awt.EventDispatchThread.pumpEventsForFilter (EventDispatchThread.java:183) [jre bootstrap, by jre.bootstrap:1.6.0_04]
    at java.awt.EventDispatchThread.pumpEventsForHierarchy (EventDispatchThread.java:173) [jre bootstrap, by jre.bootstrap:1.6.0_04]
    at java.awt.EventDispatchThread.pumpEvents (EventDispatchThread.java:168) [jre bootstrap, by jre.bootstrap:1.6.0_04]
    at java.awt.EventDispatchThread.pumpEvents (EventDispatchThread.java:160) [jre bootstrap, by jre.bootstrap:1.6.0_04]
    at java.awt.EventDispatchThread.run (EventDispatchThread.java:121) [jrebootstrap, by jre.bootstrap:1.6.0_04]

  • Custom Reports in SQL Developer and translations files

    I try to do custom reports for our development team and I would have translated ones, like standards does.
    Does anyone have any informations on how to do that ?
    I tried with xliff file in the same directory of my custom xml but without any result.
    Has anyone new about XML schemas or DTD for customization of SQL Developer. In 2.1EA2 I haven't found anything related to this topic. Is it still maintained for the final 2.1 release ?
    P.S.
    Sorry for the ugly English. It's not my mother tongue.

    Hi Chris -
    I can't duplicate this here. Using RC1 against my EA2 t test repository works fine. Looking at the code, that message should only appear if either the Oracle version is less than "10" or some error occurs while trying to figure that out. I assume you are running something greater than version 10 or EA2 should/would not have worked. Can you let me know which Oracle and Java versions you are running with?
    Brian Jeffries
    SQL Developer Team

  • Oracle SQL Developer  error - "The file-based source procedure Name is not present in the database."

    I recently started working on the Oracle SQL developer. I have 'select' privileges on the QA schema and when tried to execute proc in QA. It is giving the error as 'The file-based source <procedure Name>  is not present in the database.  Was it compiled?'
    instead 'you do not have sufficient privileges to execute this procedure'. Did research on internet but with no luck.What configuration changes needed to be done to make it work.Guide me.

    Sounds like you do not have the correct privileges.  What should have been granted to you by the QA user, or some other user with appropriate privileges, is...
    grant EXECUTE on "QA"."<PROCEDURE_OF_INTEREST>" to "<YOUR_USERID>" ;
    Note that a grant of execute on a procedure has nothing to do with grants of select on some or all of QA's tables and views.
    So, as Vadim suggests, from your connection node in SQL Developer's Connections view, if you expand the Other Users node, then expand QA and look in the Procedures node, do you see the procedure of interest?  If not, you cannot expect to be able to execute it from your userid's connection. And even if you do see it, you may have some other privilege that permits viewing but not executing, like...
    The role SELECT_CATALOG_ROLE
    The system privilege SELECT ANY DICTIONARY
    And even if you do not see it there, then having certain other privileges granted to you could permit executing it in general, like...
    The role EXECUTE_CATALOG_ROLE
    The system privilege EXECUTE ANY PROCEDURE
    Also, note that the 3.0 release is a bit dated nowadays. Upgrading to 4.0.3 production or even the 4.1 EA2 (early adopter) release will, in general, give you a better experience.
    Best wishes,
    Gary

  • IMPORTANT: SQL Developer 1.2.1 Check For Updates Notice

    Please note:
    The Check For Updates notification yesterday and today (16th or 17th Aug) included a file with a number mismatch. This caused SQL Developer to continue to prompt for new Updates. This is also why a new installation of SQL Developer 1.2.1.32.00 prompted for Updates. This error has been repaired. You can now use Check for Updates to update from SQL Developer 1.2 to 1.2.1.
    It remains true that after you have run Check for Updates that you must do a second restart. This is related to the framework and is a known issue.Without the second restart you will not be able to invoke the SQL Worksheet.
    We have identified 2 errors that will be addressed, with new updates sent out using Check for Updates as soon as we can. These two errors are that reports with Charts do not currently work, and non-privileged users can't view tables.
    The team apologizes for the inconvenience.
    Regards
    Sue Harper
    Product Manager

    Hello Sue,
    I just proceeded the update on my working machine too.
    The version number what I talked about (on this machine) was 1.1.2.25 before and still is the same after the update.
    (This is different from my home machine.)
    By the way - I had to restart SQL Dev two times before it realized, that it already has the latest updates. One restart still seems to be not enough.
    Yes I know that all the extensions has it's own versions.
    But for me the question remains: What is the version info under "Help-> About" (in my case 1.1.0.21.) good for? If this number has a meaning - what is it? and if it has no meaning (and only the version number of every single extension is interesting) why does these version number exist at all?
    You said: until then I recommend you use the full download.
    Question: Is it guarantied, that (at any time) the full download always has all latest extensions ?
    Regards
    Andre

  • How to import data from a text file into a table

    Hello,
    I need help with importing data from a .csv file with comma delimiter into a table.
    I've been struggling to figure out how to use the "Import from Files" wizard in Oracle 10g web-base Enterprise Manager.
    I have not been able to find a simple instruction on how to use the Wizard.
    I have looked at the Oracle Database Utilities - Overview of Oracle Data Pump and the Help on the "Import: Files" page.
    Neither one gave me enough instruction to be able to do the import successfully.
    Using the "Import from file" wizard, I created a Directory Object using the Create Directory Object button. I Copied the file from which i needed to import the data into the Operating System Directory i had defined in the Create Directory Object page. I chose "Entire files" for the Import type.
    Step 1 of 4 is the "Import:Re-Mapping" page, I have no idea what i need to do on this page. All i know i am not tying to import data that was in one schema into a different schema and I am not importing data that was in one tablespace into a different tablespace and i am not R-Mapping datafiles either. I am importing data from a csv file.
    For step 2 of 4, "Import:Options" page, I selected the same directory object i had created.
    For step 3 of 4, I entered a job name and a description and selected Start Immediately option.
    What i noticed going through the wizard, the wizard never asked into which table do i want to import the data.
    I submitted the job and I got ORA-31619 invalid dump file error.
    I was sure that the wizard was going to fail when it never asked me into which table do i want to import the data.
    I tried to use the "imp" utility in command-line window.
    After I entered (imp), i was prompted for the username and the password and then the buffer size as soon as i entered the min buffer size I got the following error and the import was terminated:
    C:\>imp
    Import: Release 10.1.0.2.0 - Production on Fri Jul 9 12:56:11 2004
    Copyright (c) 1982, 2004, Oracle. All rights reserved.
    Username: user1
    Password:
    Connected to: Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Produc
    tion
    With the Partitioning, OLAP and Data Mining options
    Import file: EXPDAT.DMP > c:\securParms\securParms.csv
    Enter insert buffer size (minimum is 8192) 30720> 8192
    IMP-00037: Character set marker unknown
    IMP-00000: Import terminated unsuccessfully
    Please show me the easiest way to import a text file into a table. How complex could it be to do a simple import into a table using a text file?
    We are testing our application against both an Oracle database and a MSSQLServer 2000 database.
    I was able to import the data into a table in MSSQLServer database and I can say that anybody with no experience could easily do an export/import in MSSQLServer 2000.
    I appreciate if someone could show me how to the import from a file into a table!
    Thanks,
    Mitra

    >
    I can say that anybody with
    no experience could easily do an export/import in
    MSSQLServer 2000.
    Anybody with no experience should not mess up my Oracle Databases !

  • SQL Loader: Multiple data files to Multiple Tables

    How do you create one control file that refrences multiple data file and each file loads data in a different table.
    Eg.
    DataFile1 --> Table 1
    DataFile2 --> Table 2
    Contents and Structure of both data files are different. Data file is comma seperated.
    Below example is for 1 data file to 1 table. Need to modify this or create a wrapper that would call multiple control files.
    OPTIONS (SKIP=1)
    LOAD DATA
    INFILE DataFile1
    BADFILE DataFile1_bad.txt'
    DISCARDFILE DataFile1_dsc.txt'
    REPLACE
    INTO TABLE Table1
    FIELDS TERMINATED BY ","
    TRAILING NULLCOLS
    Col1,
    Col2,
    Col3,
    create_dttm sysdate,
    MySeq "myseq.nextval"
    Welcome any other suggestions.

    I was thinking if there is a way to indicate what file goes with what table (structure) in one control file.
    Example ( This does not work but wondering if something similar is allowed..)
    OPTIONS (SKIP=1)
    LOAD DATA
    INFILE DataFile1
    BADFILE DataFile1_bad.txt'
    DISCARDFILE DataFile1_dsc.txt'
    REPLACE
    INTO TABLE Table1
    FIELDS TERMINATED BY ","
    TRAILING NULLCOLS
    Col1,
    Col2,
    Col3,
    create_dttm sysdate,
    MySeq "myseq.nextval"
    INFILE DataFile2
    BADFILE DataFile2_bad.txt'
    DISCARDFILE DataFile2_dsc.txt'
    REPLACE
    INTO TABLE "T2"
    FIELDS TERMINATED BY ","
    TRAILING NULLCOLS
    T2Col1,
    T2Col2,
    T2Col3
    )

  • Sql developer xml

    hi all
    i want to know how can i create a navigation xml extension with multiple levels , i trie the oracle wiki examples but not work.
    How can i download the 2.1.1 sqldeveloper sdk
    thanks

    Do you mean to say that you tried this:
    http://wiki.oracle.com/page/SQL+Dev+SDK%3AHow+To+add+a+new+sub+folder+to+the+database+navigator
    And it didn't work?
    What happened or didn't happen? You need to be much more specific than, "It didn't work."
    As far as I can see so far, every XML extension I've written that worked in 1.5.5, still works in 2.1. The only exception is some graphics that I was using for icons, and that is because I used a back door that I probably shouldn't have used (and wouldn't have used if Oracle would only document the CORRECT name for icons).

  • Cannot compile SQL Developer generated pls file

    I right click on a package and choose 'Save Package Spec and Body...', then I open the file to edit it.
    When I try to compile the package I get the following error... in both version 2.1 and 3.0
    Error(93,1): PLS-00103: Encountered the symbol "/"
    Very frustrating that the tool will not compile a file it created...

    You're right.
    This save as one option was a request, but support for such file wasn't added (at least yet). Save your specs and bodies in separate files (File - Save As).
    Have fun,
    K.

  • Importing data from a text file into a table

    Hi Experts,
    I have the following flat file
    weekly_eft_repo  1.0                                                                                                       Page: 1
    CDC:00304 / Sat Oct-31-2009     Weekly EFT Sweep for 25/10/09 - 31/10/09  Effective Date 03/11/09         Sat Oct-31-2009 22:06:14
    Bill to
    Retailer Retailer Name                  Name on Bank Account           Bank ABA   Bank Acct            On-line Amount  Instant Amount  Total Amount
    ======== ============================== ============================== ========== ==================== =============== =============== ===============
    0200101 Triolet Popular Store          Triolet Popular Store          111111111  62030100130659            10,868.00            0.00       10,868.00
    0200103 Le Cacharel Snack              Le Cacharel Snack              111111111  62030100130813             9,728.00            0.00        9,728.00
    0200104 Advanced Co-operative Self Ser Advanced Co-operative Self Ser 111111111  111111111                  7,334.00            0.00        7,334.00
    0200105 Chez Popo Supermarket          Chez Popo Supermarket          111111111  61030100044898            30,932.00            0.00       30,932.00
    0200106 Vana Supermarket               Vana Supermarket               111111111  111111111                 17,775.00            0.00       17,775.00
    0200107 Mont Choisy Store              Mont Choisy Store              111111111  62030100130804             8,840.00            0.00        8,840.00
    0200108 Vijay Store                    Vijay Store                    111111111  62030100131229            16,416.00            0.00       16,416.00
    0200109 Neptune Confection             Neptune Confection             111111111  62030100130931            11,077.00            0.00       11,077.00
    0200110 Antoine Store                  Antoine Store                  111111111  111111111                  2,470.00            0.00        2,470.00
    0200111 P.S.C Cold Storage             P.S.C Cold Storage             111111111  111111111                 10,431.00            0.00       10,431.00
    0200113 Mini Prix Boutique             Mini Prix Boutique             111111111  62030100131501            26,315.00            0.00       26,315.00
    0200114 Hotel Cassim                   Hotel Cassim                   111111111  111111111                135,147.00            0.00      135,147.00
    0200116 Aman Snack                     Aman Snack                     111111111  62030100129481             7,334.00            0.00        7,334.00
    0200117 Best For Less Company Ltd      Best For Less Company Ltd      111111111  111111111                  3,325.00            0.00        3,325.00
    0200118 Central Way                    Central Way                    111111111  111111111                 25,137.00            0.00       25,137.00I need to insert the data it contains into the following table
    TABLE weekly_eft_report_temp
    Name                                      Null?    Type                       
    BILL_TO_RETAILER                          NOT NULL VARCHAR2(15)               
    RETAILER_NAME                                      VARCHAR2(100)              
    NAME_ON_BANK_ACCOUNT                               VARCHAR2(100)              
    BANK_ABA                                           VARCHAR2(1)                
    BANK_ACCT                                          VARCHAR2(1)                
    ON_LINE_AMOUNT                                     NUMBER                     
    INSTANT_AMOUNT                                     NUMBER                     
    TOTAL_AMOUNT                                       NUMBER Whats the easiest and best way to proceed on that?
    Thanks
    Kevin

    I am with Chris on this one.
    If those headers are repeating in your text file, you could run a simple script to cleanse the data first and make the file fit for SQL*Loader.
    Here's an example with Perl, I hope the header of Page 2 and onwards resembles what you have in your file. I've snipped some data from the far right so that it fits on my terminal screen:
    $
    $ # show the contents of the data file
    $
    $ cat report.dat
    weekly_eft_repo  1.0                                                                                        Page: 1
    CDC:00304 / Sat Oct-31-2009 Weekly EFT Sweep for 25/10/09 - 31/10/09  Effective Date 03/11/09 Sat Oct-31-2009 22:06:14
    Bill to
    Retailer Retailer Name                  Name on Bank Account           Bank ABA   Bank Acct            On-line Amount
    ======== ============================== ============================== ========== ==================== ===============
    0200101 Triolet Popular Store          Triolet Popular Store          111111111  62030100130659            10,868.00
    0200103 Le Cacharel Snack              Le Cacharel Snack              111111111  62030100130813             9,728.00
    0200104 Advanced Co-operative Self Ser Advanced Co-operative Self Ser 111111111  111111111                  7,334.00
    0200105 Chez Popo Supermarket          Chez Popo Supermarket          111111111  61030100044898            30,932.00
    0200106 Vana Supermarket               Vana Supermarket               111111111  111111111                 17,775.00
    weekly_eft_repo  1.0                                                                                        Page: 2
    CDC:00304 / Sat Oct-31-2009 Weekly EFT Sweep for 25/10/09 - 31/10/09  Effective Date 03/11/09 Sat Oct-31-2009 22:06:14
    Bill to
    Retailer Retailer Name                  Name on Bank Account           Bank ABA   Bank Acct            On-line Amount
    ======== ============================== ============================== ========== ==================== ===============
    0200107 Mont Choisy Store              Mont Choisy Store              111111111  62030100130804             8,840.00
    0200108 Vijay Store                    Vijay Store                    111111111  62030100131229            16,416.00
    0200109 Neptune Confection             Neptune Confection             111111111  62030100130931            11,077.00
    0200110 Antoine Store                  Antoine Store                  111111111  111111111                  2,470.00
    0200111 P.S.C Cold Storage             P.S.C Cold Storage             111111111  111111111                 10,431.00
    weekly_eft_repo  1.0                                                                                        Page: 3
    CDC:00304 / Sat Oct-31-2009 Weekly EFT Sweep for 25/10/09 - 31/10/09  Effective Date 03/11/09 Sat Oct-31-2009 22:06:14
    Bill to
    Retailer Retailer Name                  Name on Bank Account           Bank ABA   Bank Acct            On-line Amount
    ======== ============================== ============================== ========== ==================== ===============
    0200113 Mini Prix Boutique             Mini Prix Boutique             111111111  62030100131501            26,315.00
    0200114 Hotel Cassim                   Hotel Cassim                   111111111  111111111                135,147.00
    0200116 Aman Snack                     Aman Snack                     111111111  62030100129481             7,334.00
    0200117 Best For Less Company Ltd      Best For Less Company Ltd      111111111  111111111                  3,325.00
    0200118 Central Way                    Central Way                    111111111  111111111                 25,137.00
    $
    $
    $ # snip off the headers using Perl so that the transformed file has just the data to load
    $
    $ perl -lne 'BEGIN{$/=""} s/^weekly.*?=\n//msg; print' report.dat
    0200101 Triolet Popular Store          Triolet Popular Store          111111111  62030100130659            10,868.00
    0200103 Le Cacharel Snack              Le Cacharel Snack              111111111  62030100130813             9,728.00
    0200104 Advanced Co-operative Self Ser Advanced Co-operative Self Ser 111111111  111111111                  7,334.00
    0200105 Chez Popo Supermarket          Chez Popo Supermarket          111111111  61030100044898            30,932.00
    0200106 Vana Supermarket               Vana Supermarket               111111111  111111111                 17,775.00
    0200107 Mont Choisy Store              Mont Choisy Store              111111111  62030100130804             8,840.00
    0200108 Vijay Store                    Vijay Store                    111111111  62030100131229            16,416.00
    0200109 Neptune Confection             Neptune Confection             111111111  62030100130931            11,077.00
    0200110 Antoine Store                  Antoine Store                  111111111  111111111                  2,470.00
    0200111 P.S.C Cold Storage             P.S.C Cold Storage             111111111  111111111                 10,431.00
    0200113 Mini Prix Boutique             Mini Prix Boutique             111111111  62030100131501            26,315.00
    0200114 Hotel Cassim                   Hotel Cassim                   111111111  111111111                135,147.00
    0200116 Aman Snack                     Aman Snack                     111111111  62030100129481             7,334.00
    0200117 Best For Less Company Ltd      Best For Less Company Ltd      111111111  111111111                  3,325.00
    0200118 Central Way                    Central Way                    111111111  111111111                 25,137.00
    $
    $ You could do an inline substitution with Perl, or redirect it to a temp file and then move back to the original file. In either case, you have just the relevant data for the next step.
    Again, Perl is just one option. On Unix/Linux systems, you have a large number of utilities/scripting languages that can perform almost any kind of data transformation.
    HTH,
    isotope

  • Generate xml output file from relational table

    Hi All,
    I'd like to generate an XML file from a relational table but would like to persist the XSD in Oracle does anyone have a working example?
    Edited by: houchen on Jun 2, 2009 5:34 AM

    From the FAQ on the {forum:id=34} forum, {thread:id=416001}.
    If you are wanting to register the schemas in Oracle, you will find info on that as well in the FAQ.

  • SQL Loader - Loading Text File into Oracle Table that has carriage returns

    Hi All,
    I have a text file that I need to load into a table in Oracle using SQL Loader. I'm used to loading csv or comma delimited files into Oracle so I'm not sure what the syntax is when it comes to loading a text file that essentially has one value per row and each row is separated by a carriage return. So when you open the text file, the records look like this:
    999999999 <CRLF>
    888888889 <CRLF>
    456777777 <CRLF>
    456555535 <CRLF>
    345688888 <CRLF>
    So each row is separated by a hard return and I need to tell sql loader that the hard return or next row is the next value to insert into the table. Below is an example of a control file I tend to use as a template for loading csv files but I need to modify it to accomodate this new structure.
    OPTIONS (DIRECT=TRUE,ROWS=100000)
    UNRECOVERABLE
    LOAD DATA
    INFILE 'C:\input.txt'
    BADFILE 'C:\input.bad'
    APPEND
    INTO TABLE TEST_TABLE
    FIELDS TERMINATED BY ","
    TRAILING NULLCOLS
    COLUMN_1
    How to I modify the control file above to use hard returns as the field/row delimiter for my text file?
    Thanks

    Hi there,
    Obviously my intention wasn't to post the same message 4 times....I pressed the "Submit Message" button but the submission hung and I pressed it a few times and finally it worked but it created several versions of my post. You need to allow users the ability to delete there own postings...I was looking for this option but didn't have it.
    Sorry

  • Sql*loader map multiple files to multiple tables

    Can a single control file map multiple files to multiple different tables? If so, what does the syntax look like? I've tried variations of the following, but haven't hit the jackpot yet.
    Also, I understand that a direct load will automatically turn off most constraint checking. I'd like to turn this back on when I'm done loading all tables. How/when do I do that? I can find multiple references to 'REENABLE DISABLED CONSTRAINTS', but I don't know where to say that.
    TIA.
    LOAD DATA
    INFILE 'first.csv'
    TRUNCATE
    INTO TABLE first_table
    FIELDS TERMINATED BY ',' OPTIONALLY ENCLOSED BY '"'
    (a,b,c)
    INFILE 'second.csv'
    TRUNCATE
    INTO TABLE second_table
    FIELDS TERMINATED BY ',' OPTIONALLY ENCLOSED BY '"'
    (x,y,z,xx,yy,zz)
    etc.

    Here you go what you want..
    http://www.psoug.org/reference/sqlloader.html
    LOAD DATA
    INFILE 'c:\temp\demo09a.dat'
    INFILE 'c:\temp\demo09b.dat'
    APPEND
    INTO TABLE denver_prj
    WHEN projno = '101' (
    projno position(1:3) CHAR,
    empno position(4:8) INTEGER EXTERNAL,
    projhrs position(9:10) INTEGER EXTERNAL)
    INTO TABLE orlando_prj
    WHEN projno = '202' (
    projno position(1:3) CHAR,
    empno position(4:8) INTEGER EXTERNAL,
    projhrs position(9:10) INTEGER EXTERNAL)
    INTO TABLE misc_prj
    WHEN projno != '101' AND projno != '202' (
    projno position(1:3) CHAR,
    empno position(4:8) INTEGER EXTERNAL,
    projhrs position(9:10) INTEGER EXTERNAL)
    Thanks
    Aravindh

  • SQL Developer 1.5.3 Can't Import Text Files

    It is version build main-5783. When I try to import data in text files, I get this message "there are no readers registered for the txt type"; how can I get a reader?
    While SQL Developer allows excel file import, but the imported tables have their column orders reversed and excel files can only hold very limited rows. Is there a good data pump kind of like what MS SQL has that we can use?
    Thanks for your help!

    The Data Import Wizard almost froze on step one reading the file, it has only 120,000 records and not very wide, after it came back I had all the column data types specified, click on verify then finish and it ran for few minutes; when I refreshed no new table was created.
    I loaded the file to MS Access and tried to push the table through using ODBC with the Access Export Wizard; it ran for few minutes and when I refreshed in Oracle, the table was there and looked perfect.
    Off first glance Oracle's SQL Developer does not appear to be a mature product. At least it lacks the data pump that MS SQL Enterprise Manager does which is ultra fast and easy to use.
    Thanks for the help, I will use Access as a bridge then.

  • XML data file import

    1. I exported data using SQL Developer 3.1 in XML format.
    2. I get 'No reader of xml type registered' error when I try to import the same XML data file using SQL Developer 3.1. The 'file open' dialog does have an option to pick XML files and it shows my XML file on the directory.
    Do I need to install any extension to be able to import XML data file?
    Thanks in advance.
    Note: If it allows XML export out-of-the-box, then it should allow import of XML also out-of-the-box.
    .... Sushanta

    Unfortunately we don't support XML in our Table Import feature. You can request this in our exchange on SQLDeveloper.oracle.com

Maybe you are looking for

  • Does Adobe have actual support for their products?

    Or does Adobe actually rely on these forums and/or for the customer figure things out for themselves? First issue is that all video playback within Premiere CS6 stopped working ( periodically it works for a few days then stops again) . After trying a

  • Customer Sevice in SAP

    Is there any way possible to pull data from a free form text field(Funtional Location Text) in SAP?

  • Export Media to H.264 Blu-Ray 720p 30fps?

    I have video I've shot on a point and shoot camera which shoots video at 720p (1280x720) at 30fps.   I'm able to import it into Premier CS4, edit, etc.   Then when I go to export the media to Media Encoder I'm looking for the preset to match this inp

  • "Dell support" scam calls?

    I have been receiving calls from 1-800-624 9896 claiming that our Dell computer is sending messages to Dell on a virus attack. When I tell them the computer is at the moment in storage, one time the call got disconnected immediately. Just now he aske

  • Erreur 207

    Bonjour, depuis une semaine nous avons un poste qui ne met pas à jour Creative Cloud cc, et nous renvoie une erreur 207. Pourtant tout semble en ordre puisque d'autre postes ont effectué cette mise à jour. Merci par avance.