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.

Similar Messages

  • Copying SQL Script from Oracle SQL Developer into Excel with formatting

    I need to copy a SQL Script into Excel in order to develop some VBA code. Is there any nice way that I can copy SQL Script from Oracle SQL Developer into Excel and retain its formatting? I am a stickler for having legible, readable SQL and like to have all my columns lined up and aliases lined up. When we used to use SQL Navigator, the tab formatting seemed to copy and paste just fine. Now that we have migrated to Oracle SQL Developer, the formatting seems to get all messed up.
    And suggestions are greatly appreciated and Thanks in advance for your review and am hopeful for an answer.

    I suppose you want a real tabulator instead of spaces. You can configure this in the preferences (SQL Formatter - Oracle). You have to apply it then to your existing code (e.g. CTRL-F7), but new code should get it right from the start.
    Hope that helps,

  • 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"
    do accordingly to your need and you will get the data as well its scripts.
    I hope this would help you all. Thanks. :-)

  • SQL Developer 2.1: Problem exporting and importing unit tests

    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?

    Hi Pierre,
    Thanks for pointing this out. Unfortunately, it is a bug on our side and you have found the (ugly) "work-around".
    Brian Jeffries
    SQL Developer Team

  • SQL Developer: import from Excel bug

    SQL Developer 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
    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 to ?
    Thanks for the great work.
      Oops !!! Am already using, same as bcrcek above. So need to wait for Patch Release ?
    Message was edited by:

  • Engineer to Logical Model in SQL Developer EA4 causes problems

    I'm working with SQL Developer 3.0 EA4 (Build MAIN-03.97)
    Unfortunately I fond out, that it would be impossible to use the function " Engineer to Logical Model" any more after I change the relational model. In datamodeler.log I got the error message line "[AWT-EventQueue-0] ERROR MDBAction - java.lang.NullPointerException" for each time I use the function "Engineer to Logical Model". I try it out with the sample model "sh_cre_all.sql" and with following steps:
    1) Import via DDL File – no problem
    2) Engineer to Logical Model – no problem
    3) Change some attributes in the relational model – no problem
    4) Again Engineer to Logical Model – no problem
    5) Save, Exit an Open the sample – no problem
    6) Again Step 3 and 4 – no problem
    7) Add a table via drag&drop from an oracle schema – no problem
    8) Save, Exit an Open the sample – no problem
    9) Engineer to Logical Model no longer possible!!!

    I have experienced similar problems with 'Engineer to Logical model'.
    The scenario was following:
    Creating Logical model using 'Engineer to Logical model' from existing Relational model.
    Modifying the Relational model and 'Engineer to Logical model' again. No exception occured but the Logical model wasn't updated accordingly.
    Removing all entities from the Logical model.
    Trying to 'Engineer to Logical model' again. No entities were created in the Logical model (even after few tries).
    So I got to situation where I was unable to generate a Logical model, which was quite frustrating.
    The workaround was to create new Data Modeller project and import to it from the original project - the 'Engineer to Logical model' worked again.

  • 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 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 .

    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.

  • 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

    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.

  • SQL Developer 3 EA2 - Problem with formating plsql source code

    I'm using sql developer 3 ea2. I have played with source code formating.
    I have 2 issues with formating in source code editor.
    I have a plsql string like the following extending over several lines.
    s VARCHAR2(2000) := 'SELECT
    col1, col2, col3
    FROM table
    WHERE col4 = :var';The result after apply "format" to my sourcecode ist:
    s VARCHAR2(2000) := 'SELECT
    col1, col2, col3
    FROM table
    WHERE col4 = :var';The second is that sql developer ist camelizing the previous line if I type a whitespace in plsql sourcecode.
    How to switch that off??
    The last issue is realy annoying!

    I am having exactly the same problem. Every time you use Format Ctrl/F7 it adds new line feeds. Code starts off as:
    command := '
    select account_status, default_tablespace, temporary_tablespace,
    to_char(created,"YYYY-MON-DD HH24:MI:SS"), profile
    from [email protected]@
    where username=:1' ;
    First Format Ctrl/F7 get an extra blank line:
    command := '
    select account_status, default_tablespace, temporary_tablespace,
    to_char(created,"YYYY-MON-DD HH24:MI:SS"), profile
    from [email protected]@
    where username=:1' ;
    Then second Format Ctrl/F7, get THREE extra lines!!! It goes exponential!!
    command := '
    select account_status, default_tablespace, temporary_tablespace,
    to_char(created,"YYYY-MON-DD HH24:MI:SS"), profile
    from [email protected]@
    where username=:1' ;
    So far I've only really encountered the problem with dynamic SQL, which ignores the extra line feeds.
    i am pretty sure this is a long standing SqlDeveloper Format problem, going back to V2.

  • SQL Developer and GeoRaptor problem

    Hi All,
    I have installed sql developer version, And in one schema i have spatial data, but as geo raptor in not installed in sql developer so i am unable to see the Spatial data.
    So in order to see the spatial data i installed Geo Raptor as below:
    Click menu item "Help" and "Check for update"
    2. Dialog "Check for Updates - Welcome"
    Click on button "Next".
    3. Dialog "Check for Updates - Step 1 of 3: Source"
    Add new Update center. Click on button "Add" and insert values:
    Name: GeoRaptor
    Location: http://georaptor.sourceforge.net/install.xml
    And sql developer update sucessfully , but after installation of Geo Raptor as well i am unable to find the Geo Raptor tool in SQL Developer.
    Could any one please help me that why Geo Raptor tool is not dispaying in SQL Developer.
    Thanks in Advance

    I am one of the developers for GeoRaptor.
    I note that you are using version of SQL Developer.
    The current version of SQL Developer works with version 2.1 and above.
    Download the latest version of SQL Developer (I run version and reinstall GeoRaptor.
    If the install is correct you should see a GeoRaptor menu entry under the View menu pillar. Also, you
    should see GeoRaptor commands against the right mouse click menus on tables/sdo_geometry columns.
    Let me know if you still have problems.

  • SQL Developer - Database connection problem

    Hi all,
    I had SQL Developer 1.5.4 with JDK, when connect to database with connection type TNS,
    test connection successfully, but when I try to open tables; here the error that I got:
         at oracle.javatools.db.ora.BaseOracleDatabase.getCurrentSchema(BaseOracleDatabase.java:163)
         at oracle.javatools.db.ora.OracleDatabaseImpl.hasRole(OracleDatabaseImpl.java:247)
         at oracle.javatools.db.ora.OracleDatabaseImpl.reconnected(OracleDatabaseImpl.java:119)
         at oracle.javatools.db.ddl.DDLDatabase.<init>(DDLDatabase.java:53)
         at oracle.javatools.db.dictionary.DictionaryDatabase.<init>(DictionaryDatabase.java:57)
         at oracle.javatools.db.ora.BaseOracleDatabase.<init>(BaseOracleDatabase.java:130)
         at oracle.javatools.db.ora.OracleDatabaseImpl.<init>(OracleDatabaseImpl.java:109)
         at oracle.javatools.db.ora.Oracle8.<init>(Oracle8.java:17)
         at oracle.javatools.db.ora.Oracle8i.<init>(Oracle8i.java:38)
         at oracle.javatools.db.ora.Oracle9i.<init>(Oracle9i.java:181)
         at oracle.javatools.db.ora.Oracle9iR2.<init>(Oracle9iR2.java:41)
         at oracle.javatools.db.ora.Oracle10g.<init>(Oracle10g.java:26)
         at oracle.javatools.db.ora.Oracle10gR2.<init>(Oracle10gR2.java:18)
         at oracle.javatools.db.ora.OracleDatabaseFactory.createDatabaseImpl(OracleDatabaseFactory.java:112)
         at oracle.javatools.db.DatabaseFactory.createDatabaseImpl(DatabaseFactory.java:147)
         at oracle.javatools.db.DatabaseFactory.createDatabase(DatabaseFactory.java:130)
         at oracle.jdeveloper.db.DatabaseConnections.getDatabase(DatabaseConnections.java:637)
         at oracle.jdeveloper.db.DatabaseConnections.getDatabase(DatabaseConnections.java:564)
         at oracle.dbtools.raptor.utils.Connections$ConnectionInfo$ConnectRunnable.doWork(Connections.java:1119)
         at oracle.ide.dialogs.ProgressRunnable.run(ProgressRunnable.java:161)
         at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:631)
         at java.lang.Thread.run(Thread.java:595)
    Any help would be appreciated.

    It has nothing to do with the user and privilige thing.
    I think maybe it is a jdk problem.
    Maybe you can check the jdk version you are using.
    Goog luck.

  • Oracle SQL Developer Screen Flickers - Problem Fixed - JDK 1.6

    I'm using the latest version of Oracle SQL Developer (sqldeveloper- on a Windows XP SP2 system and the application screen constantly flickers. Has anyone else experience this behavior? It's really annoying.
    Message was edited by:

    I'm using the default (non modified) ide.conf.
    # Oracle IDE Configuration File
    # Copyright 2000-2006 Oracle Corporation.
    # All Rights Reserved.
    IncludeConfFile jdk.conf
    AddJavaLibFile ../../ide/lib/ide-boot.jar
    SetMainClass oracle.ide.boot.Launcher
    AddVMOption -Xmx512M
    # Turn off verifications since the included classes are already verified
    # by the compiler. This will reduce startup time significantly. On
    # some Linux Systems, using -Xverify:none will cause a SIGABRT, if you
    # get this, try removing this option.
    AddVMOption -Xverify:none
    # JavaThread options are required to run JDeveloper with Sun Microsystems virtual
    # machine (-client and -server) because of a bug that was causing the VM to run
    # full GCs with realtime thread priorities. The bug is fixed in J2SE 1.5.0_06.
    # See: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5101898 and
    # Oracle bug 4759180 for more info.
    AddVMOption -XX:JavaPriority10_To_OSPriority=10
    AddVMOption -XX:JavaPriority9_To_OSPriority=9
    # On some Windows Terminal Server installations, relocation errors of
    # system DLLs can sometimes occur when using OJVM. Use this option to
    # specify a heap base address for OJVM to resolve this problem. This
    # option only works with OJVM and cannot be used with any HotSpot JVM.
    # AddVMOption -Xheapbase100000000

  • SQL developer script output problem

    when I use sql plus every column is separated while in sql developer is mixed, or coalesced.
    I cannot clearly see the columns in the output.

    I assume you are using the F5 "Run Script" option to execute your queries; in this case the output is produced in a sql plus like text.
    But since not all of the formatting options of sql plus are completely implemented in SQL Developer the output is not guaranteed to be like the one produced by sql plus.
    The easiest thing to do in this case is running your queries with the F9 "Run Statement" this will produce output in an excel like table that can be controlled by right clicking on the table headers and selecting the appropriate auto-fit behavior.

  • Oracle-sql developer database connection problem

    hi all,
    i tried creating a new connection in SQL developer but unable to create.
    i tried with all the combinations such as
    connection name:hr_orcl
    connection tyrpe:basic,Role:default
    hostname:localhost/ip address of my system
    But still it is hsowing as " network adapter could not establish the connection".
    So could anybody please help me in this regard as to how to resolve this issue as I have searched several sites but could not find a solution for this.Waiting for your reply at the earliest
    Rajesh P.

    Microsoft Windows [Version 6.1.7601]
    Copyright (c) 2009 Microsoft Corporation. All rights reserved.
    C:\Users\rajesh>lsnrctl status
    LSNRCTL for 32-bit Windows: Version - Production on 28-DEC-2012 08:21
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Alias LISTENER
    Version TNSLSNR for 32-bit Windows: Version - Produ
    Start Date 28-DEC-2012 08:20:36
    Uptime 0 days 0 hr. 0 min. 31 sec
    Trace Level off
    Security ON: Local OS Authentication
    Default Service XE
    Listener Parameter File C:\oraclexe\app\oracle\product\10.2.0\server\network\a
    Listener Log File C:\oraclexe\app\oracle\product\10.2.0\server\network\l
    Listening Endpoints Summary...
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
    Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully

Maybe you are looking for

  • Create a variant for Purchase register

    Hi, while implementing MM& CIN for my client, created one T.code YDOM ( customized T.code) for purchase register. with YDOM t.code users can see the purchase register reports. but some entries are not showing values. user is asking why some entries n

  • HT4623 How can I get Imessage back on my phone

    How can I get Imessage back on my phone

  • HT201272 Down load previous purchases not listed in "Previous Purchases"

    When I go to my previously purchased items in iTunes store two films which I have purchased do not appear. Can anyone help?

  • Oracle dmp files

    Hi guys, Is there any way of finding out the total number of/last file(s) for an oracle dump set? I have received a number of dump files and I do not know if it is a complete set. Thanks. Edited by: 903078 on Dec 18, 2011 6:49 PM

  • Where is the developer version of SQL 2012

    Hi,  This seems to have been asked a lot but I can't find a definitive answer.   I purchased a copy of SQL2008R2 (Developer) from Amazon a few years ago and I would like to upgrade it to 2012.  Looking on MS sites it appears that there is only; Expre