Show Current Connected User in SQL Developer

Hello,
Is there a way to make SQL developer display the user that is currently connected?
For example, in the Connection tab, instead of just the database name show something
of the lines of "USER@DATABASE" or "DATABASE -- USER"
or in the SQL Worksheet Page?
Sometimes you connect and you don't know with which user you connected.
Thanks

We do have this listed in our task database with the other connection requests. These will not be addressed in the next update, but in a future release.
Regards
Sue

Similar Messages

  • Sybase connection tab not showing in New connection option in SQL developer

    Hi,
    I do not see a Sybase connection tab in New connection option in SQL developer 2.1 where as it was available in ver 1.5
    Why is that? how to fix it?

    Hi,
    Have you installed the JTDS JDBC driver yet into SQL Developer.
    This is required before you get the connection tab for SQL Server and Sybase.
    You can install the JTDS driver from the Check For Updates action.
    Regards,
    Dermot
    SQL Developer Team

  • Am not able to connect to oracle sql developer first time

    Hai all,
    am not able to connect  to oracle sql developer first time in my windows server.
    in my server sql developer icon is not showing in "all_programs>oracle_home>application development".
    am first time working in windows env..
    server : windows
    database_version:11.2.0.3
    please let me konw how to connect to the sql developer.
    Thanks,
    subbu

    am not able to connect  to oracle sql developer first time in my windows server.
    in my server sql developer icon is not showing in "all_programs>oracle_home>application development".
    am first time working in windows env..
    server : windows
    database_version:11.2.0.3
    please let me konw how to connect to the sql developer.
    Did you perhaps do a custom install? The DB software includes a version of sql developer and, by default, installs it in the sqldeveloper folder of the DB_HOME. Does that folder have sql developer in it?
    I suggest that you NOT use the version of sql developer that ships with the database. That version will NOT be the current version.
    Download the current version of SQL Developer, unzip it into a new folder and create a desktop icon for it.
    http://www.oracle.com/technetwork/developer-tools/sql-developer/downloads/index.html
    The current version includes many, many bug fixes from that earlier DB version and you will have far fewer probems with it.

  • I can't connect me In Sql Developer

    Mrs,
    I can't connect me in Sql Developer , because it Show me a Error : UnKnown Instance .
    I have a named Instance ( e-xyon-inf-13\sql2005 ) , when a Put the name , it didnt know.
    Is There any configuration that I must do ?
    Because I am able to connect with another instances and ( e-xyon-inf-13\sql2005 ) exists .
    Thank you,
    Andre

    Can u plz make this out...?
    I want to migrate my data in MsSQL to Oracle ...
    Downloaded the SQL Developer, Downloaded the latest patches... however not able to connect to the SQL server with all parameters specified... a red line message displayed "Failure - cannot connect to MS SQL Server on <hostname>" can there b any reason? I am tryng to migrate from MS SQL 2000 to Oracle 10g using Oracle SQL Developer ....
    --- I AM WORKING ON WIN-XP
    --- Host Ip is well configured in Client n/w utility & SAME ENTERED IN THE SQL Developer's Host Name
    --- SQL Developer can create the connection for oracle successfully
    --- I am working on standalone machine i.e my laptop.
    Regards,
    Mani

  • How create new user in sql developer?

    so i tried creating a new user in SQL developer, under the worksheet section,  for a 12c database
    create user Hares1
    identified by book;
    but I get this error
    SQL Error: ORA-65096: invalid common user or role name
    Sorry I know this is a generalized question. I only learned how to actually connect today - any help of a next step would be appreciated.

    so i tried creating a new user in SQL developer, under the worksheet section,  for a 12c database
    create user Hares1
    identified by book;
    but I get this error
    SQL Error: ORA-65096: invalid common user or role name
    The 'next step' is RTFM. Sorry but for 12c multitenant you simply MUST read the documentation about the new multitenant architecture.
    Your 'problem' is not creating a user with sql developer - it is how to create users in 12c.
    See my extended comments and reply in this thread (and several other threads I reference there) which addresses your exact problem
    12c: ORA-65049: creation of local user or role is not allowed in CDB$ROOT
    http://www.oracle.com/pls/db121/homepage
    I suggest you first read chapters 17 and 18 of the Concepts doc about the new multitenant architecture of 12c.
    http://docs.oracle.com/cd/E16655_01/server.121/e17633/part_consol.htm#CHDGDBHJ
    The 'Common Users in a CDB section answers your question
    >
    The name of every user-created common user must begin with the characters c## or C##. (Oracle-supplied common user names do not have this restriction.)
    >
    There are two types of users in 12c: common and local. You need to understand the difference between them.
    Until you read those doc chapters you won't understand these terms: common user, local user, CDB, PDB, root container, and many others.
    As I said in that other thread:
    You will NOT be successful working with 12c unless you have read and understand the new multitenant architecture that it uses. There are very simple things (connecting, startup/shutdown, creation of users, grants to users, etc) that just don't work the same old way anymore.
    If you try to just 'plow through it' without reading about it you will likely get an exception that you won't understand and it will likely use a term (CDB$ROOT) that you won't understand. Then you will hunt all over (or worse, ask in the forums) to find out about that term.
    Yes - I know how adverse some people are to RTFM replies. But for 12c multitenant it is mandatory to read the docs no matter how expert you may be in previous Oracle versions.

  • Is it possible to disable Export connections functionality (Connections view) in SQL developer?

    Hi,
    because of some security reasons, there is a need to disable export connections functionality in SQL developer.
    Is it possible to do this somehow?
    Many thanks,
    Dejan

    Not that I know of.
    Even if we did, they are still stored in a file that most of your users would be able to access.
    You can however disable the ability to save passwords.
    And exporting connections now do not include passwords by default, although you can include them if you supply an additional password.

  • Able to connect via Oracle SQL Developer, but not sql plus

    Using Oracle 10.2.0.
    I can connect using the TNS connection type in SQL Developer, but cannot do so in SQL PLUS. SQL Plus gives me the error -- could not resolve the connect identifier.
    When I do tnsping USPO_ADHOC, I get:
    C:\oracle\product\10.2.0\client_1\network\admin\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION =
    TNS-12533: TNS:illegal ADDRESS parameters
    So here is my tnsnames.ora file:
    INTL_ADHOC =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.239.162.108)(PORT = 1521))
    (CONNECT_DATA =
    (SID = intl1)
    USSYN_ADHOC =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.239.162.109)(PORT = 1521))
    (CONNECT_DATA =
    (SID = USSYN)
    USPO_ADHOC =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.239.162.107)(PORT = 1521))
    (CONNECT_DATA =
    (SID = uspo)
    Any assistance gratefully appreciated. Thanks.

    I actually did not have that environmental variable, so I added it, but nothing changed.
    I would note that if I do tnsping foo, I get: failed to resolve name.
    If I do tnsping USPO_ADHOC, I get: illegal address parameter.
    In both cases, the output correctly identified the path to my sqlnet.ora file, which is in the same directory as my tnsnames.
    So I would conclude from that, that the system was already able to find my tnsnames file.
    Anyway, here's my sqlnet.ora:
    SQLNET.AUTHENTICATION_SERVICES= (NTS)
    NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
    Thanks again for any ideas!

  • Typing letter doesn't skip to connection name in SQL Developer 1.5

    When I open SQL Developer 1.5 and execute a query, a popup window lets me choose a database connection. In SQL Developer 1.2.1 and before, I could type a letter to jump to a specific name, similar to any dropdown menu. However, this doesn't work in SQL Developer 1.5, where I have to mouse click to find the connection. This keyboard functionality was very useful and should be put back. Thanks.

    Yep... ur right... I can confirm this.
    WinXP SP2
    Oracle 10g
    SQL Dev 1.5.1.5440
    Java 6 U6
    -Tim

  • Create connection with Oracle SQL Developer

    Hello,
    my test to connect my Oracle database with SQL*PLUS works. Here I need only the username (I test with system), my password and the hostname (orcl).
    Now I want to create this connection with the SQL Developer.
    Here I need the Port. I don't know the port of my database. How can I find it out?

    Hi, the port must be the used by listener, review the $ORACLE_HOME/network/admin/listener.ora file or get the listener status(lsnrctl status) for get the correct port.
    You can try with the default port. (1521).
    Luck.
    Havea good day.
    Regards.

  • Manage user in sql developer

    i would like to ask about how to manage the user to the same db. as db in the same server. but i want to create different user will have different view of db.
    how can i manage it using SQL Developer.

    If you have an account with DBA privileges on the database you can use SQL Developer's DBA module.
    Select View|DBA from the menu. This will open an additional connection browser. You can expand the tree to show Security -> Users

  • How to open new connection in Oracle SQL Developer ???

    Hi folks,
    I have installed SQL Developer Version 1.5.0.53 in a XP sp2 system. tried to open a Database Connection, with OR_OHCL connection name and 'hr' username & password, but when I click on Connect it showed me "Failure- Io Exception The network adapter could not establish the connection". How can i resolve this issue?
    Thanks in adavance. I need urgent reply, if not lot of replies!!!

    i need to mention that i have never used SQL Developer before. but i have done some oracle coding 1year ago when i had Oracle 9i installed in my computer. but i don't have any oracle installed in my computer. do i need to install any for using SQL Developer? i am not sure what to do?
    i want to use it for just learning. if i need to install Oracle DB which one do you guys suggest me to install ---
    1.Oracle Database 10g Express Edition (Western European)
    2.Oracle Database 10g Express Edition (Universal)
    3.Oracle Database 10g Express Client
    4. or anything else
    please help me out.
    Sarwar

  • Function will not run (and shows with red cross in SQL Developer)

    I have created the function below by typing into the "Enter SQL Statement" box in the SQL Developer tool and running. I see the message "create or REPLACE FUNCTION Statement Processed". I see the Function in the tree view, but it has a red cross icon next to it, so I guess somethings wrong with it. When I try to run it I get the message "The selected program is in an invalid state for running. Recompile the program and try again." If I right-click the function and compile then I get no errors but the red cross remains and I still can't run it.
    What am I doing wrong?
    Also, I am planning on supplying a SQL script to customers that will have this function at the top of the script, and then I will use the function throughout the rest of the script to decide whether or not to drop a table before re-creating it. Will that be ok? i.e. will the function be available to the rest of the script, or would the function creation need to be followed by a commit/grant/other?
    CREATE OR REPLACE FUNCTION CHECK_TABLE_EXISTS(tableName VARCHAR2)
    RETURN BOOLEAN IS
        tableExists NUMBER(1,0);
    BEGIN
          SELECT COUNT(*) INTO tableExists FROM user_tables WHERE table_name=tableName;
          IF tableExists = 1 THEN
            RETURN TRUE;
          ELSE
            RETURN FALSE;
          END IF;
    END CHECK_TABLE_EXISTS;Thanks,
    Paul

    Hello Try the same at sqlplus and see how it goes. It should not throw any error messages as I tried the same as a normal user Scott with only (connect, resource) priveleges. You dont have to grant any specific previleges for user_tables.
    -Sri
    SRI>conn scott/tiger@sri
    Connected.
    SRI>CREATE OR REPLACE FUNCTION CHECK_TABLE_EXISTS(tableName VARCHAR2)
      2  RETURN BOOLEAN IS
      3      tableExists NUMBER(1,0);
      4  BEGIN
      5        SELECT COUNT(*) INTO tableExists FROM user_tables WHERE table_name=tableName;
      6        IF tableExists = 1 THEN
      7          RETURN TRUE;
      8        ELSE
      9          RETURN FALSE;
    10        END IF;
    11  END CHECK_TABLE_EXISTS;
    12  /
    Function created.
    SRI>set serverout on
    SRI>begin
      2  if check_table_exists('EMP') = TRUE
      3  THEN
      4  dbms_output.put_line('Found');
      5  else
      6  dbms_output.put_line('Not Found');
      7  end if;
      8  end;
      9  /
    Found
    PL/SQL procedure successfully completed.

  • TNS connection in Oracle SQL Developer

    We have been using TNS connections in SQL Developer. Today we moved a database to a new server but still used the same TNS alias in tnsname.ora file for the database. However, the tns connections in SQL Developer shows this alias still points to the old database host server, therefore unable to connect. There is only one tnsnames.ora file on my PC and I have TNS_ADMIN set up to point to it. But it seems to me SQL Developer does not read this altered alias, but used some kind of "cached" alias which points to the old host. If I add a new alias in tnsnames.ora file, it reads correctly. But it does not refresh an existing alias.
    So how is this "Network Alias" dropdown list populated? Even after I delete tnsnames.ora file, the drop down list still not changed. How do I reinitialize this list?

    Hi,
    You should try and search SQLDeveloper help for TNS, that would give you some clues.
    The list for selecting a network alias is initially filled from the tnsnames.ora file on your system, if that file exists.
    Connections are stored in IDEConnections.xml.
    Regards
    Peter

  • Connection problems with SQL Developer -- ANSWERED

    running on win2k
    connecting to local oracle
    1     Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod
    2     PL/SQL Release 10.2.0.1.0 - Production
    3     CORE     10.2.0.1.0     Production
    4     TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
    5     NLSRTL Version 10.2.0.1.0 - Production
    SEVERE     63     0     oracle.jdeveloper.db.DatabaseConnections     DatabaseConnections has no JNDI context so cannot list connections.
    SEVERE     64     21298     oracle.jdevimpl.db.adapter.DefaultContextWrapper     failed to create naming Context for db connections at url: file:/C:/Documents and Settings/llhatch/Application Data/SQL Developer/system1.5.0.53.38/o.jdeveloper.db.connection.11.1.1.0.22.49.35/connections.xml
    I get this error when trying to save or connect to a connection, even after test connection says successfull.
    I just installed sqldeveloper-5338.zip
    Message was edited by:
    user634867

    Sue, thank you very much for the clarification.
    I did update the C:\Program Files\sqldeveloper\sqldeveloper\bin\sqldeveloper.conf file file by appending the lines below and it solved the problem.
    AddJavaLibFile ../../lib/java/api/jaxb-api.jar
    AddJavaLibFile ../../lib/java/api/jsr173_api.jar
    AddJavaLibFile ../../j2ee/home/lib/activation.jar
    AddJavaLibFile ../../lib/java/shared/sun.jaxb/2.0/jaxb-xjc.jar
    AddJavaLibFile ../../lib/java/shared/sun.jaxb/2.0/jaxb-impl.jar
    AddJavaLibFile ../../lib/java/shared/sun.jaxb/2.0/jaxb1-impl.jar
    One last question.
    How do I force SQL Developer to look at TNSNames. Currently I have to enter all info for each connection manually.
    Thanks again.

  • Regarding connection tab in sql developer

    Hi,
    i click on sql developer.exe it shows me connection tab only when the oracle database 11g release 2 is not installed on the PC
    but when i installed the 11g release 2 connection tab disappears
    please help me in setting sql developer connection with the database

    See this Re: Connection keeps open, PL/SQL Compilation
    -kris

Maybe you are looking for

  • Pictures look like they transfer via iTunes app window - but don't appear on iOS device

    My pictures look like they transferred to iPad (the new) or iPhone (4) in iTunes (on the App page). I can see the files in the little app file share/transfer window, but the pictures do not show up in the iPhoto App on either iOS device. Tried deleti

  • In iCal, how do I maximize the feature "On My Mac"?

    Can you help me understand the iCal feature, "On My Mac" to-do list? It is an automatic list, and I'm sure that it syncs with something...but not in iCloud, and not seemingly my Reminders. What's the missing link? THANKS!

  • Classes in WAD

    Hi I been working with WAD 3.x/7.x for a while.I came across CLASSES that were used in WAD.what are they and what is the use of them? Can anybody post links or documents about them?I couldnot find good documents on internet. Thanks.

  • Executing batch File from Jsp

    I want to execute a batch file which is located at d:\build from a jsp I also want to give parameters to batch file. Actually my batch file is demo.bat and i want to execute this command via jsp demo Compile dev

  • Cannot log into yahoo e mail, 404 not found comes up

    cannot log into yahoo e mail 404 not found comes up. I deleted the version of firefox I had and downloaded a new version. Same, unable to log into yahoo e-mail, 404 not found. I deleted recent history, same