SQL Developer viewing schemas on an MS SQL Server

Hi,
I've connected SQL Developer to our MS SQL server in the hope we can dump some of the data it contains onto our Oracle 10g box.
Problem is in the left hand connections pane we can only see one database on the sql server box at a time. If we want to see more than one database we have to make a new connection to each seperately.
Is there any way of making SQL developer show and allow browsing of all the sql server databases for which the user has permissions in the same way it does for MySQL connections?
Regards
John

No; it's even more restrictive (at least in Oracle DBs): 1 connection for each database AND schema (user).
Regards,
K.

Similar Messages

  • SQL Developer - Adding a column comment via SQL

    When I add a comment in SQL*Plus via SQL, such as COMMENT ON COLUMN "MY_OWNER"."MY_TABLE"."MY_COLUMN" IS 'column comment' it works fine. When I try the same thing in SQL Developer I receive a message "No SQL statement entered".
    I realize this can be done in SQL Developer via action buttons in the user interface; but I need to be able to do it via SQL since my procedure generates this code for hundreds of columns at one time.
    Is there a SQL way to do this in SQL Developer? Alternatively, can SQL Developer call SQL*Plus to run commands?

    This is a current bug when executing as statement (F9).
    Good news is it does work when running as script (F5).
    Have fun,
    K.

  • Sql Developer - View source code of procedures, functions & packages in another schema

    Our developers need the ability to view procedures, function, packages etc. in the production database (using SQL DEVELOPER).  They don't have access to sign on as the owner of these
    objects in Production.  They must use their own limited access UserID for this purpose.
    This limited access UserID has been granted select privilege on DBA_SOURCE & DBA_OBJECTS.  The developers need the ability to view the source of these object via
    the tree view in SQL DEV.  They should be able to click on "other users" in the SQL DEV tree view and see a listing of the owner schema objects.  Then they should
    be able to select the desired object and view the source code.  These developers are used to using GUI interfaces.  Selecting from DBA_SOURCE would not be an
    option for them.
    I understand that if the limited user is granted SELECT ANY DICTIONARY or SELECT_CATALOG_ROLE then this functionality will work.  The problem is those
    privileges/roles  provide much more access than should be granted to these limited access users. Granting DBA to these users is also not an option.
    In TOAD and other end-user tools this functionality works when only select privilege on DBA_SOURCE & DBA_OBJECTS has been granted.  We need this same functionality
    in SQL DEV.
    While searching this forum and the internet, I see that other installations have this same issue.
    Please enhance SQL Developer with this functionality. 
    Thank you, ellen

    Just to double check that I'm interpreting the problem correctly, is the following true:
    select * from all_objects where object_name = 'DBA_SOURCE'
    returns nothing
    select * from dba_source where name = your PL/SQL module
    returns all the code

  • How to connect sql developer OE schema and Hr schema,

    Hi ,
    I downloaded Oracle 10g express edition and SQL developer downloaded in my computer, I don't know how to connect to OE and HR schema, by default the SQL developer and Oracle 10g has only sytem and sys database. And as well I wanted to migrate datas from third party datas , could anyone please , pllease guide me. I am new to this field and just started to learn. what is listener and how to activate Listener and Repositary
    Please guide me.
    Thanks in advance
    Chan

    The HR schema installs fine in XE, but the OE schema doesn't quite. I've done it, but there will be errors. The reason is that the OE schema uses some features of XML DB that are not supported in XE. If you want to use the OE schema in XE and you don't mind if it isn't a complete OE schema, then you can get the installation scripts from an Oracle SE or EE installation.
    You can also get it from the companion disk for Oracle SE or EE, but this is a bit challenging, because you can't get it by running OUI unless you first install Oracle SE or EE. You need to run an archive utility like WinZip or 7-Zip and look for the scripts inside a compressed file - I forget which one, but I'll look it up if you like. Oh, and since the OE schema isn't really supposed to be installed on XE, Oracle does not support any of the methods for putting it there.

  • SQL Developer - viewing table data while debugging

    Apologies if this is in the wrong forum.
    I'm using SQL Developer to debug a complex stored procedure line by line. There are a lot of inserts / updates / deletes in the procedure and I'd like to be able to view the data in the relevant tables after each statement has been run to see the effect of each statement.
    Trouble is, when I try to do this, SQL Developer shows the contents of the tables as if they have been unaffected by the stored procedure. Is there a setting somewhere or some type of locking I can use to see the data changes as they happen?

    Only the session that is inserting the data can see that new data until the session issues a commit, so I would doubt that you could do this. You probably want to a) view the data before the insert or b) (ugly but should work) put a trigger on the table being inserted so it inserts a copy of the data to a tracking table. This procedure will have to have the AUTONOMOUS TRANSACTION pragma in order to not be held until your debug session commits.

  • SQL Developer: View menu selections Reports and Connections not working

    Downloaded latest SQL Developer May 9 updated version and my dropdown selections from the View menu for Connections, and View Reports do not work. However, Snippets does appear when selected. Hate to lose some of the User Defined reports I had created. Any help would be appreciated.

    Don't know if I get what you're saying: the entries Connections and Reports from the View menu don't work?
    On top of the connection tree, if you get one, aren't there the two tabs with these options?
    If you're unable to view the whole tree, you're installation would be corrupted. Install from scratch in a separate folder, first without migration to see if that resolves the issue. Then you could do the same with migration to retrieve all previous settings and connections.
    K.

  • SQL Developer viewer download fail (404)

    Hi
    I am trying to download the Oracle SQL Developer Data modeler viewer but get an error (404) every time?
    I am following the link at http://www.oracle.com/technology/software/products/sql/datamodeler.html after accepting license.
    I am using IE v7.0 and I tried the SQL Developer tool and got the same error??
    Any ideas.....
    Edited by: user6765482 on 17-Nov-2009 04:27

    seems to be working now. Not sure why it was not working earlier

  • SQL Developer Unit Testing - Validation with PL/SQL

    Hi,
    I am trying to create Unit tests using SQL Developer UT framework.
    But when i am creating validation using User PL/SQL code option.
    Then how can i check value returned by l_count in code snippet below:
    -- Please raise an exception if the validation fails.
    -- For example:
    DECLARE
    l_count NUMBER;
    wrong_count EXCEPTION;
    BEGIN
    SELECT count(*) into l_count
    FROM test_recon
    WHERE
    match_num = 99836936
    AND Stg_status_flag <> 'E';
    IF l_count = 0
    THEN
    RAISE wrong_count;
    END IF;
    END;
    Also, can someone please refer me to few more demo examples (apart from oracle docs) to implement good test cases with SQL developer.
    I appreciate your help.
    Regards
    Dipali

    Probably not the answer you're looking for, but back when I was playing around with the Unit Test stuff, I didn't have sys privs, and the DBAs were a little busy at the time to set a up a repository for me. Rather than wait, I installed Oracle XE on my machine and created a small dev schema and deployed unit test to that. It's so much easier to perform quick proof of concepts when you have full control.

  • SQL Developer database copy corrupts wrapped PL/SQL

    SQL Developer 3.0.04.34, database 11.2.0.2.2
    Database copy brings over the wrapped pl/sql DDL, but somehow corrupts the code and will not compile.
    It must be recreated from source plb file.
    expdp / impdp does not have this problem.
    This would appear to be a bug.
    Wayne Linton

    user4792902 wrote:
    Also it looks like the SQL Developer loads all the Data from sources Schema for each table in memory and copies to destination Schema.Yes
    Any idea how to over come that...Don't use it, use the database's IMPDP/EXPDP tools for copying large quantities of data or whole schemas or databases.
    Also adding the Filter or selection like the Database Export functionality in Database Copy will really be helpful in this kind of situation. The Developer team has any plans?Probably not right now, but you can request this at the SQL Developer Exchange though, so other users can vote and add weight for possible future implementation.
    Regards,
    K.

  • 30EA3 SQL Developer 3 error message while migrating SQL sever database

    I was mirating a SQL sever 2005 database to Oracle 11g, and got the following error message during the process:
    "Migration action have failed. Check the migration reports for Detail. :null".
    After the error message, I could see the "Captured Database Objects" and "Converted Database objects" under the "Migration Projects". However, if I open the generated scripts, it only contains the fowlloing, nothing else:
    "SET DEFINE OFF;
    PROMPT Creating User Emulation ...
    CREATE USER Emulation IDENTIFIED BY Emulation DEFAULT TABLESPACE USERS TEMPORARY TABLESPACE TEMP;
    GRANT CREATE SESSION, RESOURCE, CREATE VIEW, CREATE MATERIALIZED VIEW, CREATE SYNONYM,CREATE PUBLIC SYNONYM TO Emulation;"
    What's the cause of this problem, please advice. Thanks.
    Bob

    Hi Bob,
    The next thing in the generation script should have been the definition of the sqlserver_utilities package.
    This package emulates some of the system functions found in SQL Server.
    It gets placed into your converted model as the very last step of the conversion.
    Building the generation script (where your failure happened) is straight forward and I wouldn't expect an error here.
    I would guess something went wrong during the capture or conversion and is only surfacing during the generation phase when it tried to write the sqlserver_utilities package to the generation file.
    I could be wrong, but I would manually check that conversion completed successfully first.
    1) Browse you converted model under
    Migration Projects "Nav" : Projects > YourProjectName > YourModelName(default a date)> Converted Database Objects > Procedures > YourProcName
    a) Are there any red crosses on any of these nodes in your navigator ?
    b) If you right click on a converted database name is "reconvert" grayed out or available?
    c) run the following in the SQL Worksheet against the same connection you used for the migration repository
    select * from md_packages;
    Is there one row there with the definition of sqlserver_utilities in its package_header and native_sql columns?
    Also do you have anything in the capture issues, conversion status or conversion issues reports (double click you project and the migration reports should pop up on the right hand side, each report a separate tab) ?
    Just trying to pinpoint what happened here.
    Thanks for your feedback,
    Dermot
    SQL Developer Team.
    Edited by: Dermot ONeill on Feb 16, 2011 2:48 PM

  • 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 Seems to have messed up SQL Plus & Crystal Connectivity

    Hi all,
    previously I have been able to connect to a DB via SQL Plus. Also, I have been able to report on it with Crystal Reports XI.
    I'm not certain, but I believe this has occurred since installing SQL Developer?!?!? Since once I installed, no need to use SQL Plus anymore and just haven't needed Crystal for a while.
    My TNSNames.ora in C:\oracle\product\10.2.0\client_1\NETWORK\ADMIN seems fine (it worked before)
    SQLNet.ora has the following in it......
    #SQLNET.AUTHENTICATION_SERVICES= (NTS)
    NAMES.DIRECTORY_PATH= ( TNSNAMES, EZCONNECT )
    A TNSPing returns.....
    C:\>TNSPING PVNGDEV1
    TNS Ping Utility for 32-bit Windows: Version 10.2.0.1.0 - Production on 09-SEP-2
    008 17:28:21
    Copyright (c) 1997, 2005, Oracle. All rights reserved.
    Used parameter files:
    C:\oracle\product\10.2.0\client_1\network\admin\sqlnet.ora
    TNS-03505: Failed to resolve name
    C:\>
    When I try and create a connection via Crystal I get....
    Crystal Reports
    Failed to open the connection.
    Details: ORA-12154: TNS:could not resolve the connect identifier specified
    [Database Vendor Code: 12154 ]
    This is sending me absolutely crazy and have already spent 1/2 day trying to fix it.
    Please - any ideas?
    Regards
    DC
    SQL Developer 1.5.1
    Oracle Client 10.2
    Crystal Developer XI

    PROBLEM SOLVED - WHAT A MYSTERY and a WASTE OF MY TIME.
    APOLOGIES TO SQL Develoepr for being the prime suspect - I still love you!
    TNSNAmes.ORA as follows works!!!!!!
    pvngdev1 =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = ********)(PORT = 1521))
    (CONNECT_DATA =
    (SID = pvngdev1)
    However, the following does not
    PVODB =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = *******)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = PVODB)
    PVOQA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = *******)(PORT = 1521))
    (CONNECT_DATA =
    (SID = PVOQA)
    # - Enterprise Reporting
    ERSDEVDB =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = *******)(PORT = 1521))
    (CONNECT_DATA =
    (SID = sasrpt)
    (SERVER = DEDICATED)
    # - PVNG
    PVNGDEV1 =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = *******)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = PVNGDEV1)
    PVNGQA1 =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = *******)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = PVNGQA1)
    DESTDEV1 =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = *******)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = DESTDEV1)
    Why is this.
    I guess I 'll build up TNSNAmes connection by connectuion and test and see how I get on.
    Regards all
    DC

  • Missing SQL Developer functions when connecting to MS SQL Server 2005

    Hi all,
    I've connected SQL Developer to a ms sql server db. Now I can't use the functions from SQL Developer like
    - Drag&Drop tables to the sql-sheet,
    - autocompletition of attributes (Strg+Space).
    Is this function not supported or do I have to change some preferences?
    THX Steve

    Unfortunately most of the advanced functions of SQL Developer are supported only for oracle databases, so on ms sql, or almost anything else you can do little more than browse data.

  • Does SQL Developer support a default Path to SQL scripts

    Just started using SQL Developer.
    In the past, I created shortcuts on my PC desktop to run SQLPLUS to the different
    instances as follows:
    1. Create a shortcut to PLUS80W.exe
    2. Set the property "Start in" to a directory where the SQL scripts are located.
    3. Add the login/password@instance to the end of the shortcut.
    In this way, ypu only needed to click on the shortcut to log into SQLPLUS and run your
    scripts via @script.sql etc.
    Can you setup a default path to SQL scripts SQL Developer so that it can locate
    the scripts on your PC ?

    I did notice in version 13.43 that if you close SQL Developer with a SQL script open in the SQL Worksheet, when you startup SQL Developer the next time it automatically opens the file in the SQL Worksheet with no database connection. It also sets the default path for SQL scripts to be the directory where your open SQL file resides. If you right-click in the SQL Workshop and then click on "Open File" the directory defaults to the directory of the SQL file that is open.
    Mike

  • Is SQL Developer 1.5.5 Compatible with SQL Server 2008

    We are trying to perform a database migration and we keep getting "Locating Source Plugin" failed, we have the jTDS Drivers from sourceforge, tried several versions, including 1.0, 1.2, 1.2.2, 1.2.4, 1.2.5, 1.2.7, and 1.2.8... and i came across a thread Sql Dev Third party migration issue
    and i was wondering if SQL Developer 1.5.5 is compatible with Microsoft SQL Server 2008?

    Those versions are ancient, older than SS2008 even.
    Go get version 4.0.3 and a jTDS 3.1 driver.
    Details here

Maybe you are looking for