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

Similar Messages

  • Can I use Oracle SQL Developer to "Move" data?

    Hello,
    I'm new to Oracle and I'm trying to use Oracle SQL Developer to export data from one table (on server A) to another table (on sever B). I'm able to create a .ldr file but I don't know how to use the .ldr file in Oracle SQL Developer? I would appreciate any help you can provide.
    Thanks!

    Hi,
    The name of tables are different ?
    If I understood then try this below:
    e.g:
    C:\> exp user/password@connectionA file=maytable.dmp tables=SAFETYADMIN_TBL_0022_43
    C:\> imp user/password@connectionB file=mytable.dmp full=y
    After this import, then you can:
    [pre]
    C:\>sqlplus user/password@connectionB
    SQL> insert into SAFETYUSER_TBL_0022_44
         select * from SAFETYADMIN_TBL_0022_43;
    SQL> drop table SAFETYADMIN_TBL_0022_43;Feedback if this is not that you want.
    Cheers

  • Newbie blues: Oracle Sql Developer showing different data from Sqlplus.

    Newbie blues: Oracle Sql Developer showing different data from Sqlplus.
    First of all; it would be difficult to know less about Oracle than myself.
    I just installed a recent copy of the server and am running SQl Developer 3.2.20.10.
    I made a small test table , borrowed some pl sql code to add rows, then wrote code to delete some rows. Lots of fun.
    In SQL Developer “Select * from t1;” now shows 7 records, which seems right.
    I wanted other views of the data and so logged in from the command line using SQLPlus.
    The same code here shows the table prior to the delete, with 600 plus rows. Needless to say I’ve logged out and back in again, with no changes.
    No fun ! What am I not understanding here ?

    5e33d18c-3b32-48d4-82a7-676feeaa97c9 wrote:
    Newbie blues: Oracle Sql Developer showing different data from Sqlplus.
    First of all; it would be difficult to know less about Oracle than myself.
    I just installed a recent copy of the server and am running SQl Developer 3.2.20.10.
    I made a small test table , borrowed some pl sql code to add rows, then wrote code to delete some rows. Lots of fun.
    In SQL Developer “Select * from t1;” now shows 7 records, which seems right.
    I wanted other views of the data and so logged in from the command line using SQLPlus.
    The same code here shows the table prior to the delete, with 600 plus rows. Needless to say I’ve logged out and back in again, with no changes.
    No fun ! What am I not understanding here ?
    Others sessions never see uncommitted data
    > then wrote code to delete some rows. Lots of fun.
    did you ever actually issue COMMIT so other session can see the changed data?

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

  • Accessing MySQL InnoDB tables via JDBC using Oracle SQL Developer

    I had posted a problem in the Oracle SQL Developer forum with how that application (v1.1) accesses MySQL InnoDB tables and someone replied that the "[data migration] team created the integration with MySQL", so I am posting here in hopes of learning more about the problem.
    Here's a summary:
    When I use Oracle SQL Developer to query MySQL InnoDB tables, I need to issue a "commit" before I do each query to ensure that I am getting current results. Otherwise, it appears to be using a snapshot as-of the last commit. Is this a problem with SQL Developer, or a JDBC configuration, or MySQL problem even?
    The full details are here:
    Re: MySQL InnoDB tables

    Hi,
    I've posted a response to your original thread.
    Regards,
    Dermot.

  • How to print a something in oracle sql developer

    Hello all
    Do you know How to print a something in oracle sql developer? i mean for example in the query we write something, (offcourse i dont mean comments)
    thank u in advance.
    best

    1003209 wrote:
    Hello all
    Do you know How to print a something in oracle sql developer? i mean for example in the query we write something, (offcourse i dont mean comments)
    thank u in advance.
    bestDBMS_OUTPUT()

  • How to open a package body in Oracle sql developer

    How to open a package body in Oracle sql developer..any shortcut for that

    I need another way to get to my package body. I'm on a locked down system, so the only way I can reference anything is if I already know the name of it. I accidentally overwrote my text document that I was using to work on it and I closed out of the package body in sqldeveloper. There must be a command, like an alter or some such. Anyone know the old fashioned way of looking at a package?

  • PLSQL Developer 与 Oracle SQL Developer 哪个更好?

    一直都是使用 PLSQL Developer 做一些开发, 想知道它与 Oracle SQL Developer 有什么不一样, 哪个更好用?

    我想对于这两个产品,哪个更好众说纷纭。我觉得各自有各自的优缺点。当然相对于PLSQL Developer 来说Oracle SQL Developer 的最大优点之一就是它的免费吧,当然它的很多细节上的功能还没有那么丰富。^_^
    你可以通过以下链接下载 Oracle SQL Developer
    http://www.oracle.com/technology/software/products/sql/index.html
    We’ve given up all of our licenses for other tools. We simply don’t need them anymore. Oracle SQL Developer does it all for us. We’ve saved a lot of money because it’s free. It’s also given our development staff a standard tool and they love it. It’s made training and support easier.
    以上是一个使用者的评论,你可以在下边的地址找到。
    http://www.oracle.com/technology/products/database/sql_developer/index.html

  • 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

  • Import of ERwinR8 data models into Oracle SQL Developer Data Modeler

    Hi!  My site want to move off ERwin R8 and use Oracle SQL Developer Data Modeler.  When will Oracle SQL Developer Data Modeler support the import of ERwin R8data model xml?
    Thanks very much,  Patty

    Hi,
    You can add the classic SCOTT schema with EMP/DEPT tables to a 10g Express Edition DB by running this script as SYSTEM:
    C:\oraclexe\app\oracle\product\10.2.0\server\RDBMS\ADMIN\scott.sql
    Also, you may wish to upgrade to the current version of SQL Developer:
    http://www.oracle.com/technetwork/developer-tools/sql-developer/downloads/index.html
    As for importing a .dmp file, you import it to the database, not SQL Developer. Please post that question to the appropriate forum.
    Regards,
    Gary Graham
    SQL Developer Team

  • Table API Extension for Oracle SQL Developer

    I just created small project [Table API Generator for Oracle|http://code.google.com/p/tapig/].
    Idea is to only maintain tables and generate table API (TAPI) packages for data manipulation.
    Generated:
    - insert, update, delete, querying procedures
    - documentation based on table columns comments
    Do you think it will be useful to have custom Table API Generator as extension for Oracle SQL Developer?

    Never used them myself and quite legacy, but I'm sure there's still a lot of people using them and the basic idea is quite nice.
    This would also qualify perfectly as a User Defined XML Extension for sqldev; little work but big results. Even if you were the only one using it, it would still pay off.
    Have fun,
    K.

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

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

  • Data Transformation Service (DTS) available in Oracle SQL Developer?

    Hi All,
    Sorry to bother you again. Is Data Transformation Service (DTS) available in Oracle SQL Developer? So far I cannot find it. For example, i want merge First Name, Last Name column from Access,excel or cvs to migrate as Full Name in Oracle or Full name in Access,Xls or cvs split into First name & last name column in Oracle. What method or service should I use.
    Regards,
    Tun Tun

    On wikipedia, I see that's a SQL Server component, so I don't think it's possible to use it in any other program.
    But you can always tweak columns through normal queries, and even create a new table based on that, like
    CREATE TABLE Table_New AS
    SELECT First_Name || Last_Name FROM Table_OldHope that helps,
    K.

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

Maybe you are looking for

  • Internal Error -2038 Invoice Creation

    ¡Hi! Help! I explain my problem I've created a vb.net 2005 application. Through DI API (SBO 2005 SP 01, patch level 20). This application, windows forms run, it opens an SBO conection and  starts a timer. Every 5 secconds the timer ticks, it searches

  • Script for extracting multiple pages

    Hi, I'm working with the default "extract pages" script: http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/JS_API_A croJS.88.465.html I want to modify it to extract 2 pages at a time.  For example, say I start with a 6-page document.  I w

  • Mavericks mail can't send mail from the correct account

    I have 5 mail account(index 1,2,3,4,5) in my mail app. the default account is account 1. After I new a mail and change the sender account to another account(not default account), the mail receiver always receive this mail from my default account addr

  • Oracle, Help!

    Hi, I am new member and I am new in Oracle. I have to connect to the oracle server thru VPN. I don't have problem in connecting thru VPN. My problem is in MsAccess ODBC, when i test the connection i have return error; Unable to connect SQLState-08004

  • Why does iTunes randomly change my album cover art?

    For some reason (usually after I sync my iphone 5s to my laptop), iTunes (or the phone) will switch out random album cover art. Why is this happening? Is it a bug? It's driving me crazy!