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.

Similar Messages

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

  • How to update column in Oracle SQL Developer?

    Hi everybody,
    How can I update table in Oracle SQL Developer like in PL/SQL Developer use:
    Select * from table for update;
    Thank you~

    Do you mean you want to edit the result grid?
    You can't edit the result grid of a query, but you can edit the data tab of a table.
    Click on the table in the object browser
    Click on the data tab
    Optionally filter the results using the filter field at the top
    Type into the data cells.
    Click on the commit button

  • How i found listener o tsnames in oracle sql developer

    Jelou, i have some troubles with the Oracle SQL Developer, i have a server with Oracle 11g, but the client (sql developer) dont connect to the server, they give me a error, the oracle error i try to search in the search pages, but they dont have a answer.
    I try to search the listener and the tsnames files, but i dont found the files, i working in Windows 7 in 32bits,
    The Oracle error is ORA-12518.
    I put a picture about error,
    [http://picasaweb.google.com/lh/photo/2dpHUn5kEIfxMDqPFM9DxpmLdaXzuCybZLuf45HwREU?feat=directlink]
    Thanks for the help,
    Edited by: user13373417 on 07-Jul-2010 08:50

    user13373417 wrote:
    Your answer is about the function to database, or for the client, because i have the trouble with the client, i used Oracle sql Developer (the last version put in oracle) in windows 7
    ok, but how i found the listener o the tsnames, because i searching in all disk (c) but i dont found them, or how i can turn on the listener o whe is the directory when i put the files, because the installation dont have the /network/adm for put the files
    Edited by: user13373417 on 07-Jul-2010 09:06It appears you don't have a very clear understanding of how the client and the server are configured to communicate with one another.
    ============
    A couple of important points.
    First, the listener is a server side only process. It's entire purpose in life is to receive requests for connections to databases and set up those connections. Once the connection is established, the listener is out of the picture. It creates the connection. It doesn't sustain the connection. One listener, running from one oracle home, listening on a single port, will serve multiple database instances of multiple versions running from multiple homes. It is an unnecessary complexity to try to have multiple listeners. That would be like the telephone company building a separate switchboard for each customer.
    Second, the tnsnames.ora file is a client side issue. It's purpose is for address resolution - the tns equivalent of the 'hosts' file further down the network stack. The only reason it exists on a host machine is because that machine can also run client processes.
    Assume you have the following in your tnsnames.ora:
    larry =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = myhost)(PORT = 1521))
        (CONNECT_DATA =
          (SERVICE_NAME = curley)
      )Now, when you issue a connect, say like this:
    $> sqlplus scott/tiger@larrytns will look in your tnsnames.ora for an entry called 'larry'. Next, tns sends a request to (PORT = 1521) on (HOST = myhost) using (PROTOCOL = TCP), asking for a connection to (SERVICE_NAME = curley).
    Where is (HOST = myhost) on the network? When the request gets passed from tns to the next layer in the network stack, the name 'myhost' will get resolved to an IP address, either via a local 'hosts' file, via DNS, or possibly other less used mechanisms. You can also hard-code the ip address (HOST = 123.456.789.101) in the tnsnames.ora.
    Next, the request arrives at port 1521 on myhost. Hopefully, there is a listener on myhost configured to listen on port 1521, and that listener knows about SERVICE_NAME = curley. If so, you'll be connected.
    What can go wrong?
    First, there may not be an entry for 'larry' in your tnsnames. In that case you get "ORA-12154: TNS:could not resolve the connect identifier specified" No need to go looking for a problem on the host, with the listener, etc. If you can't place a telephone call because you don't know the number (can't find your telephone directory (tnsnames.ora) or can't find the party you are looking for listed in it (no entry for larry)) you don't look for problems at the telephone switchboard.
    Maybe the entry for larry was found, but myhost couldn't be resolved to an IP address (say there was no entry for myhost in the local hosts file). This will result in "ORA-12545: Connect failed because target host or object does not exist"
    Maybe there was an entry for myserver in the local hosts file, but it specified a bad IP address. This will result in "ORA-12545: Connect failed because target host or object does not exist"
    Maybe the IP was good, but there is no listener running: "ORA-12541: TNS:no listener"
    Maybe the IP was good, there is a listener at myhost, but it is listening on a different port. "ORA-12560: TNS:protocol adapter error"
    Maybe the IP was good, there is a listener at myhost, it is listening on the specified port, but doesn't know about SERVICE_NAME = curley. "ORA-12514: TNS:listener does not currently know of service requested in connect descriptor"

  • How to maintain Entries for VIEWS in ORacle Sql developer

    hi gurus,
    Could you please help in maintaining an entries for VIEW is Oracle SQL develope...I have created a VIEW by name SD_WH08....now i need to maintain some entries in this for my testing purpose...how do i do this?
    Your help is very much appreciated.
    Regards

    What do you mean by "maintaining an entries for VIEW" ?
    K.

  • How to abort a running process in Oracle SQL Developer?

    Is there a keystroke combination I can use? Thanks!

    I had a problem earlier today when I was running some code with > 50,000 lines and it kept on bringing up the "Enter substitution variable" box, which would not allow me to click anything else and once I clicked cancel I didn't have enough time to get to the red x before the next box appeared. Although this happened a bunch of times eventually there was enough time for me to get to the red x and change the code, but that's why I was wondering if they was a keystroke combination.

  • 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

  • How to show BLOB type Column ? In XE

    How to show BLOB type Column as image in APEX report area? (In XE)
    I did it with the following procedure
    create or replace PROCEDURE MY_IMAGE_DISPLAY (p_image_id IN NUMBER)
    AS
    l_mime VARCHAR2 (255);
    l_length NUMBER;
    l_file_name VARCHAR2 (2000);
    lob_loc BLOB;
    BEGIN
    SELECT 'JPEG', MLOGO, 'IMAGE', DBMS_LOB.getlength (MLOGO)
    INTO l_mime, lob_loc, l_file_name, l_length
    FROM CARS_TABLE
    WHERE M_ID = p_image_id;
    OWA_UTIL.mime_header (NVL (l_mime, 'application/octet'), FALSE);
    HTP.p ('Content-length: ' || l_length);
    OWA_UTIL.http_header_close;
    WPG_DOCLOAD.download_file (lob_loc);
    END my_image_display;
    GRANT EXECUTE ON my_image_display TO PUBLIC;
    and executed the following command
    CREATE PUBLIC SYNONYM my_image_display FOR shema_name.my_image_display;
    but under XE , I can not see synonym? why?

    sakrami,
    Your question really belongs in the XE forum:
    Oracle Database Express Edition (XE)
    I think this posting addresses your question:
    Re: Handling of pictures changed? Item values not properly updated in Beta
    Joel

  • How to create a counter using Oracle SQL Developer?

    Is there any way to create a counter using Oracle SQL Developer to create the below scenario. Meaning it will recorded down the name of user and ID and time and the date they login.
    Library portal home statistics shows how many users (outside and within the campus) visit the library portal.
    Page Access statistics is recorded on an hourly basis. Users may select the statistics by
    yearly (statistics displayed by all months in the selected year)
    monthly (statistics displayed by all days in the selected month)
    daily (statistics displayed by all hours in the selected day)

    I'm giving here one basic post - hope this will solve your problem --
    SQL>
    SQL>
    SQL> create table audit_info
      2   (
      3     usr        varchar2(50),
      4     log_time   timestamp(6)
      5    );
    Table created.
    SQL>
    SQL>
    SQL>  create table err_log
      2     (
      3       log_cd      varchar2(20),
      4       log_desc    varchar2(500)
      5     );
    Table created.
    SQL>
    SQL>
    SQL>   create or replace procedure ins_err(errcd   in  varchar2,
      2                                        errnm   in  varchar2)
      3    is
      4      pragma autonomous_transaction;
      5    begin
      6      insert into err_log values(errcd,errnm);
      7      commit;
      8    end;
      9  /
    Procedure created.
    SQL>
    SQL>
    SQL>   create or replace procedure ins_aud(ud   in varchar2,
      2                                        unm  in varchar2)
      3    is
      4      pragma autonomous_transaction;
      5    begin
      6      insert into audit_info values(ud,unm);
      7      commit;
      8    exception
      9      when others then
    10        ins_err(sqlcode,sqlerrm);
    11    end;
    12  /
    Procedure created.
    SQL>
    SQL>
    SQL>
    SQL> create or replace trigger log_odsuser1
      2   after logon on odsuser1.schema
      3   begin
      4     ins_aud('ODSUSER1',sysdate);
      5   exception
      6     when others then
      7       ins_err(sqlcode,sqlerrm);
      8   end;
      9  /
    Trigger created.
    SQL>
    SQL*Plus: Release 9.2.0.1.0 - Production on Tue Jun 12 12:21:09 2007
    Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.
    Connected to:
    Oracle9i Enterprise Edition Release 9.2.0.6.0 - 64bit Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.6.0 - Production
    SQL>
    SQL>
    SQL>
    SQL> set serveroutput on
    SQL>
    SQL>
    SQL> select * from audit_info;
    USR
    LOG_TIME
    ODSUSER1
    12-JUN-07 12.00.00.00000000 AMHope this will solve your purpose.
    Regards.
    Satyaki De.

  • How can I change the format of numbers in Oracle SQL Developer 1.0 ?

    The value 1.4345 from a table is represented in Oracle SQL Developer 1.0 like 1.5
    How can I change this to see all the digits ?
    Thanks

    Where did you see that, in the SQL Worksheet or viewing the data Connections ->.. tables ->.. tree?
    What datatype, precision and column name you have?
    I use version 1.0.0.15.57 and seems to be working allright.
    - Babu Rangasamy

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

  • How to hide system tables when using the Oracle SQL Developer?

    Hi,
    I would like to know how can I show only the tables that I created under the Tables tree? I didnt find a way to create a separate database using the Oracle Sql Developer. I see all the tables together, and would like to differentiate between different databases.
    Can anyone explain to me how to do these things?
    Thanks,

    Hi,
    I would like to know how can I show only the tables that I created under the Tables tree? Your posting is not clear,again tell something more on tables tree,what u want to achieve with it.
    How to hide system tables when using the Oracle SQL Developer? if u connected with sys, system or user with dba role then u have a privilege to see these tables,so revoke the privilege/role from ur user to view this tables if ur connected other then sys,system,
    I didnt find a way to create a separate database using the Oracle Sql Developer. DBCA is a tool for creating the new database.
    Kuljeet

  • Why the Oracle SQL Developer show Chinese abnormally?

    In my Oracle SQL Developer I see Chinese convert to error code such as "��介�Ε⑼�〩� ".
    My Oracle chartset is "ZHT32EUC" and Oracle SQL Developer Code is "MS950" by default.
    How can I set the corresponding code set to "ZHT32EUC" in Oracle SQL Developer?

    Hi,
    Does the machine already has files for East Asian languages and/or complex scripts options in the Supplemental Language Support section of the Languages tab for the Regional and Language Options setting installed (for WinXP machine)?
    - limoey

  • How could I unlock the account HR in Oracle SQL Developer?!

    Hi Everybody! I am new with using ORACLE SQL Developer! and I just wanted ask how could I solve this problem: "ORA-28000 The account is Locked!" Please anyone can help me?? As I know, When you just need to make a new connection, you have to type "hr" as your username, and password! I hove done that many times, but it didn't work :(( I have also installed Oracle XE g11 and it seems that there is no problem with it, BUT my problem with the first program "Oracle SQL Developer!" PLEASE anyone can reply???
    Edited by: 894546 on 02-Nov-2011 14:09

    Hi,
    Apparently you have both SQL Developer and Oracle 11g XE installed, but is not entirely clear if you know how to create a connection. If not, you should first read the SQL Developer tool's Help|Table of Contents|SQL Developer Concepts and Usage|Getting Started... help.
    Or use the Documentation tab at http://www.oracle.com/technetwork/developer-tools/sql-developer/overview/index.html
    Anyway, since you installed 11g XE, you should remember the password you picked for the SYS user. Launch SQL Developer, create a connection for SYS (whose role must be set to SYSDBA) using host=localhost, port=1521, sid=xe (these are all defaults and I doubt you overrode any of them). Once that connection exists, just follow Timo's instructions from his initial post. Let me repeat them, hopefully without typos, and in a bit more detail:
    1) Open your SYS connection in the Connections view
    2) Expand it, scroll down to the Other Users node in the tree
    3) Right-click on the HR node, click on Edit User... from the context menu
    4) Uncheck the Account is Locked checkbox in the Create/Edit User dialog
    5) Click on the Apply button at the bottom of the dialog
    or
    1) Open your SYS connection in the Connections view
    2) From the Worksheet, execute ALTER USER HR ACCOUNT UNLOCK
    Now your HR connection should no longer display an account locked message when you try to open it.
    Have fun,
    Gary
    SQL Developer Team

  • 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()

Maybe you are looking for

  • SAP NetWeaver 7.02 trail version installation error during START INSTANCE

    Hi all, Please help me in solving this installation problem. I've tried installing the setup several times but every time i get this same error that : An error occurred while processing option SAP NetWeaver 7.0 including Enhancement Package 2 > SAP A

  • Problem in infotype

    I am creating a custom infotype,for which i created my own package.By using this package i created infotype PSnnnn structure,but when im creating infotype characteristics and then saving it,it asks for a package request.On filling the package request

  • How to fetch negative sign data using select statement

    hi gurus,,               i hv  to fetch data which is negative in nature  using select statement i m using ppdit table and wrbtr field.(it contains both negative and positive data)....wat sud i add with select statement...plz help me.. thnx in advanc

  • Importing java class in to xml

    is there any way to import a java class into an xml file.suppose if I have a class containing all static constants .Anfd if I want this constant vlaues in xml how to do that

  • Using an Apple Wireless Keyboard with a Windows PC

    Hey, I know that this has been posted up before but i have read through the threads and followed the various instructions and i am still not getting any results. I am using a Belkin USB Bluetooth device (Model F8T013) and when it all seems like it's