30EA2 - SQL-Developer 3.0.02 Another Table Data Sort Order Bug

Although the "30EA1 - SQL-Developer 3.0.02 Table Data Sort Order Bug" still exists in 30EA2, there is a new substantial mistake.
How to see it:
Open table1 (Preference "Automatically Freeze Object Viewer Windows" is set). Click data.
Open table2. Click data.
Go back to table1. Click Sort. => You see the columns of table2. The is no way to sort table1, before you close the table2 window (tab).
Edited by: oestreicher1 on 01.12.2010 04:54

Logged Bug 10358797 - ea2: grid sorter shows wrong columns
-Raghu

Similar Messages

  • SQL Developer 3.0.02 & External table

    Hello all,
    I encountered an interesting error while working with SQL Developer. I created external table mapped on data file in csv format. Everything works fine up to moment I double clicked the table header of the first column to make data sorting. Since I am not able to see table data even if the SQL Developer has been restarted.
    In the 'Data Editor - Log' window I can see the text as follows:
    ORA-00600: internal error code, arguments: [rworupo.1], [17], [10], [], [], [], [], []
    When I open SQL view of that table I can see:
    -- Unable to render TABLE DDL for object FSM.COMPANY with DBMS_METADATA attempting internal generator.
    CREATE TABLE COMPANY
    CUSTOMER_PROVIDER_REFID VARCHAR2(50 BYTE)
    , NAME VARCHAR2(50 BYTE)
    , REG_NUMBER VARCHAR2(50 BYTE)
    , VAT VARCHAR2(50 BYTE)
    , ADDRESS_STREET VARCHAR2(100 BYTE)
    , ADDRESS_BUILDING_NO VARCHAR2(20 BYTE)
    , ADDRESS_CITY VARCHAR2(50 BYTE)
    , ADDRESS_POSTCODE VARCHAR2(50 BYTE)
    , ADDRESS_COUNTRY VARCHAR2(50 BYTE)
    ORGANIZATION EXTERNAL
    TYPE ORACLE_LOADER
    DEFAULT DIRECTORY ETL_SOURCE
    ACCESS PARAMETERS
    RECORDS DELIMITED BY '\n'
    badfile ETL_SOURCE:'COMPANY.bad'
    logfile ETL_SOURCE:'COMPANY.log'
    discardfile ETL_SOURCE:'COMPANY.dsc'
    FIELDS TERMINATED BY ";"
    LRTRIM missing field VALUES are NULL
    "CUSTOMER_PROVIDER_REFID",
    "NAME",     
    "REG_NUMBER",     
    "VAT",
    "ADDRESS_STREET",     
    "ADDRESS_BUILDING_NO",     
    "ADDRESS_CITY",     
    "ADDRESS_POSTCODE",     
    "ADDRESS_COUNTRY"
    LOCATION
    ETL_SOURCE: 'Company.csv'
    REJECT LIMIT UNLIMITED
    In the log file for that table there is nothing, what could explain the error.
    Does anybody know how to fix it.
    Thanks for any idea.
    Jiri

    Hello Jiri!
    this is because of SQL Developer does not support "order by" over external tables.
    In general it is not disabled in SQL developer to use it for external tables but due to unknown reason execution of select including "order by" clause over external table generates ORA-00600 error.
    SQL Developer is saving all used "order by", "filter" settings (and many others) to special cache (user specific XML file) and this setting is used next time you open specific object - table.
    It means when you apply "sorting" on external table
    - oracle generates ORA-00600
    - used "order by" is stored by SQL Developer into cahce XML file
    - ...and you cannot open this table from your SQL developer anymore
    How to correct it:
    - go to SQL developer cache folder (something like C:\Documents and Settings\[username]\Application Data\SQL Developer)
    - try to find file "*GridSettings.xml" which contains this bad cache information
    there are usually tons of GridSettings.xml files
    -1134293461GridSettings.xml
    -1134293492GridSettings.xml
    -1134293523GridSettings.xml
    you have to find file which contains your specific extenal table name like...
    <uniqueName>SELECT * FROM "SCHEMANAME"."EXTERNAL_TABLE"</uniqueName>
    - find "sortClauses" tag
    <sortClauses>
    <Item class="java.lang.String">3 asc</Item>
    <Item/>
    </sortClauses>
    - you can now edit/correct content of this file/tag or just delete it completely
    - or you can easily delete complete cache folder - BUT in this case all specific user setting can be deleted!!!
    - then your table is accessible again :-)
    Regards
    Radim

  • 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 - Cannot see list of tables in my connection

    Hi - when I downloaded and started to use the SQL developer tool, once I connected, I could see all of the tables/columns in my connection on the left side of the tool, and I had my query panel, results panel, and SQL history stacked on the right. Suddenly something has changed, and I cannot see the list of tables, etc. in my connection anymore, so I have to rely on memory and SQL history to remember the table and column names. It has to be "hidden" somehow, but view-connections does not help, and trying to click and drag windows doesn't uncover it either.
    Any suggestions?
    Thanks!

    Probably better to ask in the SQL Developer forum here: SQL Developer
    I've been trying the version 2 beta though and it has quite a few bugs in. Table browsing is working fine for me, but all my functions and procedures have disappeared from the tree view. It does odd things with code formatting too.
    I don't think it will be supplanting trusty old command line SQL Plus for me yet any time soon...

  • SQL Developer: Not able to view tables

    I am new to sqldeveloper and oracle products. I've recently installed sqldeveloper onto my pc, i am able to connect to the database but when i try and expand the tables item in the treeview i dont get the tables displayed and the error Warning, unhandled exception:Closed connection is shown in the logging page at the bottom. I have uninstalled the oracle client, jdk but still i keep getting this problem.
    Current versions are
    Operating System= Windows 7 32bit
    SQLDeveloper=3.0.03
    JDK=1.6.0_21
    Oracle Client=11g

    It looks like it may be a privilege issue.
    I ran SQL Developer with 'IncludeConfFile sqldeveloper-debug.conf' in the 'sqldeveloper.conf' file. I got the following log output when I connected to XXAPI (which hangs) and XX (which works)
    For XXAPI, 'oracle.dbtools.db.DBUtil' generates
    Prepared:SELECT object_type type, SYS_CONTEXT('USERENV','CURRENT_SCHEMA') owner, object_name, null column_name, null column_id, null data_type
    FROM user_objects
    WHERE object_type ='TABLE' and object_name not like 'BIN$%' and rownum <=50
    union all
    SELECT object_type type, SYS_CONTEXT('USERENV','CURRENT_SCHEMA') owner, object_name, null column_name, null column_id, null data_type
    FROM user_objects
    WHERE      object_type ='VIEW' and object_name not like 'BIN$%' and rownum <=50
    and the following log message
    oracle.dbtools.raptor.controls.grid.RaptorGridPersistedSettings - Persisted settings for this table could not be loaded
    For XX, 'oracle.dbtools.db.DBUtil' generates
    Prepared:
    select * from (
    SELECT o.OBJECT_NAME, o.OBJECT_ID ,'' short_name, NULL partitioned,
    NULL iot_type,
    o.OWNER OBJECT_OWNER, o.CREATED, o.LAST_DDL_TIME, O.GENERATED, O.TEMPORARY, NULL EXTERNAL
    FROM SYS.ALL_OBJECTS O
    WHERE O.OWNER = :SCHEMA
    AND O.OBJECT_TYPE = 'TABLE'
    union all
    SELECT OBJECT_NAME, OBJECT_ID , syn.SYNONYM_NAME short_NAME, NULL partitioned,
    NULL iot_type,
    SYN.TABLE_OWNER OBJECT_OWNER, o.CREATED, o.LAST_DDL_TIME, O.GENERATED, O.TEMPORARY, NULL EXTERNAL
    FROM SYS.ALL_OBJECTS O, sys.user_synonyms syn
    WHERE syn.table_owner = o.owner
    and syn.TABLE_NAME = o.object_NAME
    and o.object_type = 'TABLE'
    and :INCLUDE_SYNS = 1
    WHERE /**/OBJECT_NAME NOT IN (SELECT OBJECT_NAME FROM RECYCLEBIN)
    AND not object_name like 'BIN$%'
    which works
    -----

  • Why am I getting this error message in SQL Developer-ORA-01735: invalid ALTER TABLE OPTION?

    To Whom it may Concern,
    I am attempting to add two columns Comm_id and Ben_id to a table in SQL Developer (Oracle).
    Here is the syntax I am using:
    ALTER TABLE ACCTMANAGER
    ADD (Comm_id NUMBER(10)),
    Ben_id VARCHAR(2);
    The spool file I'm getting as a result of the script above:
    Error starting at line 1 in command:
    ALTER TABLE ACCTMANAGER
    ADD (Comm_id NUMBER(10)),
    Ben_id VARCHAR(2)
    Error report:
    SQL Error: ORA-01735: invalid ALTER TABLE option
    01735. 00000 -  "invalid ALTER TABLE option"
    *Cause:   
    *Action:
    DESC acctmanager
    Thank you in advance.

    4b60e01f-2ea5-40fe-a161-fc12d38d09e5 wrote:
    To Whom it may Concern,
    I am attempting to add two columns Comm_id and Ben_id to a table in SQL Developer (Oracle).
    Here is the syntax I am using:
    ALTER TABLE ACCTMANAGER
    ADD (Comm_id NUMBER(10)),
    Ben_id VARCHAR(2);
    The spool file I'm getting as a result of the script above:
    Error starting at line 1 in command:
    ALTER TABLE ACCTMANAGER
    ADD (Comm_id NUMBER(10)),
    Ben_id VARCHAR(2)
    Error report:
    SQL Error: ORA-01735: invalid ALTER TABLE option
    01735. 00000 -  "invalid ALTER TABLE option"
    *Cause:  
    *Action:
    DESC acctmanager
    Thank you in advance.
    try as below instead
    ALTER TABLE ACCTMANAGER
    ADD (Comm_id NUMBER(10), Ben_id VARCHAR(2));

  • Import bug (fatal error): SQL Developer 4.1EA2 drops destination table upon rollback after error

    I created a table in the worksheet and then I tried to import data into is using SQL Developer EA2. After error is raised, I was presented with the error on the screenshot below. (Note: Rightmost button stands for "Cancel") By choosing cancel (i.e. Click cancel to cancel and rollback.) my destination table is dropped to recycle bin. Rollback should not undo any DDL even when the table was created using the import wizard. But purging a table that was not created by the import wizard is a fatal error.
    Steps to reproduce:
    create the destination table from worksheet and check if it was created:
    column table_name format a21
    create table test_imp_rollback_bug(dummy number(2));
    insert into test_imp_rollback_bug values (-1);
    commit;
    select table_name from user_tables where table_name='TEST_IMP_ROLLBACK_BUG';
    --Result:
    TABLE_NAME
    TEST_IMP_ROLLBACK_BUG
    import CSV using the import settings attached, To achieve this, utilize the new Restore state of the SQL Developer's import wizard. Note: you might need to adjust schema of the destination table.
    test_imp_rollback_bug_numbers.csv
    test_imp_rollback_bug-import_settings.sdimp
    Upon "Insert failed for rows  1  through  50 " message presented, click Cancel.
    The table does not exists any more:
    select table_name from user_tables where table_name='TEST_IMP_ROLLBACK_BUG';
    --Result:
    no rows selected
    Edit (jmarton, 2015-04-26):
    Software versions used:
    SQL Developer version: 4.1.0.18.37
    Oracle JDK: 1.8.0_31, 64bit, Linux
    Instant client: linux.x64-12.1.0.2.0
    Database: 12cR1 12.1.0.2.0 64bit, Linux, EE, CDB-install

    select table_name from user_tables where table_name='TEST_IMP_ROLLBACK_BUG'; 
    --Result: 
    no rows selected
    >>Note: you might need to adjust schema of the destination table.
    A rollback won't drop a table. Are you sure the tale isn't there? select from dba_tables or all_tables, assuming you had to change the destination schema as indicated in your test notes.

  • SQL Developer tool sometimes does not display data with date type

    run the following query using the sql developer tool -
    select effective_date from table1 where id = 123;
    (the effective_date is stored in the database as date.)
    one record is returned with no date in the filed.
    However, if I change the query to
    select to_char(effective_date, 'mm/dd/yyyy') from table1 where id = 123;
    one record is returned with effective date.
    Why?
    Thanks for your help.

    First off, there is a dedicated SQL Developer forum where lots of the developers hang out. Those folks are way more knowledgable that we are about the tool.
    That said, I have no problem displaying dates. Do you just have a problem with this particular query/ field/ table? Or does it affect all dates? What version of SQL Developer are you using? 1.1 is out now.
    Justin

  • SQL Developer Cart Deployment Losing Time on Date Columns

    I tried using the SQL Developer cart feature to migrate from AWS to Oracle Cloud and I found that the time element of any date attributes is not migrated. I checked the deployment file contents and found that both the SQL*Loader control file and the data file (ldr) do not account for any time information in a date table attribute.
    Any one run into this issue and know how to get SQL Developer to pick up the time when it pulls date attribute values?

    Hi,
    There is no special preference controlling the date format in Database | Utilities | Cart, so the behavior either must be automatic or dependent on the NLS setting.
    You might check if Tools | Preferences | Database | NLS | Date Format already contains a time format component. If the Cart deploy of dates does not work even with the correct NLS format, then this may need to be bugged. Perhaps an improvement has already been made for the next release. Please let us know. I will ping the developer on this.
    Regards,
    Gary
    SQL Developer Team

  • 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

  • SQL Developer 3.0 Final Available with Data MIner

    A new SQL Developer extension, Oracle Data Miner is the graphical user interface for Oracle Data Mining, an option to the Oracle Database Enterprise Edition. Oracle Data Mining provides in-database functionality that enables users to discover patterns and relationships hidden in their data to predict customer behavior, identify key factors, find new clusters and their profiles, anticipate and combat churn, detect anomalous behavior and solve a wide range of data-driven problems. For more information, visit Oracle Data Miner on OTN http://www.oracle.com/technetwork/database/options/odm/index.html

    Hi Mikka,
    Only simple PL/SQL Records are currently supported i.e. those that do not contain repeating or optional components and where all the components are themselves supported. This restriction is in place due to the fact that we use JDBC as the parameter passing mechanism which does not directly support the PL/SQL Record type.
    ANYTYPE and ANYDATA are not currently supported as they have a dynamic value type and therefore must be programmatically set. In the future, it may be possible to support these through the dynamic value and and validation features.
    This will remain so for the final version.
    Regards,
    Richard

  • SQL Developer 3.0 error message on Data mining feature

    Hello,
    I have installed the 3.0 Oracle SQL Developer and am now getting the following error when I attempt to connect to an existing database connection:
    Connection Error - Oracle XMLDB and Text Features are not installed.
    Please install the Oracle XMLDB adn Text features, or see your database administrator for assistance.
    We are on Oracle 11.2.0.1 with windows env.
    I have installed this new released SQL dev 3.0 for data mining purpose, but I am not sure whether we need a licence for this or it is free.
    Does anyone have any idea please share with me.
    Thanks for your assistance.
    Regards.

    This post can help you:
    Connection Error - Oracle XMLDB and Text Features are not installed.
    sql developer is free, not licence needed.

  • Will SQL Developer always be free? Evidently Data Modeling extension won't.

    After learning the Data Modeling extension to SQL Developer was actually a for-pay product (only the Early Adopter release is free, evidently), I now wonder:
    Will SQL Developer always be free, or is there a chance it will be converted into a for-pay product? I don't want to invest any more time learning the tool if there will be future license fees to pay.
    I was sad to learn Data Modeling won't be free. Not knowing how much it might cost, I don't want to invest any time at all playing with it.
    Thanks.
    Dana

    Thanks K. Hope to learn more about the Data Modeling extension pricing--not that I'll be able to afford it. Too bad--I see Oracle going in a great direction with SQL Developer being free. It's a shame Data Modeling won't be. Right now, I am stuck using Enterprise Architect--and that's very limited for database design. Evidently it can be modified to do a lot more, but I don't have the skills or time to turn it into something it should do out of the box.
    What other free data modeling tools are out there? I liked Druid III, but that doesn't seem to be under active development. There's an Open Source tool called Power Architect, but it was rather buggy the last time I evaluted it:
    http://www.sqlpower.ca/page/architect
    Maybe it has improved since then (about a year ago).

  • Seeking simple example pl/sql to create text file from table data

    hello,
    I am hoping someone can provide very simple example of creating a file on my local harddrive using a pl/sql program. The basic steps are as follows:
    First, I store some text in a varchar2 variable like this:
    1. select sometext into otextvar from mytable where recordid = 1;
    Second, I want this text to become a file in my data directory:
    2. c:\data\sometext.txt
    The second step is where I need help.
    Any suggestions are greatly appreciated.

    Use this function
    It will create for you a file in your /home/oracle directory with sysdate name and will insert all table names in it
    CREATE OR REPLACE PROCEDURE my_proc AS
    CURSOR cursor1 IS
    SELECT table_name from all_tables;
    CURSOR cursor2 IS
    SELECT sysdate from dual;
    rec1 cursor1%ROWTYPE;
    rec2 cursor2%ROWTYPE;
    created_file_name VARCHAR2(100);
    file_name utl_file.file_type;
    BEGIN
    OPEN cursor2;
    LOOP
    FETCH cursor2 INTO rec2;
    EXIT WHEN cursor2%NOTFOUND;
    created_file_name:=rec2.sysdate;
    file_name := utl_file.fopen('/home/oracle', created_file_name,'W');
    OPEN cursor1;
    LOOP
    FETCH cursor1 INTO rec1;
    EXIT WHEN cursor1%NOTFOUND;
    utl_file.putf(file_name, '%s\n',rec1.TABLE_NAME);
    END LOOP;
    utl_file.fclose(file_name);
    END LOOP;
    END my_proc;
    SQL>exec my_proc;

  • Write SQL query to transform into Pivot table data

    Hi Guru,
    How to write sql to transform this data
    DATADATE     EQPID     SUCCESS_RATE
    2007-06-01     AA-01     89.796
    2007-06-01     AA-02     89.655
    2007-06-01     AA-03     92.683
    2007-06-01     AA-04     96.61
    2007-06-02     AA-01     80.645
    2007-06-02     AA-02     87.5
    2007-06-02     AA-03     95.556
    2007-06-02     AA-04     98.551
    To the below table:
    DATADATE     AA-01     AA-02     AA-03     AA-04
    2007-06-01     89.796     89.655     92.683     96.61
    2007-06-02     80.645     87.5     95.556     98.551
    Grand Total     170.441     177.155     188.239     195.161
    Thank you.
    Regards,
    Kelly

    like this?
    SQL> with t as (
      2    select '2007-06-01' DATADATE, 'AA-01' EQPID, 89.796 SUCCESS_RATE from dual union all
      3    select '2007-06-01', 'AA-02', 89.655 from dual union all
      4    select '2007-06-01', 'AA-03', 92.683 from dual union all
      5    select '2007-06-01', 'AA-04', 96.61 from dual union all
      6    select '2007-06-02', 'AA-01', 80.645 from dual union all
      7    select '2007-06-02', 'AA-02', 87.5 from dual union all
      8    select '2007-06-02', 'AA-03', 95.556 from dual union all
      9    select '2007-06-02', 'AA-04', 98.551 from dual
    10  )
    11  select datadate
    12       , sum(decode(rn,1,success_rate,0)) "AA-01"
    13       , sum(decode(rn,2,success_rate,0)) "AA-02"
    14       , sum(decode(rn,3,success_rate,0)) "AA-03"
    15       , sum(decode(rn,4,success_rate,0)) "AA-04"
    16  from (
    17    select t.*, row_number() over(partition by datadate order by eqpid) rn from t )
    18  group by rollup(datadate);
    DATADATE        AA-01      AA-02      AA-03      AA-04
    2007-06-01     89.796     89.655     92.683      96.61
    2007-06-02     80.645       87.5     95.556     98.551
                  170.441    177.155    188.239    195.161NH

Maybe you are looking for