BUG: SQL Developer 1.5.3 CSV export column order broken

There's a bug in the 1.5.3 release of SQL Developer regarding data export. This bug re-orders the column order in the data export to be alphabetically sorted. This produces mangled CSV files if used on a table or a view.
This is a critical bug to me since I need to produce lots of ad-hoc data CSV export files. I'm staying with SQL Developer 1.5.0.53 (53.38) for now as it doesn't have this problem.
This is the same bug as present in Jdeveloper 11.1 as described in my post here: BUG: Jdev 11.1.1.0.0 -- DB table data export column order is not preserved
Quoted from that post:
When I connect to Oracle database, get the table list, right click on the table and select 'Export Data'->csv. The dialog box opens with three tabs: Format, Columns, Where. The column order displayed in both tabs Columns and Where is alphabetic. Because alphabetic ordering re-arranges columns from their initial ordering in the table, this screws up CSV export because columns are not in their intended order. This same problem occurs when I try to export data from views to generate a CSV file with a particular column order.
Please open/check bug report if it's already open.
Thanks!

This happens with all of the export options for tables or views if you right click from the connections tab table list. If I pull it up in the main window and go to the data tab, I can then right click and it will keep the column id order for some of the views and tables. But not all.
I am running 1.5.3 Build Main 5783 on a Windows XP Professional Service Pack 3 platform

