Import data using Excel and Oracle SQL Developer - I need some help

Dear friends,
I'm using Oracle SQL Developer 1.5.1 and I need to import an Excel file into a database table. If I try to import this file in XLS format, fields and headers are correctly being shown and separated, but if I press "Next" button, it simply doesn't do anything - it stays stopped.
I did some search here in this forum and it seems to me that, when you try to import a file via XLS format, SQL Developer has bugs. Is this correct?
If I save the same file in CSV format and try to import the same file, it goes ahead, but SQL Developer is not separating fields and headers correctly. It combines all CSV fields into one - let's say Column0 and fields 1;TEST;01/01/2000 below the same Column0.
Saving the file in CSV format is not a problem, taking a very little time. But I don't know how to make SQL Developer import it correctly. Could somebody please help me? Thanks in advance.
Best regards,
Franklin

Hello K,
yes, you're right. I found the following topic after posting this question here.
Re: After update to 1.5.1, import from Excel fails
I downloaded version 1.5.0 and I'll use it whenever I import data from Excel.
Thanks,
Franklin

Similar Messages

  • Differences between TOAD for Oracle and Oracle SQL Developer?

    Does someone know the advantages and disadvantages of using TOAD for Oracle and Oracle SQL Developer?
    I work making reports with TOAD, but in a few days I will have to use the SQL Developer (because it´s free) unless I justify the necessity of using TOAD.
    Could some that used both compare them?
    Thanks,
    Facundo.

    Hello Facundo,
    since we are rolling out new client PCs we switch from Toad to SQL Developer. Therefore I'm doing some training for the "normal" users and our developers.
    Most users simply want to have access to the data in tables and views. For those there are 2 main issues:
    - Filters get lost when exiting table while sorting is still applied. Since there is no way to apply filtering before entering the data tab this can become a great performance issue because sorting is applied to many many rows. For views it is sometimes impossible to open the data tab.
    - Exporting date values to Excel needs some know how if you want to sort by this column in Excel, because the date is formatted as "Standard" meaning that the sorting is done as for a text column: 01.01.2009 is less than 02.01.2008. Here you have to use a workaround column with a formula (=1*<datecolumn>)
    The greatest Pro is the easy sharing of connections and reports by XML files.
    Our developers like the easy debugging in SQL Developer. Though they miss the feature that the source is compiled for debug automatically as in Toad. For this we have distributed a script that compiles any PL/SQL object for debugging.
    There are only some Toads installed for DBAs and for users that need access to tables protected by policies that require authentification by OS user since this information is not passed under every circumstance.
    Regards
    Marcus

  • 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 data from Excel to MS-SQL 2008?

    I'm taking data from excel, exporting it to a csv file.
    Importing it forst to Access so I can see if it fails and then using the SQL Server Import Export Wizard to pull it in.
    It keeps failing and there's very little information on the internet that points me to a solution.
    If I just let it create it's own tables, it does fine but I need it to import the data in specific character types.
    So, I think my problem goes back to Access and it's way of setting character types.
    Anyone else have this problem? Solutions?
    Thanks

    If anyone is wondering.
    It tuned out to be the data in the Excel file, being old and abused, it had a lot of "junk" in the rows.
    I ended up just copying all the columns and rows and pasted "Special" (with values) back in new rows and that seem to have gottem me past the major errors. I hate how Excel is so loose with the rules. You ad that to the fact that a lot of people that don't know how to use Excel and you end up with a mixure that's not good.
    It seems that everyone here at this company uses Excel and because there aren't any rules and because Excel is so easy to start using, it gets messy.
    In most cases here, people should be using Access but I doubt that's going to happen.
    Man, I miss the NNTP server.

  • PL/SQL and Oracle SQL Developer

    I just downloaded the latest version of Oracle SQL Developer, because I heard that it is free and comes with a debugger.
    So I have it all setup, I am connected to my database, but I wanted to execute a simple example:
    I selected to create a new Procedure and a new tab opened up, I pasted this code and under DBMS Output, I clicked the + to: set serveroutput on
    CREATE OR REPLACE PROCEDURE TEST1 As
    DECLARE
       mytext varchar2(100) := 'Hello world!' ; 
    BEGIN
       dbms_output.put_line(mytext) ;
       dbms_output.put_line(mytext) ;
    END TEST1;yet, I get an error:
    Source does not have a runnable target.
    So, is this made to only work with the database objects ? Tables ? I can't execute a simple Hello World ?
    Please help, thanks!
    Edited by: Kodiak_Seattle on Mar 7, 2011 12:06 PM

    Kodiak_Seattle wrote:
    wow, you are the rudest person I have ever encountered here on Oracle forums, you work for Oracle ?Most people on these forums do not work for Oracle, it is a public forum.
    http://www.oracle.com/html/terms.html
    You post here for free and people are free to respond in any way they see fit within reason. You do not get to choose the demeanor of the responses like you would if you were paying somebody.
    I just want to make sure my dollars will not go there anymore...If you paid someone to use this forum you were robbed.
    have a nice life under that rock! - don't bother to reply.Don't bother to tell others what they can or should do on here, it will just just disappoint you. You will be happier with these people they will do as they are told.
    http://www.google.com/search?q=oracle+consultant
    The responses you received accurately identified the problems you were having were a result of attempting to debug a procedure before you had compiled it. For free. And you complain.
    Now that is rude.

  • Not able to Import data using "clear and replace"

    Hi,
    If I import data using the data admin package "Import" and "Merge" as 'method for importing' the process runs without problems.
    If I change the 'method for importing' to "Clear and Replace" the process fails. See message:
    TOTAL STEPS  2
    1. Convert Data:         completed  in 3 sec.
    2. Load and Process:     Failed  in 1 sec.
    3. Import:               completed  in 1 sec.
    [Selection]
    FILE=\UHRENHOLT\LEGAL_DATALOAD\DataManager\DataFiles\\Axapta_Load.txt
    TRANSFORMATION=\UHRENHOLT\LEGAL_DATALOAD\DataManager\TransformationFiles\\Axapta_Load.xls
    CLEARDATA= Yes
    RUNLOGIC= Yes
    CHECKLCK= Yes
    [Messages]
    Key cannot be null.
    Parameter name: key
    I'm uisng the standard data admin package (and thereby the values 0 and 1). For some reason the value 1 is not accepted.
    Any suggestions?
    /Lars

    Hi,
    The "Replace & clear..." feature during data import depends on Work Status. So to use this functionality, you need to setup Work Status under your application. Notice that you need to setup Work Status even if you aren't selecting the option to check Work Status when running the package.
    Hope this will help you.
    Kind Regards,
    Patrick

  • MS Access 2010 and Oracle SQL Developer Version 4.0.3.16 Error

    OS: Windows 7 Enterprise
    System Type: 64-bit Operating System
    I can not get MS Access 2010 to work/open with SQL Developer version 4.0.3.16.
    ERROR when testing connection to MS Access 2010
    "Status : Failure -Test failed: [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified"
    I added the 32-bit ODBC data source for the MS Access I am trying to use with SQL Developer version 4.0.3.16 with the "C:\Windows\SysWOW64\odbcad32.exe" application, but I still get the same error.
    I appears that SQL Developer version 4.0.3.16.is looking at the 64-bit driver (ODBC Data Source) and I have no idea to direct SQL Developer version 4.0.3.16 to use the 32-bit driver (ODBC Data Source) when opening MS Access 2010.
    Thank you in advance for your advice.

    I downloaded the SQL Developer version 4.0.3.16 "sqldeveloper-4.0.3.16.84-x64.zip" that included the jre.
    How do I check which Java JDK I am running (32-bit versuns 64-bit)?
    In the command prompt I use "java -version" and I get this message "java is not recognized as an internal or external command"

  • Not able to fetch updated data using jdbc and oracle 10g

    Whenever i m updating the data and fetching the same record after updating i m not able to get the fresh/new updated data , old record is fetched every time, but when i checked in database the record gets updated successfully , even if i fire the query two times after 10 seconds using Thread.sleep even then problem persist.
    Please help me out!!!!!!!!
    Implementation has been stucked up!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! :(

    Well its okWhat is OK? Your stuff working now?
    i m doing the same thing Apparently not.
    please go thru the below code fragment:
    code for Update :::
    DataAccessBean1 partsHistoryDataAccessBean = new
    DataAccessBean1(context);
    partsHistoryDataAccessBean.setData(data);
    partsHistoryDataAccessBean.update();
    After Updating i m forwading it to the other servletForwarding what? Why do you need another servlet? Just do the query, put the new data into the response object, and return.
    According to your assumption i should get the updated
    data on the other screen but Nope, you don't understand what I'm saying.
    %

  • I am Student and having a huge problem need some help quick!!!

    Hello I am student in college and i am developing a file share portal for my final year project using Flex 3 on the client side, java on the server side, hibernate for ORM, Sping MVC and My Sql 5. I am having a bit of a problem parsing this:
    ------------GI3ae0ae0ae0GI3KM7KM7Ef1cH2ei4
    Content-Disposition: form-data; name="Filename"
    Flex3.txt
    ------------GI3ae0ae0ae0GI3KM7KM7Ef1cH2ei4
    Content-Disposition: form-data; name="action"
    upload
    ------------GI3ae0ae0ae0GI3KM7KM7Ef1cH2ei4
    Content-Disposition: form-data; name="file"; filename="Flex3.txt"
    Content-Type: application/octet-stream
    Flex 3 can be a pain in the arse!!!!!!
    ------------GI3ae0ae0ae0GI3KM7KM7Ef1cH2ei4
    Content-Disposition: form-data; name="Upload"
    Submit Query
    ------------GI3ae0ae0ae0GI3KM7KM7Ef1cH2ei4--
    This is my Java code:
    package com.file.exchange.service;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import javax.servlet.http.HttpSession;
    import javax.xml.parsers.DocumentBuilder;
    import javax.xml.parsers.DocumentBuilderFactory;
    import org.w3c.dom.Document;
    import org.w3c.dom.Element;
    import org.w3c.dom.Node;
    import org.w3c.dom.NodeList;
    import org.xml.sax.InputSource;
    import java.io.*;
    import java.sql.Blob;
    import com.file.exchange.vo.Files;
    import java.util.Date;
    import java.text.DateFormat;
    import java.text.SimpleDateFormat;
    import java.io.IOException;
    import java.io.PrintWriter;
    import java.io.File;
    import org.apache.commons.fileupload.*;
    import org.apache.commons.fileupload.disk.*;
    import org.apache.commons.io.*;
    import org.apache.commons.fileupload.servlet.*;
    import java.util.Iterator;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.ListIterator;
    import javax.imageio.ImageIO;
    import javax.imageio.ImageReader;
    import javax.imageio.stream.ImageInputStream;
    import org.apache.commons.fileupload.util.FileItemHeadersImpl;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class FileUpload extends FileBaseService
         InputStream in = null;
         OutputStream out = null;
         ByteArrayOutputStream bout = null;
         @SuppressWarnings("unchecked")
         @Override
         protected String getXmlFromOperation(HttpServletRequest request,HttpServletResponse response) throws Exception
              int readBytes = -1;
    int length = request.getContentLength();
    in = request.getInputStream();
    byte[] buffer = new byte[length];
    bout = new ByteArrayOutputStream(length);
    while((readBytes = in.read(buffer, 0, length)) != -1) {
    bout.write(buffer, 0, readBytes);
    byte[] inData = bout.toByteArray();
    FileOutputStream fos = new FileOutputStream("C:/Documents and Settings/Andrew Hobbs/Desktop/helloworld.txt");
    for(int i=0; i<inData.length; i++)
    fos.write(inData);
    fos.close();
              DateFormat dateFormat = new SimpleDateFormat("yyyy/MM/dd HH:mm:ss");
              Date date = new Date();
              String data = "Hello";
              String id = "1";//getCharacterDataFromElement(vID);
              String name = "meh";//getCharacterDataFromElement(vname);
              String type = "1";//getCharacterDataFromElement(vtype);
              String size = "5555";//Long.toString(fileObject.length());//getCharacterDataFromElement(vsize);
              Blob content = org.hibernate.Hibernate.createBlob(data.getBytes());//fisFile);//data.getbytes[]
              String date_uploaded = dateFormat.format(date);
              Files file = getFileDao().uploadFile(Integer.parseInt(id), name, type, Integer.parseInt(size), content, date_uploaded);
              return file.toXml();
    I will so grateful if somebody could point me in the right direction with this or point me to possible examples of parsing this!
    Thanks

    Let me warn you up front: never mark your questions as urgent. People really don't care how urgent it is to you, and will likely only irritate them enough to not want to help you. Lucky for you, I couldn't care less ;)
    you seem to want to get an uploaded file using FileUpload. Did you see the user guide on how to do this? You seem to be going about it in completely the wrong way.
    [FileUpload user guide|http://commons.apache.org/fileupload/using.html]
    Also:
    FileOutputStream fos = new FileOutputStream("C:/Documents and Settings/Andrew Hobbs/Desktop/helloworld.txt");Hardcoded paths in your code? Not very portable is it. I would define paths in a properties file. Read this:
    [smartly loading properties|http://www.javaworld.com/javaworld/javaqa/2003-08/01-qa-0808-property.html]

  • A Oracle sql query is needed, please help me out

    Hi,
    I have a table similar to scott.emp table and i should get first three recently joined employees salaries according to their joined date from each deptno
    output should like this:
    deptno firstempsalary secondemplsal thirdemploysalary
    10 xxx xxx xxxx
    20 xx xx
    30 xx xxx xxxx
    40 xx
    50 xx xxxx xxx
    60 xx xx
    70 xx
    it means that 70 dept having only one employee and 20 dept having only two employees and 10 dept having more than three employees but we should get only three recently joined employees salaries from 10 dept.
    Hope this is clear .. please give me a query to get this info ..
    oracle is 10g version
    great thanks in advance.

    select deptno,
    max(case jd_rank when 1 then salary end) firstempsal,
    max(case jd_rank when 2 then salary end) secondempsal,
    max(case jd_rank when 3 then salary end) thirdempsal
    from
    (select salary, deptno, row_number() over(partition by deptno order by join_date desc) jd_rank from emp)
    group by deptno
    Problem here is what to do when employees have the same join date? This example will arbitrarily choose their order and if, for example, three employees share the same (most recent) join date then they will arbitrarily be classed as "first", "second" and "third". If four employees join at the same time, one of them will be ignored at random!
    Edited by: user10548434 on 03-Dec-2008 06:27

  • Pl/sql parameter portlet - need some help/advice - how to create

    I want to create a pl/sql portlet that accepts a parameter and on submit passes the parameter to other portlets (sql reports) these are then automatically run to display the new data.
    E.g.
    parameter portlet = deptno
    On submit
    Sql reports then refreshed using the parameter
    I am aware, and have tried the mycompnay demo, which works exactly as I want but the parameter portlet cannot be amended and is written in Java.
    I need a pl/sql equivalent so I can tailor the code.
    Any advice examples or guidance would be really appreciated.
    Thanks in anticipation.
    SD

    Hi,
    You can use a form portlet to accept parameters and then call a report in the success procedure of the form. In this example it calls a report with the value in the flightno field.
    declare
    flightno number;
    blk varchar2(10) := 'DEFAULT';
    begin
    flightno := p_session.get_value_as_varchar2(
    p_block_name => blk,
    p_attribute_name => 'A_FLIGHT_NO');
    call('SJDEMO30.report1.show?p_arg_names=flightno&p_arg_values='||
    flightno);
    end;
    Thanks,
    Sharmila

  • Actiontec router port in use after software restart...​.need some help please

    I am using Windows Media Encoder to stream video from a web cam through my Actiontec M1424-WR RevC router. Problem I am having is when I shut down the camera for the evening and then start it back up in the morning, I get a message that says the port is in use...try another port. I then have to reassign a different port. This causes issues because I then have to inform those that want to view the scene of the new port number.
    Anyone know how to get around this anamoly?

    You probably have to set up a static ip on the computer then set up the router to port forward to that static ip...  Have you tried this?
    Setting up a static ip  CLICK HERE
    Setting up Port Forwarding on Actiontec CLICK HERE
    Reason for Static Ip is needed CLICK HERE

  • Hey I need a code for an Itunes 25$ gift card because when I scratched with a coin like it says it scratched the code right of and its unreadable. I need some help here.

    What I want is a code so I can buy my Lord of the Rings Extended Edition Videos because its upseting to see how easy it is to ruin these codes. The code was for 25$ for Itunes and now its ruined please help me its Christmas and I just got my Ipod Touch.

    iTunes Store: Invalid, inactive, or illegible codes
    http://support.apple.com/kb/TS1292

  • Oracle SQL Developer Data Modeler start up error

    Hi All,
    I just downloaded Oracle SQL Developer Data Modeler (2.0.0.57.0) [Released 1 July 2009] by selecting the option "Oracle SQL Developer Data Modeler for Windows (This zip file includes the JRE)"
    After I installed the same and tried to run it by clicking datamodeler.exe, I get the following error message
    "unable to create an instance of the Java virtual machine located at path:..\jdk\jre\bin\client\jvm.dll"
    On the same machine I can successfuly run the Oracle SQL Develper with no errors. My machine is having Windows XP Professional SP3.
    Any ideas? If there was a problem with Java, than the Oracle SQL Developer should also not run. But as stated it runs with out any error but the Oracle SQL Developer Data Modeler gives the above error.
    Regards,
    JAA149

    1 - The above problem has nothing to do with the memmory. I tried on a 400 MB RAM, 900 MB RAM, 1.5 MB RAM & 2 MB RAM with the same arror.
    "unable to create an instance of the Java virtual machine located at path:..\jdk\jre\bin\client\jvm.dll"
    http://i30.tinypic.com/9vkwf6.jpg
    2 - There are two "datamodeler.exe: files
    One is at D:\datamodeler\datamodeler.exe
    2nd is at D:\datamodeler\bin\datamodeler.exe
    The same error occurs with both the files.
    3 - The Oracle SQL Developer Data Modeler version is "Oracle SQL Developer Data Modeler (2.0.0.57.0) [Released 1 July 2009]" and the file I downloaded is "Oracle SQL Developer Data Modeler for Windows (This zip file includes the JRE) - (57M)"
    If I look in "D:\datamodeler\jdk\jre\README.txt" I find
    "Java(TM) Platform, Standard Edition Runtime Environment Version 6"
    If I run "D:\datamodeler\jdk\jre\bin\javacpl.exe" I get
    http://i30.tinypic.com/mt8ocn.jpg
    If I run "D:\datamodeler\jdk\jre\bin\jureg.exe" I get
    http://i28.tinypic.com/30boiyo.jpg
    If i check at the control panle add/remove program
    http://i30.tinypic.com/1428tba.jpg
    If I go to "http://www.java.com/en/download/manual.jsp" and download "jre-6u16-windows-i586-s.exe" and run it.
    If I go to "C:\Program Files\Java\jre6" I find the same files as in "D:\datamodeler\jdk\jre"
    I am able to run Oracle SQL Developer with out any kind of error let alone the above one. But with Oracle SQL Developer Data Modeler I get the above mentioned error no matter what I try.
    As the error states "unable to create an instance of the Java virtual machine located at path:..\jdk\jre\bin\client\jvm.dll". The file "jvm.dll" is located at two places. One at "D:\datamodeler\jdk\jre\bin\client\jvm.dll" and the second at "D:\datamodeler\jdk\jre\bin\server\jvm.dll"
    A similiar problem occurs with JDeveloper with the fllowing solution
    http://forums.oracle.com/forums/thread.jspa?threadID=506339&start=0&tstart=0
    Which states the following
    "hello!
    in the problem with JDeveloper i have a solution. The jdk have a file jvm.dll in the path: jdk/jre/bin/client/jvm.dll this is the problem ... now in the path:jdk/jre/bin/client/ojvm has a file with the same name if you copy and paste this file to the another path, now its works fine your Jdeveloper.
    Jdeveloper use two files to jvm.dll to work one in the folder /client and other in /server copy the same file to the two locations for precaution
    for me work fine thanks..."
    I tried to do the same (Copy from client folder to server folder)
    D:\datamodeler\jdk\jre\bin\client\jvm.dll
    COPIED THIS FILE TO
    D:\datamodeler\jdk\jre\bin\server\jvm.dll
    Nada. So I reversed it (copied from server folder to client folder)
    D:\datamodeler\jdk\jre\bin\server\jvm.dll
    COPIED THIS FILE TO
    D:\datamodeler\jdk\jre\bin\client\jvm.dll
    Does not work. So I tried another solution stated at the same forum entry
    "Well,
    i solved the problem by this way :
    <SQLDEVELOPER>/jdev/bin/ide.conf
    In this file, change this line :
    AddVMOption -Xmx512M
    by
    AddVMOption -Xmx256M
    Now, the executable is lauching correctly. No more errors with Java Virtual Machine.
    But is it a good thing to solve it like that ?"
    But the ide.conf file is only at "D:\sqldeveloper\ide\bin\ide.conf" which is for the SQL Developer and not the SQl Developer Data Modeler
    Correct me if I am wrong but
    JRE = Java Run Time Envoirment
    JDK = Java Development Kit
    And Oracle SQL Developer Data Modeler needs JRE and not JDK. In any case I download JDK
    jdk-6u14-javafx-1_2-windows-i586.exe (121,306 KB) and installed it but no succcess.
    I tried every thing except completely re-install my whole PC.
    Any help will be much appreciated.
    Cordially,
    Jawad

  • How to view execution history for any date in oracle SQL developer tool ?

    hi, i want to view some executed queries(2 months before) in oracle SQL Developer. if i press F8 it shows execution history for only last 30 days. is there any option(query) or something to view execution history for specific date ? i want to see some queries, which is executed before 2 months in my oracle SQL developer tool. Pls help me out.

    sb92075 wrote:
    943838 wrote:
    hi, i want to view some executed queries(2 months before) in oracle SQL Developer. if i press F8 it shows execution history for only last 30 days. is there any option(query) or something to view execution history for specific date ? i want to see some queries, which is executed before 2 months in my oracle SQL developer tool. Pls help me out.it will never occurWhy not? Are you a member of the product team that develops SQL Developer?
    To the OP, there is a forum for SQL Developer
    SQL Developer
    And there's also a sticky on the forum for product enhancement requests
    "Feature Requests, Extensions and General Collateral "
    Cheers,

Maybe you are looking for