Sql developer import function

Hi I need to import multiple records (5000) in a table . I am using sql developer 1.5.1 but import function is not working properly. please suggest the steps .
thanks
Ruchi

I would say that the import function in Sql Developer is still evolving...
So far I have tried it in 1.5.1 (where it mostly does NOT work, especially with Excel files), with 1.5.3 (where I think works the best) and with 1.5.4 where new import requirements make it unnecessarily hard to work with.
What I mean by that, is that although in 1.5.3 you can match your CSV text columns to existing Table columns, in 1.5.4 you immediately get an error and the import aborts if the CSV text columns do not match in number and name the existing table column. I would like to have the option to match the columns myself, since I do not always have the luxury of importing all the columns with the names provided in the CSV file.

Similar Messages

  • SQL Developer: import from Excel bug

    SQL Developer 1.1.2.25 Build MAIN 25.79
    This is a test for import from Excel.
    Test table:
    create table bla
    (x number null,
    y varchar2(1) null);
    Excel data:
    x y
    1 a
    2 b
    3
    SQL Deveoper generates:
    Error at line 3:insert into BLA (X,Y) VALUES(3,'NULL')
    IMPORT into table BLAcomplete
    Inserted 2rows.
    Failed to insert 1rows.
    SQL Error:ORA-12899: value too large for column "BCRCEK"."BLA"."Y" (actual: 4, maximum: 1)
    I think there is a bug, because there must be generated NULL without apostrophe.
    insert into BLA (X,Y) VALUES(3,NULL);

    Hi Barry,
       That's[b] GREAT NEWS !!!.
       So, i just update current release 1.1.2.25 to 1.1.2.25.79 ?
    Thanks for the great work.
    Zack
      Oops !!! Am already using 1.1.2.25.79, same as bcrcek above. So need to wait for Patch Release ?
    Regards
    Zack
    Message was edited by:
            Zack.L                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • SQL Developer import from Excel or CSV not creating new table

    I am sure I have done this with previous version of SQL Developer. I am now running 1.5.4 with patches update from 5/27/2009. I am running on Windows XP. When I start the import wizard I get to the point were the varify button appears. I click Verify. Everything is successful. The next button is grayed out. The send to worksheet is not checked. I press the finish button and the new table is not created.
    I don't get any error message. I refresh my table list and the new table is not created. I can create new tables using SQL Developer so I don't think it can be a privelege problem. I know I did this a few weeks ago. I am not sure what version of SQL Developer I was running. But I have updated to the latest and greatest since then.

    I wanted to import and use my table data from MS Excel 2010 in SQL developer Version 3.1.05.
    I was told that SQL does not import .xls data. For that reason, I was searching for a script which Import data from excel to SQL developer. I tried many different forums DBS blogs. Then eventually I found the solution inside the SQL developer itself.
    In your Editor window, There would be options like,
    1. Columns | Data | Constraints |Grants | Sta...... "so on"
    2. In second row, you can find a drop box with certain table options. Select the last option "Import Data"
    THERE YOU GO.
    do accordingly to your need and you will get the data as well its scripts.
    I hope this would help you all. Thanks. :-)

  • Notes on Sql Developer - Importing - XLS

    This isn't really a question, but I thought I should get the record of my tribulations posted so someone else won't have to work as hard as I did.
    Please note when using import in sql dev - first, the file MUST be a xls formated BINARY file. I received a file with the extension xls, but it was actually a tab delimited csv, and the only message import gave me was : 'an error has occurred' , and then a stack trace with :
    java.io.IOException: Invalid header signature; read 664572811392150337, expected -2226271756974174256
         at org.apache.poi.poifs.storage.HeaderBlockReader
    A ascii csv would cause this since it doesn't have the binary header. Incidentally, poi is a java (apache) library for reading microsoft file formats.

    You can try changing the column in the excel to general datatype before you attempt to load using sql developer.
    alternate way...
    You can save the excel file as .csv file. Once saved you should be able to use the sql*loader to load the data.
    the sqlldr command for online
    sqlldr userid control=test.ctl log=test.log bad=test.bad data=test.csv discard=test.txt
    the test.ctl should be as follows
    load data
    infile 'test.csv'
    into table constraint_chk
    fields terminated by ','
    (column1 char(10),
    column2 date,
    column3 number) ;
    please let me know, if you need more info...

  • SQL Developer Import Excel problem

    I just recently installed SQL Developer (1.1.3).
    I created a table with 4-columns all char datatype.
    I tried to import an excel file into this table. Checked Header Row )1st excel record is header) and move all Available columns into Selectedcolumns. All my excel records are shown on the data preview. But when I click on [Insert], it gave me a message: No columns selected for insert.
    When I viewed the DML: insert into TBLCLOSETIMETABLE (Choose Data Type,Choose Data Type,Choose Data Type,Choose Data Type) VALUES('January','Thursday, February 01, 2007','Payroll','1st Wk');
    Any help will be greatly appreciated.

    I was able to "successfully" import excel files. I did not know I had to edit/map on the Data Types tab.
    Now I have a different problem where I have my date in excel as 01-Feb-07 and the
    Data Preview pane shows 39,114.
    I was not able to successfully import this column.
    Again, any help will be greatly appreciated.

  • Oracle sql developer import .xls data for table

    When I import data from .xls how come it doesn't show me an message when the import is done? How do i know when it is done? How come I don't see all the rows. When I do a select count(*) from table I come up with different numbers every time I do it.
    Once I do create the table with the data how do I generate the scripts for it. I was able to get the scripts to create the table ->table->Right click -> Export ddl .
    But how do I get the script for the "Insert statements"
    Edited by: user8117487 on Oct 7, 2009 11:17 PM
    Edited by: user8117487 on Oct 7, 2009 11:26 PM

    Hesh,
    The numeric value of 39057 in an Excel cell does display as 06-Dec-2006 when applying a date format DD-Mon-YYYY, so you are getting the right value - just not the right formatting.
    Which column type are you trying to import the XLS date into? If you are not loading the value into a date field, SQL Developer is probably just loading the base excel value of 39057.
    theFurryOne

  • Sql developer  search functionality could be better

    the search window closes after the first match,
    when I am looking for all matches for a string, it takes more time.
    There are plenty of example for good search functionality, with what I have experienced , the search feature in TEXTPAD is simple and works well.
    oralce sql developer 2.1.1.64
    I hope oracle recognizances this enhancement.
    - Dinesh

    Have you tried using any of the shortcut keys to aid in your searching?
    Alt-F3 : Find Next Result
    Shift-F3 : Find Previous Result
    (In a SQL Worksheet) Ctrl-F Brings the search menu back up
    (In a Code Editor Window) Ctrl-F Brings you to the search bar at the top of the editor. Ctrl-F twice will bring the search menu back up.

  • SQL Developer: to_date function..

    Hi..
    Can anyone tell me what is wrong with the following:
    select to_date('02-Jun-2008 12:10:00', 'DD-MON-RR:HH24:MI:SS') - 2 "Subtract 2 days" from dual;
    I get the following result:
    31-MAY-08
    I thought the format mask supplied would generate the result in the requested format with HH:MI:SS but, as you can see...it doesn't. The nls_date_format is DD-MON-RR, but that shoudn't matter as I have supplied an alternate mask to use (should it..?).
    It's just bugging me..using SQL Developer Version 1.5.5
    Thanks,
    Rory

    Hi Roy,
    I'm sorry, but You're wrong.
    The format mask you provided is only to transform a text into date format. Not for displaying a date. So the default format mask used to display the date is the one defined in NLD_DATE_FORMAT.
    If you want display date in 'DD-MON-RR:HH24:MI:SS' format you should either modify the NLS_DATE_FORMAT or use a TO_CHAR in your select ... from dual;
    Pierre.

  • Sql developer: import settings from prev version

    hiya!
    where are settings from previous version?
    went from sql dev 1.0.x to 1.1.x, and on first open of application was prompted, "would you like to import your settings from previous install?" i tried a couple, but couldn't quite get the right file.
    of course, its probably v easy...
    thanks in advance.
    be well,
    =todd

    SQL Developer forum is here - SQL Developer

  • Solution to sql developer import problem - nullpointerexception

    This isn't really a question, but I thought I should get the record of my tribulations posted so someone else won't have to work as hard as I did.
    Importing from a spreadsheet that has a blank column will give 'an error has occurred' and a stacktrace like :
    java.lang.NullPointerException
         at oracle.dbtools.raptor.dialogs.importdata.ExcelImportDialog.getStringValue(ExcelImportDialog.java:291)
         at oracle.dbtools.raptor.dialogs.importdata.ExcelImportDialog.populateModel(ExcelImportDialog.java:347)
         at oracle.dbtools.raptor.dialogs.importdata.ExcelImportDialog.displayExcelDialog(ExcelImportDialog.java:148)
         at
    Getting rid of that column, should get you past this point and to the import wizard.

    The import from xls feature has been rewritten from the scratch and a new "Import Data" wizard has been made available in SQLDEV 1.5 EA3, that is yet to be announced. This should take care of the blanks in xls. The new wizard will also support import from cvs files. Watch for EA3 announcement to try out the new Import Data wiz.

  • 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

  • SQL Developer export forgot to check to include semicolons in DDL

    Hi,
    I used the SQL Developers Export-function (select tables and right click on them, then select export) to backup tables.
    However, I forgot to set the 'Abschlusszeichen' (sorry for the german). That apparently means my create table statements are not finished by an ';', and they sinmply don't execute using the @script.sql method, or the sql developers import-function.
    One sql-file is 2 GB in size, so I currently have no idea how to edit it and add the semicolons manually. Is there any hope to rescue the data?
    I'm running sql developer 3.2.20.09, oracle Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production as well as Windows 8.1
    For clarification, this is how the create table part looks:
    --  Datei erstellt -Montag-September-30-2013  
    --  DDL for Table ZZ_BEN_0
      CREATE TABLE "PIERUSCHM"."ZZ_BEN_0"
       (    "BENUTZER_ID" NVARCHAR2(30),
        "NAME" NVARCHAR2(30),
        "GUELT_VON" NVARCHAR2(30),
        "GUELT_BIS" NVARCHAR2(30),
        "IST_KORREKTUR" NVARCHAR2(30),
        "IST_HALBTAGSKRAFT" NVARCHAR2(30),
        "LADE_DAT" DATE
    --  DDL for Table ZZ_BEN_1
      CREATE TABLE "PIERUSCHM"."ZZ_BEN_1"
       (    "BENUTZER_ID" NVARCHAR2(30),
        "NAME" NVARCHAR2(30),
        "GUELT_VON" NVARCHAR2(30),
        "GUELT_BIS" NVARCHAR2(30),
        "IST_KORREKTUR" NVARCHAR2(30),
        "IST_HALBTAGSKRAFT" NVARCHAR2(30),
        "LADE_DAT" DATE
    --  DDL for Table ZZ_BEN_10

    Also i'd like to add that the file begins with table definitions but then contains the actual (and randomly generated) data as well.
    You still need to have the file regenerated or you should expect to have problems with ANY method you use to try to automatically 'fix' the problem.
    1. No experienced developer that I have worked with would EVER try to execute such a monolithic script because there is virtually NO chance that a 2 GB script will EVER run successfully without an error of some sort. Objects have to be created in the proper order when dependencies exist between them. For example, you can't create an index if the table hasn't been created yet. There can even be circular references that will prevent all objects from being VALID even if they are created.
    2. There is virtually NO chance that ANY method you use will put terminators in EXACTLY the right place without causing a problem of some sort.
    3. When there is an error the script may continue to try to executed and that usually causes further errors. It also creates garbage objects that are not valid but will keep the script from working correctly the next time since the objects will already exist.
    You need to create a SET of scripts that are of manageable size so that you can control the process of executing them in the proper order.
    If you don't take the time to do that, up front, you are going to wasted a tremendous amount of time when the script fails trying to cut and paste the pieces you need out of that 'master' script.
    There are NO SHORTCUTS: take the time to do it right the first time.

  • Problem in deploying Java Extension to ORacle SQL Developer

    Hi all,
    I have developed a simple Java extension using Oracle Jdeveloper. This extension creates a preference in Tools->Preferences.
    I have deployed it on Jdeveloper and it works fine. But when I deploy it on Oracle SQL Developer its functionality does not work
    I am using JDeveloper 11.1.1.4
    and Oracle SQL Developer 3.2.20.09 (Latest Version).

    Hello,
    You are giving few informations. Is the extension listed in the extensions tab in the 'About' tab? Are you able to deploy any extension to SQLD?
    Joop

  • SQL Developer not accepting certain characters from the keyboard

    Hello,
    I have been using SQL Developer for 5 or 6 months now, with minor issues and great satisfaction.
    A few days ago, just out of the blue, in the middle of the day, SQL developer started not accepting the following characters:
    Ctrlv, Ctrl + c, F5, F9 (I Think all function keys), BackSpace, Delete, Enter and arrow keys.+*
    T*his is only happening in the text editor part*. I am able to use this keys in the results, whether they were a script output or an execute query output.
    SQL developer also functions properly (if i paste using the mouse, paste works.. and all the other keys)
    I checked the pc for viruses, using AVG, no viruses were found (my avg is updated daily and runs daily virus checks on a schedule, and this issue has been here for the past 1 or 2 weeks, so it was a virus, i think it should have been discoverd, besides, the keys are still working in sql developer, only not in the text editor part)
    Needless to say, but if i run notepad and type, keys work properly.
    I also reinstalled it in another folder with no luck
    Tried so many restarts .. no luck
    Tried it in safe mode .. no luck
    I am using SQL developer Version 1.5.4, Build MAIN-5940.. on Windows Xp
    I am suspecting there's some option in it that I disabled without paying attention..
    HELP!!!
    Regards,
    Charles

    All that time trying possible solutions is understandable, but then typing them in your post... when searching the forum would have given you the solution under 1 minute:
    Preferences - Accelerators - Load Preset - Default
    Hope that helps,
    K.

  • 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

Maybe you are looking for

  • SP 2010- Central Admin showing error while FBA configuration....

    Hi Experts,  I am trying to configure my sharepoint website using form based authentication . After completing some steps I added following things to SharePoint admin Web.Config file. - Membership - Role Manager - <add key="FBA" value="%" /> in Peopl

  • Sending video in Messages in iOS 8?

    I was trying the new tap to send audio and video in Messages in iOS 8 on my iPhone 5. Recording audio and sending it seemed to work. Recording video seemed to work, but when I touched the send arrow nothing appeared to get sent. Any idea what I might

  • M AUDIO FIRE WIRE SOLO

    OK.. so i get a gift from a friend. The M AUDIO Firewire Solo. I am stuck. How do i select this to be my audio input on Garage Band V 1.1.0 I WOULD LIKE TO plug my guitar in. Do have to download drivers?.. .My friend is driving me nuts to see how i l

  • H:commandLink and an Action being called multiple times.

    Hi everyone. I'm more or less relatively new in terms of JSF, though I've had to do a lot of "catching up" recently. I've been reading that with managed-beans, the getters/setters are not gaurenteed to be called once. http://www.jsf-faq.com/faqs/face

  • Need to reinstall Windows 7 on H320 series PC!

    I have a series H320 PC currently running with Windows 7 Home Premium (64bit) and which seems to have a corrupt or missing file (CBS Manifest) needed to install Windows Updates.  There are currently three updates that I have which, so far, have defie