Similar Messages

  • BUG: Jdev 11.1.1.0.0 -- DB table data export column order is not preserved

    Hello,
    I've ran into a problem with Jdeveloper 11g, public release, Build JDEVADF_MAIN.BOXER_GENERIC_081002.2127.5156. Oracle IDE version is 11.1.1.0.31.51.56
    When I connect to Oracle database, get the table list, right click on the table and select 'Export Data'->csv. The dialog box opens with three tabs: Format, Columns, Where. The column order displayed in both tabs Columns and Where is alphabetic. Because alphabetic ordering re-arranges columns from their initial ordering in the table, this screws up the export because columns are not in their intended order. This same problem occurs when I try to export data from views to generate a CSV file with a particular column order for our vendor. Since Jdev scrambles the column order I have to rely on SQLdeveloper to generate CSV exports, since SQLdeveloper has the same functionality but it preserves the column order.
    It would be nice if Jdeveloper preserved the column order on export.
    Thanks!

    Update:
    This bug is now also present in the SQL Developer 1.5.3.
    I've posted a bug report on the appropriate forum: BUG: SQL Developer 1.5.3 CSV export column order broken

  • Force SQL Developer 1.5.4 to export data on  1 XLS workSheet

    Hello.
    I'm using SQL Developer 1.5.4 to export data into XLS format.
    The exported file is about 40MB big.
    During the export, I have noticed that SQL Developer splits the data into several worksheets, having about 64,001 rows each.
    Please, is there any way I could force SQL Developer to have all of the data on a singke WorkSheet?
    Thanks.

    I'm just guessing, but I suspect that the 64,000 row limit is so the resulting XLS file can be opened in Excel 2003 or earlier. Excel 2003 has a limit of ~65,536 (2^16) rows in a worksheet. Even if you were to export as a CSV or Text (tab-delimited) file and try loading it into Excel, it would choke and quit once the worksheet limit had been reached.
    Ed. H.

  • SQL Developer 1.5.1 - Database Export - Exporting Column Comments

    I have tried using the Database Export tool in SQL Developer 1.5.1 to export statements for "comment on column" but with no success. Is there a way to get these statements included in the DDL?
    rasberry

    When you select 'table' the comments are generated 'automatically'.
    This is what you want?

  • SQL Developer 3.1.07 SDO_GEOMETRY export insert statements bug

    Export table data with SDO_GEOMETRY column as insert statments not working properly.
    Generated script:
    +...+
    +Insert into EXPORT_TABLE (ID,GEOMETRY) values ('1',[MDSYS.SDO_GEOMETRY]);+
    +Insert into EXPORT_TABLE (ID,GEOMETRY) values ('2',[MDSYS.SDO_GEOMETRY]);+
    +Insert into EXPORT_TABLE (ID,GEOMETRY) values ('3',[MDSYS.SDO_GEOMETRY]);+
    +...+

    As noted by Brian Jeffries (as in, "Will be available in next release") in these two other threads:
    Re: Problem with displaying sdo_geometry objects
    Re: SQL Developer 3.0.04 - SDO_GEOM Issues
    -Gary

  • Bug SQL Developer 3.0.04 Save Package Spec and Body to ips file bug

    Hi.
    I have problem with export package body end header. Exported ips file have some rows switched compared to original source code.
    SQL Developer version: 3.0.04. Build MAIN-04.34
    Error simulation:
    - Click on package header with right mouse button in SQL Developers Connections bar
    - In context menu choose 'Save Package Spec and Body...'
    - Save ips file... (Small bug: Offered file name is wrong (= last saved package/file, not actual name of package) :-( )
    - This file(source code) compare with original source code in Developer and u will see switched rows every +-90. row in source code.
    Can u fix this in next version of SQL Developer?
    Thanks...
    Edited by: 880809 on 22.8.2011 6:57

    Bug 12904494 has been created.
    Michael

  • Bug - SQL Developer 3.0.04 SVN Merge

    Hello.
    I've found a bug when trying to merge files.
    The problem occurred when there is a conflict on file content and an update on properties.
    The SVN plugin prepares merge (diff) files but the GUI shows that the file is MERGED instead of CONFLICTED, and there is no way to enter the resolve conflicts on that file.
    Example log from SVN:
    --- Merging r19952 through r20348 into D:/test_sqlDev_svn/us10591/sql/AAA.sql
    CG D:/test_sqlDev_svn/us10591/sql/AAA.sql
    C -There is a conflict on file content
    G - Properties were merged successfully without conflicts
    If there is a conflict during merge but properties of file have not changed then everything works fine.
    Can you please fix this bug as it causes the usage of SQL Developer SVN features unusable our my environment.
    Kind Regards
    Jacek Gębal
    Edited by: user2242149 on 2011-11-25 07:21
    Edited by: user2242149 on 2011-11-25 07:27

    bump

  • Bug in SQL Developer relating to handling of XMLTYPE columns

    Hi,
    I have found a bug in SQL Developer relating to its handling of XMLTYPE columns.
    Given a table with the following data:
    ID, XML_DATA
    1, <xml here>
    2, <xml here>
    3, <xml here>
    And the following SQL to extract a value from the XML and also an XML fragment as an XMLTYPE:
    SELECT
    EXTRACTVALUE(t.column_value,'/*/USER_ID/text()')user_id
    , t.column_value user_data
    FROM dbuser.mytable m
    , TABLE(XMLSEQUENCE(EXTRACT(m.xml_data, '/*/USER_LIST/USER'))) t
    I get the following:
    user_id, user_data
    jsmith26, (XMLTYPE)
    mjones45, (XMLTYPE)
    sborga31, (XMLTYPE)
    Note that the user_id is correctly extracted, however the XMLTYPE column (user_data) is empty in SQL Developer.
    The same query returns the correct XML data in TOAD.
    Edited by: 1008733 on May 29, 2013 5:07 PM

    Steve,
    So your example is slightly more complex than the one documented for a table in the standard OE schema here:
    http://docs.oracle.com/cd/B19306_01/server.102/b14200/functions052.htm
    That example works fine on an 11.2.0.1 database with SQL Developer 3.2.20.09.87. Please try the following with your case:
    Tools -> Preferences -> Database -> Advanced -> Display Struct Value In Grid (check it off if not already)If that still does not work for Run Statement (query result displayed in the grid, not as script output using Run Script), then please provide a test case based on the Warehouse table in the OE schema (or your case with DDL and DML scripts including the xml data) and I will log a bug.
    Thanks,
    Gary
    SQL Developer Team

  • BUG: SQL Developer 1.5.4 attempting to connect to non-existent local DB.

    For some time now I've been seeing SQL Developer 1.5.4 creating a "sqlnet.log" file in "sqldeveloper\sqldeveloper\bin" every time I used it. I've just done some testing and found that it is trying to connect to an XE instance on "localhost" after I close my last open connection. Here are the contents of the "sqlnet.log" file:
    Fatal NI connect error 12541, connecting to:
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SID=XE)(CID=(PROGRAM=C:\Documents and Settings\ehillma\My Documents\sqldeveloper-154\sqldeveloper\sqldeveloper.exe)(HOST=LMIT-4635)(USER=ehillma))))
    VERSION INFORMATION:
         TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
         Windows NT TCP/IP NT Protocol Adapter for 32-bit Windows: Version 10.2.0.1.0 - Production
    Time: 15-APR-2009 08:58:41
    Tracing not turned on.
    Tns error struct:
    ns main err code: 12541
    TNS-12541: TNS:no listener
    ns secondary err code: 12560
    nt main err code: 511
    TNS-00511: No listener
    nt secondary err code: 61
    nt OS err code: 0
    This is in SQL Developer 1.5.4, Build MAIN-5940, using Java(TM) Platform 1.5.0_17, on Windows XP SP2.
    Ed. H.

    Hi Frank
    This message means that the driver code is unable to locate a DLL to load up and use. Looking at the message I suspect that the DLL in question <jtds-dist>\SSO\ntlmauth.dll .
    There are a couple of ways of making the Java VM locate the DLL, assuming you are using windows then the easiest would be to add the directory <jtds-dist>\SSO to you path environment (replacing <jtds-dist> with the actual path to your JTDS distribution).
    Regards
    Rob Cooper

  • Bug: Sql Developer v1.2.1 (32.13) - Date Field Editor doesn't work properly

    Version: Sql Developer v1.2.1 (32.13)
    OS: Windows XP SP2
    Database: Oracle 10g
    Symptoms:
    I have a table with a DATE field.
    In a record of this field a have a value such as : 12/31/0003 (I know this is a strange date value) but the problem is that if I try to change this value using SqlDeveloper grid editor in 12/31/2003, it seems to not recognize the change without enabling the Commit Button and keeping the 0003 value !

    OK, I'm not understanding you exactly. It's not the formatting that you're having an issue with, but the editor. I have a date for a record that is 17-Feb-2006 and I want it to be 17-Feb-1996, so I invoke the date editor and highlight just the year and make the change. Just type in the new year and say OK. This then causes the Commit button to become available, because we have made a change and then I commit the record.
    The record is committed correctly, with the correct years, regardless of whether I have the formatting as RR, RRRR, YY or YYYY.
    Sue

  • BUG: SQL Developer no longer identifies invalid views version 1.1.3.2766

    I have a sql script which 'CREATE OR REPLACE FORCE VIEW' a view but unlike SQLDeveloper 1.1R2 which I am amending in a third party editor and loading via sqlplus the view is created with "Warning: View created with compilation errors."
    In 1.1R2 this would have displayed a view icon with a red cross in the navigator bar. This is no longer the case. All views appear to be valid.
    Regards
    Kris

    It appears that SQL Developer is not handling the INTERVAL data type when a NULL value is present, e.g: -
    This works OK:
    SELECT CAST('-0 0:0:0.400000000' AS INTERVAL DAY(3) TO SECOND(0))
    FROM dual;
    This does not:
    SELECT CAST(NULL AS INTERVAL DAY(3) TO SECOND(0))
    FROM dual;
    As a work around you can simply TO_CHAR the column:
    SELECT source,
    destination,
    comments,
    flags,
    owner,
    job_name,
    job_creator,
    client_id,
    global_uid,
    program_owner,
    program_name,
    job_type,
    job_action,
    number_of_arguments,
    schedule_owner,
    schedule_name,
    start_date,
    repeat_interval,
    end_date,
    job_class,
    enabled,
    auto_drop,
    restartable,
    state,
    job_priority,
    run_count,
    max_runs,
    failure_count,
    max_failures,
    retry_count,
    last_start_date,
    TO_CHAR(last_run_duration),
    next_run_date,
    TO_CHAR(schedule_limit),
    TO_CHAR(max_run_duration),
    logging_level,
    stop_on_window_close,
    instance_stickiness,
    system,
    job_weight,
    nls_env
    FROM dba_scheduler_jobs a;
    Thanks
    Kelvin
    Edited by: Kelvin Hibberd on 05-Feb-2010 06:32

  • SQL Developer 2.1.0.63 - Export Data menu missing for SQL Server databases

    Hi
    The Export Data menu only appears for Oracle databases in this version, it does not appear for SQL server databases.
    To demonstrate:
    Press F9 to run query
    Right click on Query Result data
    For Oracle an Export Data sub menu appears
    For SQL server no Export Data sub menu appears
    This worked in previous versions.
    Is this functionality going to reappear?
    Thanks
    Dave

    Hi,
    Looks like this is exactly the same problem for third party connections as I have the exact same issue for mySQL.
    I had to apply 1.5.5 version to fix it.
    Hope we're going to have this solved !
    Thanks,
    JP

  • Sql Developer Data Modeler 3.0 EA1: Process order/number

    When opening my version 2.0 model in version 3.0 EA1, the process numbers are as I originally saved them.
    After saving the model as a version 3.0 model (using "Save as..."), when I reopen that version all processes have been reordered on all levels of my model (about 300 processes).
    Actually, it looks like 1 becomes 4, 1.1 becomes 4.4, 1.1.1 becomes 4.4.4 etc...
    Strange behavior. Is there any way to avoid this?
    /Marc de Oliveira

    Hi Mark,
    thanks for feedback. I logged bug for that.
    Is there any way to avoid this?No for EA1 release.
    Philip

  • SQL Developer 3.1.07.42 existing column filter no longer editable

    LO developers,
    I have noticed a change in behaviour (I would not call it a regression ;o) ) since v3.1 prod release.
    Until 3.1.07.42, when you add a column filter on a table or query resultset, you could edit the filter later. Since 3.1.07.42, it is no longer possible: one has to remove the filter first and then enter a new one.
    Is this the intended behaviour? I preferred the previous one.
    Have a nice day,
    Olivier.

    Unfortunately. Here is another forum thread referencing this issue, including the bug number:
    Another bug introduced in production release - table filter
    -Gary

  • How to import/export data in pl/sql developer

    how to import/export data,table script in pl/sql developer.
    By using the export functionality i am getting the dump file.I want a sql file.How do i do it?
    And i want the data in csv file and table script in a sep sql file.How do i do it?

    <li>run your query in "Query Builder"
    <li>Right-Click on the Query-Results
    <li>Click "Export"
    <li>Click on the "Drop-Down" in front of "Format" and choose "insert"
    <li>Provide the location and name of ther "sql" file.
    If you want output in CSV format, choose "csv" from the "format" drop-down.
    HTH

Maybe you are looking for

  • Capturing 720p to mac from JVC GY-111

    Hey I have been working with a JVC GY-111 camera and FCP5. When I go to capture the footage I have the problem of the camera being recognised etc. etc. and I have been using DVHScap to capture it and then Mpeg streamclip to bring it into FCP as a qui

  • Field details of available balance in J2IUN

    dear all, In  J2IUN utilization transaction the column of available balaces are from either RG23 BALANCE and PLA. but can anybody reply how and from which tables the values are picked and calculated for the available balance field. Regards, Vimlesh

  • Signatures not appearing

    We have documents that require signatures when complete.  Recently we ran into an instance where it appeared on one pc that the document was not signed, but when viewed on another pc the signature was there.  All machines are running Acrobat Standard

  • CSS Output Message Types

    We're syndicating spec data to an internal web service via CSS under 6.1. Specs are syndicated twice per GSM workflow to the same system, first as a "create" and then as an "update". So far in testing we haven't seen anything other than ADD types bei

  • College Student Deal Never Received

    Hi, I registered my .edu e-mail for the college student deal about 6 hours ago, and after the website "accepted" my address, I never received further correspondence with the coupon codes that were promised in the initial e-mail. I also just spoke to