Sql developer columns autocomplete

I have sql server 3.20.I create a table with 4-5 columns.When i typed : "insert into mytable(column1,column2,...)" the autocomplete works only for 2 colums after that to the third column even if i write the first letters for my cloumn and the press "ctrl+space" it does not show(or complete) my column.How do i resolve this problem?

Dates work fine for me.
What value do you get for your NLS_DATE_FORMAT parameter with the following query:
select parameter, value from nls_session_parameters where parameter = 'NLS_DATE_FORMAT';
You can change the NLS_DATE_FORMAT as in the following example:
alter session set nls_date_format = 'DD-Mon-YYYY';
Also, the column in the dual table is not actually in date format - try "select sysdate from dual;" instead.

Similar Messages

  • Newbie in SQL Developer: misc questions

    Hello,
    I´m new to SQL Developer, always worked with Quest´s SQL Navigator before.
    1.)
    I have a file.sql with following instructions:
    begin
    package_1.variable_1:='T';
    package_2.procedure_1;
    package_2.procedure_2;
    package_2.procedure_3;
    end;
    In Quest SQLNavigator I started this with "Run (F9".
    In SQL Developer this will not start, always telling me error, invalid numbers or some other sh*t, but nothing changed within the packages or procedures.
    With SQLNavigator everything works fine.
    2.)
    In SQLNavigator with "Quick Browse" I get the sql for a table, for example
    select a.col1, a.col2, a.col3, ...
    from quickbrowsedtable a
    How can I get this in SQL Developer ?
    3.)
    When extracting DDL in SQL Developer columns and table names are in double quotes. Can I change
    this to have no quotes at all ?
    Thank you very much for your help,
    greets,
    Frank
    Edited by: 968906 on 05.11.2012 04:49

    1 - use F5 in the worksheet to run your anon block
    2 - drag the table to the worksheet, and select 'Select'
    3 - not today

  • How to show Primary_key in Column Tab - Oracle SQL Developer 2.1.1.64

    How to show Primary_key in Column Tab or It bug? i can not see. thank you for answer.

    This was removed for performance reasons, but a lot of us asked for it to go back in.
    Don't know if it is currently planned, so better request this at the SQL Developer Exchange, so other users can vote and add weight for possible sooner implementation.
    Regards,
    K.

  • Oracle SQL Developer 1.5.5 Unable to save data in nvarchar2 column

    If I change the contents of a column in a table with Data Editor i get this when trying to save change:
    UPDATE "ADMIN"."T_AZIENDA" SET DESCRIZIONE = 'PIPPO' WHERE ROWID = 'AAAMrpAAEAAAI0XAAA' AND ORA_ROWSCN = '556217'
    One error saving changes to table "ADMIN"."T_AZIENDA":
    no other error is shown.
    If i copy & paste and run the same update from SQL Worksheet i get no error (1 rows updated).
    I have no problem to update other column type (date, number) but only with type NVARCHAR2.
    With SQL Developer 1.5.4 Build-5940 i have no problem.

    Also with SQL Developer 2.1 EA1 i have no problem.
    Thanks.

  • SQL Developer Data Modeler  "Reports"  Duplicate Columns in Index- Bug

    I am using SQL Data Modeler of SQL Developer - 3.2.20.09
    Problem Description:
    In the "Indexes" section of report generated for a table, column appear twice.
    Steps to Reproduce:
    1. Create an Entity in Modeler: COMPANY, Add attributes COMP_ID and COMP_DESC to it, mark COMP_ID as PK
    2. Engineer it to Relational Model
    3. Go to 'File->Data Modeler->Reports'
    4. Select 'Available reports' = 'Table' and press 'Generate Report'
    5. View the report.
    Indexes shown for the table contains duplicate columns for COMP_ID
    Regards,

    Hi
    I've just tested with SQL Developer 3.2.20.09 and built in Data Modeler 3.1.4.710 with Data Modeler reports 11.2.0.09.87
    There is no duplicate columns for COMP_ID in the report.
    What are your versions? You can check them from Tools->Preferences->Extensions

  • SQL Developer table editor does not show anything (no columns, no data,...)

    Hi, I upgraded SQL developer yesterday to the latest version. Now I don't see anything any more in the datagrid, columns, constraints, etc ...
    Connection is OK, in the explorer (to the left) I see tables and columns, in the datagrid (table properties) I don't see anything.
    Here is the contents of the about box
    Many thanks
    About
    Oracle SQL Developer 2.1.1.64
    Version 2.1.1.64
    Build MAIN-64.45
    Copyright © 2005,2009 Oracle. All Rights Reserved.
    IDE Version: 11.1.1.2.36.55.30
    Product ID: oracle.sqldeveloper
    Product Version: 11.1.1.64.45
    Version
    Component     Version
    =========     =======
    Java(TM) Platform     1.6.0_20
    Oracle IDE     2.1.1.64.45
    Versioning Support     2.1.1.64.45
    Properties
    Name     Value
    ====     =====
    awt.toolkit     sun.awt.windows.WToolkit
    class.load.environment     oracle.ide.boot.IdeClassLoadEnvironment
    class.load.log.level     CONFIG
    class.transfer     delegate
    file.encoding     Cp1252
    file.encoding.pkg     sun.io
    file.separator     \
    ice.browser.forcegc     false
    ice.pilots.html4.ignoreNonGenericFonts     true
    ice.pilots.html4.tileOptThreshold     0
    ide.AssertTracingDisabled     true
    ide.bootstrap.start     8627304444140
    ide.build     MAIN-64.45
    ide.conf     C:\sqldeveloper\sqldeveloper\bin\sqldeveloper.conf
    ide.config_pathname     C:\sqldeveloper\sqldeveloper\bin\sqldeveloper.conf
    ide.debugbuild     false
    ide.devbuild     false
    ide.extension.search.path     sqldeveloper/extensions:jdev/extensions:ide/extensions
    ide.firstrun     true
    ide.java.minversion     1.6.0_04
    ide.launcherProcessId     5928
    ide.main.class     oracle.ide.boot.IdeLauncher
    ide.patches.dir     ide/lib/patches
    ide.pref.dir     C:\Users\johkene\AppData\Roaming\SQL Developer
    ide.pref.dir.base     C:\Users\johkene\AppData\Roaming
    ide.product     oracle.sqldeveloper
    ide.shell.enableFileTypeAssociation     C:\sqldeveloper\sqldeveloper.exe
    ide.splash.screen     splash.gif
    ide.startingArg0     C:\sqldeveloper\sqldeveloper.exe
    ide.startingcwd     C:\sqldeveloper
    ide.user.dir     C:\Users\johkene\AppData\Roaming\SQL Developer
    ide.user.dir.var     IDE_USER_DIR
    ide.work.dir     C:\Users\johkene\Documents\SQL Developer
    ide.work.dir.base     C:\Users\johkene\Documents
    java.awt.graphicsenv     sun.awt.Win32GraphicsEnvironment
    java.awt.printerjob     sun.awt.windows.WPrinterJob
    java.class.path     ..\..\ide\lib\ide-boot.jar
    java.class.version     50.0
    java.endorsed.dirs     C:\Program Files\Java\jdk1.6.0_20\jre\lib\endorsed
    java.ext.dirs     C:\Program Files\Java\jdk1.6.0_20\jre\lib\ext;C:\Windows\Sun\Java\lib\ext
    java.home     C:\Program Files\Java\jdk1.6.0_20\jre
    java.io.tmpdir     C:\Users\johkene\AppData\Local\Temp\
    java.library.path     C:\sqldeveloper;.;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\oraclexe\app\oracle\product\10.2.0\server\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files\NTRU Cryptosystems\NTRU TCG Software Stack\bin\;C:\Program Files\Wave Systems Corp\Gemalto\Access Client\v5\;C:\Program Files\Gemplus\GemSafe Libraries\BIN;C:\Program Files\Common Files\Roxio Shared\DLLShared\;C:\Program Files\Common Files\Roxio Shared\9.0\DLLShared\;C:\Sybase\DLL;C:\Sybase\BIN;C:\Program Files\Sybase\Shared\PowerBuilder\;C:\Program Files\Java\jdk1.6.0_12\bin;C:\apache-maven-2.0.10\bin;C:\Program Files\Liquid Technologies\Liquid XML Studio 2009\XmlDataBinder7\Redist7\cpp\win32\bin;C:\PROGRA~1\ATT\Graphviz\bin;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Belgium Identity Card;C:\Program Files\Common Files\Adobe\AGL;C:\Program Files\Research In Motion\BlackBerry Theme Studio 5.0\bin;C:\Program Files\CVSNT\
    java.naming.factory.initial     oracle.javatools.jndi.LocalInitialContextFactory
    java.runtime.name     Java(TM) SE Runtime Environment
    java.runtime.version     1.6.0_20-b02
    java.specification.name     Java Platform API Specification
    java.specification.vendor     Sun Microsystems Inc.
    java.specification.version     1.6
    java.util.logging.config.file     logging.conf
    java.vendor     Sun Microsystems Inc.
    java.vendor.url     http://java.sun.com/
    java.vendor.url.bug     http://java.sun.com/cgi-bin/bugreport.cgi
    java.version     1.6.0_20
    java.vm.info     mixed mode, sharing
    java.vm.name     Java HotSpot(TM) Client VM
    java.vm.specification.name     Java Virtual Machine Specification
    java.vm.specification.vendor     Sun Microsystems Inc.
    java.vm.specification.version     1.0
    java.vm.vendor     Sun Microsystems Inc.
    java.vm.version     16.3-b01
    jdbc.library     /C:/sqldeveloper/jdbc/lib/ojdbc5.jar
    line.separator     \r\n
    oracle.home     C:\sqldeveloper
    oracle.ide.util.AddinPolicyUtils.OVERRIDE_FLAG     true
    oracle.jdbc.Trace     true
    oracle.translated.locales     de,es,fr,it,ja,ko,pt_BR,zh_CN,zh_TW
    oracle.xdkjava.compatibility.version     9.0.4
    orai18n.library     /C:/sqldeveloper/jlib/orai18n.jar
    os.arch     x86
    os.name     Windows Vista
    os.version     6.0
    path.separator     ;
    reserved_filenames     con,aux,prn,lpt1,lpt2,lpt3,lpt4,lpt5,lpt6,lpt7,lpt8,lpt9,com1,com2,com3,com4,com5,com6,com7,com8,com9,conin$,conout,conout$
    sqldev.debug     false
    sun.arch.data.model     32
    sun.boot.class.path     C:\Program Files\Java\jdk1.6.0_20\jre\lib\resources.jar;C:\Program Files\Java\jdk1.6.0_20\jre\lib\rt.jar;C:\Program Files\Java\jdk1.6.0_20\jre\lib\sunrsasign.jar;C:\Program Files\Java\jdk1.6.0_20\jre\lib\jsse.jar;C:\Program Files\Java\jdk1.6.0_20\jre\lib\jce.jar;C:\Program Files\Java\jdk1.6.0_20\jre\lib\charsets.jar;C:\Program Files\Java\jdk1.6.0_20\jre\classes
    sun.boot.library.path     C:\Program Files\Java\jdk1.6.0_20\jre\bin
    sun.cpu.endian     little
    sun.cpu.isalist     pentium_pro+mmx pentium_pro pentium+mmx pentium i486 i386 i86
    sun.desktop     windows
    sun.io.unicode.encoding     UnicodeLittle
    sun.java2d.ddoffscreen     false
    sun.jnu.encoding     Cp1252
    sun.management.compiler     HotSpot Client Compiler
    sun.os.patch.level     Service Pack 2
    svnkit.sax.useDefault     true
    user.country     BE
    user.dir     C:\sqldeveloper\sqldeveloper\bin
    user.home     C:\Users\johkene
    user.language     nl
    user.name     JOHKENE
    user.timezone     Europe/Paris
    user.variant     
    windows.shell.font.languages     
    Extensions
    Name     Identifier     Version     Status
    ====     ==========     =======     ======
    Check For Updates     oracle.ide.webupdate     11.1.1.2.36.55.30     Loaded
    Code Editor     oracle.ide.ceditor     11.1.1.2.36.55.30     Loaded
    Database Connection Support     oracle.jdeveloper.db.connection     11.1.1.2.36.55.30     Loaded
    Database Object Explorers     oracle.ide.db.explorer     11.1.1.2.36.55.30     Loaded
    Database UI     oracle.ide.db     11.1.1.2.36.55.30     Loaded
    Diff/Merge     oracle.ide.diffmerge     11.1.1.2.36.55.30     Loaded
    Extended IDE Platform     oracle.javacore     11.1.1.2.36.55.30     Loaded
    External Tools     oracle.ide.externaltools     11.1.1.2.36.55.30     Loaded
    File Support     oracle.ide.files     11.1.1.2.36.55.30     Loaded
    File System Navigator     oracle.sqldeveloper.filenavigator     11.1.1.64.45     Loaded
    Help System     oracle.ide.help     11.1.1.2.36.55.30     Loaded
    History Support     oracle.jdeveloper.history     11.1.1.2.36.55.30     Loaded
    Import/Export Support     oracle.ide.importexport     11.1.1.2.36.55.30     Loaded
    Index Migrator support     oracle.ideimpl.indexing-migrator     11.1.1.2.36.55.30     Loaded
    JDeveloper Runner     oracle.jdeveloper.runner     11.1.1.2.36.55.30     Loaded
    Log Window     oracle.ide.log     11.1.1.2.36.55.30     Loaded
    Mac OS X Adapter     oracle.ideimpl.apple     11.1.1.2.36.55.30     Loaded
    Navigator     oracle.ide.navigator     11.1.1.2.36.55.30     Loaded
    Object Gallery     oracle.ide.gallery     11.1.1.2.36.55.30     Loaded
    Object Viewer     oracle.sqldeveloper.oviewer     11.1.1.64.45     Loaded
    Oracle Data Modeler Reports     oracle.sqldeveloper.datamodeler_reports     11.1.1.64.45     Loaded
    Oracle Database Browser     oracle.sqldeveloper.thirdparty.browsers     11.1.1.64.45     Loaded
    Oracle IDE     oracle.ide     11.1.1.2.36.55.30     Loaded
    Oracle SQL Developer     oracle.sqldeveloper     11.1.1.64.45     Loaded
    Oracle SQL Developer Data Modeler Viewer     oracle.datamodeler     2.0.0.584     Loaded
    Oracle SQL Developer Extras     oracle.sqldeveloper.extras     1.1.1.64.45     Loaded
    Oracle SQL Developer Migrations     oracle.sqldeveloper.migration     11.1.1.64.45     Loaded
    Oracle SQL Developer Migrations - Antlr3 Translation Core     oracle.sqldeveloper.migration.translation.core_antlr3     11.1.1.64.45     Loaded
    Oracle SQL Developer Migrations - DB2     oracle.sqldeveloper.migration.db2     11.1.1.64.45     Loaded
    Oracle SQL Developer Migrations - Microsoft Access     oracle.sqldeveloper.migration.msaccess     11.1.1.64.45     Loaded
    Oracle SQL Developer Migrations - MySQL     oracle.sqldeveloper.migration.mysql     11.1.1.64.45     Loaded
    Oracle SQL Developer Migrations - SQLServer     oracle.sqldeveloper.migration.sqlserver     11.1.1.64.45     Loaded
    Oracle SQL Developer Migrations - Sybase     oracle.sqldeveloper.migration.sybase     11.1.1.64.45     Loaded
    Oracle SQL Developer Migrations - Teradata     oracle.sqldeveloper.migration.teradata     11.1.1.64.45     Loaded
    Oracle SQL Developer Migrations - Translation Core     oracle.sqldeveloper.migration.translation.core     11.1.1.64.45     Loaded
    Oracle SQL Developer Migrations - Translation Db2     oracle.sqldeveloper.migration.translation.db2     11.1.1.64.45     Loaded
    Oracle SQL Developer Migrations - Translation UI     oracle.sqldeveloper.migration.translation.gui     11.1.1.64.45     Loaded
    Oracle SQL Developer Reports     oracle.sqldeveloper.report     11.1.1.64.45     Loaded
    Oracle SQL Developer SearchBar     oracle.sqldeveloper.searchbar     11.1.1.64.45     Loaded
    Oracle SQL Developer TimesTen     oracle.sqldeveloper.timesten     2.0.0.64.45     Loaded
    Oracle SQL Developer Unit Test     oracle.sqldeveloper.unit_test     11.1.1.64.45     Loaded
    Oracle SQL Developer Worksheet     oracle.sqldeveloper.worksheet     11.1.1.64.45     Loaded
    Oracle XML Schema Support     oracle.sqldeveloper.xmlschema     11.1.1.64.45     Loaded
    PROBE Debugger     oracle.jdeveloper.db.debug.probe     11.1.1.2.36.55.30     Loaded
    Peek     oracle.ide.peek     11.1.1.2.36.55.30     Loaded
    Persistent Storage     oracle.ide.persistence     11.1.1.2.36.55.30     Loaded
    QuickDiff     oracle.ide.quickdiff     11.1.1.2.36.55.30     Loaded
    Replace With     oracle.ide.replace     11.1.1.2.36.55.30     Loaded
    Runner     oracle.ide.runner     11.1.1.2.36.55.30     Loaded
    Snippet Window     oracle.sqldeveloper.snippet     11.1.1.64.45     Loaded
    Sql Monitoring Project     oracle.sqldeveloper.sqlmonitor     11.1.1.64.45     Loaded
    Tuning     oracle.sqldeveloper.tuning     11.1.1.64.45     Loaded
    User Extensions Support     oracle.sqldeveloper.userextensions     11.1.1.64.45     Loaded
    VHV     oracle.ide.vhv     11.1.1.2.36.55.30     Loaded
    Versioning Support     oracle.jdeveloper.vcs     11.1.1.2.36.55.30     Loaded
    Versioning Support for Subversion     oracle.jdeveloper.subversion     11.1.1.2.36.55.30     Loaded
    Virtual File System     oracle.ide.vfs     11.1.1.2.36.55.30     Loaded
    Web Browser and Proxy     oracle.ide.webbrowser     11.1.1.2.36.55.30     Loaded
    oracle.ide.indexing     oracle.ide.indexing     11.1.1.2.36.55.30     Loaded

    Yes this was clean directory (I reinstalled twice already). I'm using Oracle Database 10g express edition and also Oracle 10g Standard Edition (same problem for both databases).
    In the messages log I get:
    oracle.dbtools.raptor.oviewer.table.GridDataEditor java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
    ... and then each time I switch table:
    oracle.ide.model.IdeSubject Exception while updating observer[8]: Editor5

  • Invalid column index error in sql developer

    Hi,
    I was trying to create stored procedures, functions and packages in sql developer which is connected to Oracle 11g. My instructor is able to execute all of them without any errors in 10g. However, when I try to execute them, I get- "Invalid column index error". Any suggestions on how to rectify this error?

    Hi,
    That is probably an
    ORA-17003: Invalid column index
    Which is a JDBC error. Is Java/JDBC somehow involved?
    If not, could you please post one of the failing statements?
    Regards
    Peter

  • Oracle SQL Developer 3.2, SQL*Plus COLUMN FORMAT bug

    SQL*Plus command COLUMN truncates output result in SQL Developer.
    Script in Worksheet:
    column nn format 999
    select level nn from dual connect by level<=10;The Run Script (F5) result contains only 8 lines in Script Output window:
    NN
    1
    2
    3
    4
    5
    6
    7
    8
    Changing column alias:
    select level nn2 from dual connect by level<=10NN2
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    10 rows selected
    The output can contain no data for more formatted columns.
    ===============================================================
    About
    Oracle SQL Developer 3.2.09
    Version 3.2.09
    Build MAIN-09.30
    Copyright © 2005, 2012 Oracle. All Rights Reserved.
    IDE Version: 11.1.1.4.37.59.48
    Product ID: oracle.sqldeveloper
    Product Version: 11.2.0.09.30
    Version
    Component     Version
    =========     =======
    Java(TM) Platform     1.7.0_02
    Oracle IDE     3.2.09.30
    Versioning Support     3.2.09.30

    sqldeveloper64-3.2.09.30-no-jre.zip.
    My jdk now is 1.7.07 x64, Windows 7 x64.
    C:\Java\jdk17\bin>java -version
    java version "1.7.0_07"
    Java(TM) SE Runtime Environment (build 1.7.0_07-b11)
    Java HotSpot(TM) 64-Bit Server VM (build 23.3-b01, mixed mode)
    Gary Graham wrote:Also, I don't understand what you mean by
    The output can contain no data for more formatted columns.
    Sript:
    col owner format a10
    col table_name format a20
    col column_name format a20
    col comments format a50
    select
       row_number() over(order by column_name) r11,   
       count(*) over() c11,
       owner ow,
       table_name tn,
       column_name cn,
       comments co
    from all_col_comments t
    where owner='SYS' and table_name='INDEX_STATS';
    select
       row_number() over(order by column_name) r,   
       count(*) over() c,
       owner,
       table_name,
       column_name,
       comments
    from all_col_comments t
    where owner='SYS' and table_name='INDEX_STATS';
    select 1 from dual;
    prompt abcThe output truncated after headers of second queryR11 C11 OW                             TN                             CN                             CO                                                                                                                                                        
      1  25 SYS                            INDEX_STATS                    BLKS_GETS_PER_ACCESS           Expected number of consistent mode block gets per row. This assumes that a row chosen at random from the table is being searched for using the index
      2  25 SYS                            INDEX_STATS                    BLOCKS                         blocks allocated to the segment                                                                                                                    
      3  25 SYS                            INDEX_STATS                    BR_BLKS                        number of branch blocks in the b-tree                                                     
      4  25 SYS                            INDEX_STATS                    BR_BLK_LEN                     useable space in a branch block                                                           
      5  25 SYS                            INDEX_STATS                    BR_ROWS                        number of branch rows                                                                     
      6  25 SYS                            INDEX_STATS                    BR_ROWS_LEN                    sum of the lengths of all the branch blocks in the b-tree                                 
      7  25 SYS                            INDEX_STATS                    BTREE_SPACE                    total space currently allocated in the b-tree                                             
      8  25 SYS                            INDEX_STATS                    DEL_LF_ROWS                    number of deleted leaf rows in the index                                                  
      9  25 SYS                            INDEX_STATS                    DEL_LF_ROWS_LEN                total length of all deleted rows in the index                                             
    10  25 SYS                            INDEX_STATS                    DISTINCT_KEYS                  number of distinct keys in the index                                                      
    11  25 SYS                            INDEX_STATS                    HEIGHT                         height of the b-tree                                                                      
    12  25 SYS                            INDEX_STATS                    LF_BLKS                        number of leaf blocks in the b-tree                                                       
    13  25 SYS                            INDEX_STATS                    LF_BLK_LEN                     useable space in a leaf block                                                             
    14  25 SYS                            INDEX_STATS                    LF_ROWS                        number of leaf rows (values in the index)                                                 
    15  25 SYS                            INDEX_STATS                    LF_ROWS_LEN                    sum of the lengths of all the leaf rows                                                   
    16  25 SYS                            INDEX_STATS                    MOST_REPEATED_KEY              how many times the most repeated key is repeated                                          
    17  25 SYS                            INDEX_STATS                    NAME                           name of the index                                                                         
    18  25 SYS                            INDEX_STATS                    OPT_CMPR_COUNT                 optimal prefix compression count for the index                                            
    19  25 SYS                            INDEX_STATS                    OPT_CMPR_PCTSAVE               percentage storage saving expected from optimal prefix compression                        
    20  25 SYS                            INDEX_STATS                    PARTITION_NAME                 name of the index partition, if partitioned                                               
    21  25 SYS                            INDEX_STATS                    PCT_USED                       percent of space allocated in the b-tree that is being used                               
    22  25 SYS                            INDEX_STATS                    PRE_ROWS                       number of prefix rows (values in the index)                                               
    23  25 SYS                            INDEX_STATS                    PRE_ROWS_LEN                   sum of lengths of all prefix rows                                                         
    24  25 SYS                            INDEX_STATS                    ROWS_PER_KEY                   average number of rows per distinct key                                                   
    25  25 SYS                            INDEX_STATS                    USED_SPACE                     total space that is currently being used in the b-tree                                    
    25 rows selected
    R C OWNER      TABLE_NAME           COLUMN_NAME          COMMENTS                                        
    - - ---------- -------------------- -------------------- --------------------------------------------------

  • SQL Developer dropping first column in a SQL SELECT

    Am not too certain who to report this to... but I just noticed that SQL Developer will not return the first column in a SELECT statement when there is a comment just after the SELECT reserved word when running the query in the SQL Worksheet. For instance:
    SELECT -- > HEADER INFORMATION STARTS HERE <--
    w.stu_id HDR_STU_ID,
    w.wiser_id HDR_WISER_ID,
    iep.wiep_id HDR_WIEP_ID,
    sis.wisis_id HDR_WISIS_ID,
    FROM wiser_exit exit
    INNER JOIN wiser w
    ON exit.wiser_id = w.wiser_id
    INNER JOIN wiser_iep iep
    ON w.wiser_id = iep.wiser_id
    INNER JOIN vw_wiser_iep_sis sis
    ON iep.wiep_id = sis.wiep_id
    will just return columns 2 - 4 (HDR_WISER_ID, HDR_WIEP_ID, and HDR_WISIS_ID), and NOT column HDR_STU_ID.
    I verified this by running the same query in SQL Commands in the SQL Workshop of APEX, and the resultset returned all the columns including HDR_STU_ID.
    Just ran another quick test in SQL Developer, and get the same results from a SELECT against a single table:
    SELECT -- > HEADER INFORMATION STARTS HERE <--
    county_cd,
    odd_even_flg,
    street_name
    FROM dime
    Did not return the county_cd column.
    I know, it's just a minor quirk, but I thought I would mention it.

    John,
    Thank you. I replaced the '--' comments with the '/*' '*/' style and it picked up the first column.
    I guess I'll just have to break an old habit I've been doing for years for comments. Dang, I hope all that old code doesn't break...
    Thomas
    Spoke too soon. I followed up by checking what Oracle's 'Oracle Database 10g The Complete Reference' had to say about the issue of using '--' for comments and under '-- (Comment)' it says "-- tells oracle a comment has begun. Everything from that point to the end of the line is treated as a comment. These delimiters are used only within SQL itself or in PL/SQL ..."
    So I guess I can continue using '--', but need to keep in mind that in certain circumstances it might not work as expected. YMMV
    Edited by: Thomas 8246 on Feb 19, 2010 8:09 PM

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

  • 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

  • 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

  • Database copy of a SDO_GEOMETRY column fails in SQL Developer 3.2.20.09

    I'm trying to copy a table that has a SDO_GEOMETRY column and it just fails:
    Moving Data for object LOCATION
    Unable to perform batch insert.
    LOCATION ORA-00932: inconsistent datatypes: expected MDSYS.SDO_GEOMETRY got CHAR
    What's the workaround for this or SQL Developer doesn't support this?
    Edited by: user10768987 on Apr 11, 2013 11:05 AM

    Welcome to the forum!
    Whenever you post provide your full version number for Sql Developer and, if a database is involved the name and full version of the DB.
    >
    I'm trying to copy a table that has a SDO_GEOMETRY column and it just fails:
    Moving Data for object LOCATION
    Unable to perform batch insert.
    LOCATION ORA-00932: inconsistent datatypes: expected MDSYS.SDO_GEOMETRY got CHAR
    What's the workaround for this or SQL Developer doesn't support this?
    >
    Since you haven't posted your version and provided the exact steps you are using we have no idea what you are doing to try to copy a table.

  • SQL Developer Not displaying Date columns

    I installed SQL Developer on my machine today and when i query for data I don't find any value in the columns which are of DATE datatype.
    For Eg if i says select * from dual; i get null as output.
    Can anyone confirm if this is happening to you also or if there is some problem with my installation.

    Dates work fine for me.
    What value do you get for your NLS_DATE_FORMAT parameter with the following query:
    select parameter, value from nls_session_parameters where parameter = 'NLS_DATE_FORMAT';
    You can change the NLS_DATE_FORMAT as in the following example:
    alter session set nls_date_format = 'DD-Mon-YYYY';
    Also, the column in the dual table is not actually in date format - try "select sysdate from dual;" instead.

  • Get Column sum, count in sql developer

    Dear All seniors,
    I need help in oracle sql developer that after select statement when we got our result in below rows and coloums,
    then how to get its sum, count, etc.
    as in pl sql developer we simply right click at a column and then click on the desired function.
    is this facility also have in sql developer?

    We've kicked around the idea of doing this for awhile. I believe there's already an item in the Exchange if you want to up vote it. The challenge being if it's a result set which hasn't been fully fetched, doing an aggregate would require one - and that could be costly. Of course folks live in the grids so I see the value in this type of feature as well.
    As a workaround, you could of course export your data to CSV or XLS and do the calculations in your favorite spreadsheet software.

Maybe you are looking for

  • Fact tables not loading

    Hi guys, We have installed ODI 11 with OBIA and so far the installation has been done with out any problems.But the problem here is none of the fact tables is getting loaded what would be the root cause for this. Most of the dimension tables got load

  • Problem with wsdl publishing

    Hi, I have been able to generate a wsdl file, added a wsdl.location property name-value pair in xxx_config.properties file. Now I am able to see wsdl file published at http://localhost:7001/testwebservices/test?WSDL The problem i am facing is - only

  • How do I fix Black screen?

    Hi Guys,     yesterday when i was updating some Apps on my Iphone 5, my screen went Black. The phone is "on" but I cannot see anything on it at all. How do I fix this?

  • New iPad 3 locks up after taking a photo

    1 week old new 3 is locking up after trying to take a photo with standard camera icon that comes with iPad? Any tips? Have turned it off a couple of times no difference. Have about ten photos in gallery but each time we take a photo now iPad locks up

  • Centralized monitoring in PI

    Hi I have a question regarding centralized monitoring. Is it possible to monitor XML messages in the backend system from PI? They share the same transaction, SXI_MONITOR, but I have never heard of anyone doing this. The reason why I am asking is that