Sql Developer 2.1 - "sql server" can't see tables

I'm running sql developer 2.1 on Linux Mint -- connected to MSFT sql server with JTDS driver.
I can query just fine. However, there are no tables in the object browser. No objects at all beyond the main categories (tables, stored procedures).
Lee

"I see...said the blind man to the deaf man".
I found all my tables.....they were under "dbo" not the user I logged in as.
My connection is: database MyDataBase username myuser
The object tree looked like:
MyDataBase
- dbo
- myuser
+ tables
+ stored procedures
- someother
- andanotherone
I went to "myuser" which I considered to be the schema owner, but all the objects are actually owned by dbo -- and they are there under dbo.
To further test -- I created table "table_test" -- and it appeared under dbo, not "myuser". Now that I understand the behavior, I'm back to LOVING Sql Developer. Thanks for helping and keep up the good work.
I much prefer to work on oracle databases -- but at least I can keep using this excellent oracle tool even when forced to work on Microsoft Sql Server :)
Lee

Similar Messages

  • Connect from SQL Developer to several SQL Server instances

    Our SQL Server has more than one instance, but I see only one instance of them trying to connect from SQL Developer 1.2 to SQL Server. How I should define the connection information? Usually we connect to SQL Server by <hostname>/<instancename> and then the database name as CatalogName (Initial Catalog). In the Oracle world you can give only the hostname, a port number and the database name. How I can convince the SQL Developer to choose one of our SQL Server instances?

    Hi user627927,
    Bug/Enhancement request already logged.
    We have not got this configuration in house, two people have suggested workarounds but we are unable to test them for now. The last person was unable to get these workarounds working, and we have not confirmed them in house.
    Can you get the instances connected through two different ports?
    It would be great if you could confirm either workaround.
    -Turloch
    *1/Suggestion 1 change the URL through SQLDevelopers xml connection store.
    *2/Overload the port field to have instance in the eventual url
    *1/Suggestion 1 change the url through SQLDevelopers xml connection store.
    [Note it is probably simpler to connect a dummy connection through the connection dialog as usual save it (you cannot connect) and then add the instance information rather than having to enter all the information in an unmanaged way.]
    Hi Naveen,
    I had same problem as you and user579801. I managed to resolve it by doing the following.
    1. Locate the file called IDEConnections.xml in the folder where you have installed SQL Developer (eg. c:\sql developer\sqldeveloper\system\oracle.jdeveloper.db.connection.11.1.1.0.11.42.62).
    2. Create the following entries under <connections> tag.
    <connection>
    <URL>jdbc:jtds:sqlserver://\\.\;namedPipe=true;instance=SQLDBNam;</URL>
    <ConnectionName>SQLServer</ConnectionName>
    <user>SQLUser</user>
    <ConnectionType>JDBC</ConnectionType>
    <DeployPassword>false</DeployPassword>
    <JdbcDriver>net.sourceforge.jtds.jdbc.Driver</JdbcDriver>
    <RaptorConnectionType>Microsoft SQL Server</RaptorConnectionType>
    </connection>
    3. Save the file; Close and re-open the SQL Developer and try connecting.
    Hope this will solve your problem. Good luck.
    Regards
    Raja
    *2/Overload the port field to have instance in the eventual url
    This took some figuring out but I cracked it in the end....
    SQLServer tab:
    Hostname: <servername>
    Port: <portnumber>/<databasename>;instance=<instancename>
    so for me the Port field looks like this: 1433/Gaffa;instance=SQL01
    That should now connect to a named instance SQL Server.
    Paul Fairhurst

  • SQL Developer Connection to SQL Server

    Hi,
    could some body help in connection sql developer connection to sql server 2005 please?
    thanks,
    kamalesh

    Setting Up SQL Developer for MS SQL SERVER 2000
    1) Install/Extract SQL Developer 1.2.1 in C:\Program Files\Oracle
         Making the {$sqldevhome} = C:\Program Files\Oracle\sqldeveloper
    2) Obtain the JDBC SQL SERVER Pluggin (jtds-1.2.2-dist.zip) from:
    http://sourceforge.net/project/showfiles.php?group_id=33291&package_id=25350
    3) Unzip jtds-1.2.2-dist.zip
         Creates:      jtds-1.2.2.jar
                   \x86\SSO\ntlmauth.dll
    4) Copy the jtds-1.2.2.jar into:
    {$sqldevhome}\jlib Directory.
    5) Copy the the ntlmauth.dll dll in the \x86\SSO subdir into:
    {$sqldevhome}\jdk\jre\bin\ntlmauth.dll
    6) In SQL Developer:
         Got Menu "Tools"
                   - Preferences...
                   Expand the "[+] Database
                   Choose "Third Party JDBC Drivers"
                   Click "Add Entry"
                   Then Browse for your copy of "{$sqldevhome}\jlib\jtds-1.2.2.jar"
                   Note: Use the jar filename, not its parent directory for entry.
    7) Restart SQL Developer and try your SQL Server 2000 Connection

  • Oracle SQL Developer vs Oracle SQL Developer Migration Workbench

    Gurus,
    Can anybody let me know what's the difference between Oracle SQL Developer vs Oracle SQL Developer Migration Workbench tools.
    I am in the process of Migrating MS-Access Application to APEX. So the example says me to use Oracle SQL Developer Migration Workbench. Is this part of Oracle SQL Developer? If yes, I know SQL Developer is free.
    If not is Oracle SQL Developer Migration Workbench if free?
    Thanks and Regards

    Thank Oracle ;)
    (well, it's the least they can do after you paid big $$$ for the database)
    Regards,
    K.

  • SQL Developer vs. SQL*Plus Performance???

    Hi,
    DB: Oracle 10.2.0.3.0
    SQL Developer: 1.2.0
    SQL*Plus: 10.2.0.3.0
    I am running the same query once in SQL Developer (Response time 10 sec.)
    The same query in SQL*Plus takes over 20 Minutes.
    SQL*Plus is using SQL*Net right?
    Is that the reason?
    Thanks

    Hi,
    how can I check for SQL Developer?
    Does SQL Developer use SQL*Net also?
    I changed the arraysize to 1000
    but does not see any performance gain.
    The query still taking more than 6 minutes.
    The same in SQL Developer runs within 10 seconds!
    Thanks

  • Server can't see itself on network, other devices can

    When I create a Network user either using Server app or Workgroup manager home folder is not created. I started digging and I found that all devices on the network can see and access server's afp, but server can't see itself on network. On everyone's computer's "server" is shown inside finder, but if I open server's finder I can only see other's computers but I can't see server.
    I've tried opening afp://(IP ADDRESS), afp://(DOMAIN), afp://localhost and none of this work inside server. DNS is fine, users can log and see files, etc. The only thing not working is afp from within the server and therefore user's accounts can't be created.
    As a background I have a mac mini running under Mountain Lion with OS Server. I had an issue with Open Directory on which I couldn't edit/create/delete any user so I erased the OD Database and started over again.
    Any idea will be very appreciated.
    Thanks All !!!

    Thanks a lot for your quick response, I'm not sure if I'm doing this correctly but if I use anything with afp.XXXX I get an error saying afp.XXXX.com not found (NXDOMAIN) but also I don't have any server named "afp".
    If I use it without "afp." I get:
    Using domain server:
    Name: 192.168.3.254
    Address: 192.168.3.254#53
    Aliases:
    (server).com has address 192.168.3.254
    or if I use 192.168.3.1 (main router) I get the public IP since everything is forwarded to that server (is the onlyone on the network).
    For checking DNS I used changeip -checkhostname and I get:
    Primary address     = 192.168.3.254
    Current HostName    = (server).com
    DNS HostName        = (server).com
    The names match. There is nothing to change.
    dirserv:success = "success"
    When I connect my clients to VPN I don't have any DNS issues.
    I also thought it was a DNS problem but FTP, Web, and everything else works within the server, within the network and for external networks, AFP is the onlything not working.
    Please let me know if you need any information, I really appreciate your help since this is anoying and I can't create folders for new users even if I use "createhomedir" command.
    Thanks!!

  • Why i can't see table, image, attacth files in meeting request mail.

    Hi, I'm Narongdech
    i have a little question in outlook 2013. Why i can't see table, image, attacth files in meeting request mail. i try make a new meeting request for my partner. but them can't see new mail in the correct format. 
    below,This is a image in my outlook 2007. i try to make this format. Please Help me, and let me know that.
    Thank you.

    Hi Narongdech,
    What’s your Exchange server version? I have tested to send a meeting request to my colleague with a table, a PNG picture and a word attachment in my Outlook 2013 with Exchange 2010 environment. And it can be viewed well.
    Please check whether the issue happens to all Outlook 2013 users or some specific ones. We can close Outlook and send a meeting request with pictures and attachments in OWA to have a test. If the OWA test returns everything is OK, the issue may be related
    to Outlook client. Please run Outlook in safe mode and disable all related mail software to check whether the issue persists.
    Thanks,
    Winnie Liang
    TechNet Community Support

  • Issue with SQL Developer connect to SQL server

    I'm using "SQL Developer 2.1.1.64.45" to work on a migration project which needs to convert a SQL server database to a Oracle 11g database. But I got an issue when I setup the SQL server connection. The SQL Developer let me connect by selecting a SQL server database name (For example: Northwind), but once connected, it always connected to "master" database instead. The "SQL Developer" is running on Windows 7 Professional (x64) platform. My Oracle database is 11g, and SQL server database is SQL 2005. And my SQL server instance name is "SQL2005". Anyone have ever experienced this problem? Thanks in advance.
    Edited by: user8276338 on Feb 8, 2011 1:05 PM

    Hi Bob,
    Thanks for the feedback, lets stick with SQL Developer 3.
    Correct me if I'm wrong,
    You attempted to migrate from SQL Server to Oracle including target generation and datamove in one go, by filling in each step of the migration wizard to the end.
    During the datamove you got
    ORA-01000:maximum open cursor exceeded
    So it looks like SQL Developer during the migration is not closing cursors fast enough and hits the maximum number of open cursors in your Oracle database.
    I think the default max open cursors is 300 in Oracle.
    There are a few things we can do here.
    You should be able to see the new migration project in your Migration Projects navigator.
    By navigating down the project tree to "Converted Database Objects" we can attempt the data move again by right clicking and choosing "Data Move".
    But first I would restart SQL Developer so as to free up any lingering open cursors.
    That may allow you to complete the data move, as the only cursors being open are being used in the data move and not some cursors which may have been left open from previous steps in the migration.
    Now from my perspective I would like to identify where are we leaving open the cursors, so I'm going to setup some testcases my end to see if I can replicate.
    From your perspective Id presume you just want to move on with the migration.
    So if the above (shutdown and attempt just the data move) doesnt workyou could
    A) Increase the MAX OPEN CURSORs on your Oracle databases so it complete the data move
    or
    B) Use the offline data move technique.
    A) Increase MAX OPEN CURSORs
    This wiki explains how to do that, looks like 1000 is fairly common, but even a much larger number is not a problem
    http://wiki.oracle.com/page/OPEN_CURSORS
    ALTER SYSTEM SET OPEN_CURSORS = 10000;
    OR
    B) Offline Data Move
    If you are moving large amounts of data (say > 1GB), then the standard data move (we call it online), which just uses JDBC to SELECT * FROM and INSERT INTO may not cut the mustard.
    In this case you can try using our offline technique. SQL Developer will generate a set of scripts for you.
    unload_script.bat will use SQL Servers BCP tool to dump out the table data into DAT files.
    oracle_ctl.bat will load the data in the DAT files into Oracle.
    As we know the names of all the tables, columns ,both SQL Server and Oracle, we can generate fairly good scripts.
    The benefit of this technique is large amounts of data can be migrated and you get to use tools designed to dump data and load in data, so you have better error logging and tweaking.
    To attempt this in the Migration Wizard , Data Move page, select offline.
    If you can describe your database a bit (number of tables, number of procedures, amount of data to migrate) I may be able to define my testcase better so I can replicate the issue.
    Thanks
    Dermot
    SQL Developer Team.

  • SQL developer connect to SQL server database

    Hi Friends,
    I have a sql developer 3.2. I download jtds1.2 as a thirty part driver in window. It works and SQL server tab appear on connection window.
    But Retrieve database button does not work and not able to enter a sql database name.
    Without database name , I got error message as failure 0 test failed:unknow server host name 'CACI1111\SQLEXPRESS'. I use defolt 1433 port.
    However, I can open SQL server 2008 express in my local PC.
    What  do I need to do it?
    Thanks
    newdba

    Hello,
    my syntax to connect to a non-local SQL Server 2005 Express database is nn.nn.nn.nn/testdb in the hostname field, where nn.nn.nn.nn is the IP address of the other PC and testdb is the name of the database.
    Regards
    Wolfgang

  • Sql developer 3.0 - SQL Server tab missing

    Hi There,
    I use SQL Developer 3.0. I only see two tabls in New Database connection screen, Oracle and Access, I need to connect to Microsoft SQL Server, but there is no tab on this.
    How do I get this resolved.
    Thanks

    wvu1999 wrote:
    Jim, I've tried this. Downloaded the official JDBC drivers from MSFT
    [Microsoft SQL Server JDBC Driver 2.0|http://www.microsoft.com/downloads/en/details.aspx?FamilyID=99b21b65-e98f-4a61-b811-19912601fdc9]
    Pointed SQL Developer to the .jar (actually MSFT gives us 2 to choose from)
    SQL Developer shows nothing new on the Connection dialog.
    Ideas?READ THE MANUAL!!!
    The microsoft driver is not supported.

  • Sql Developer wont convert Sql Server to Oracle lob w Oracle 11gr2 client

    I have the Sql Developer 2.1.1.64 loaded on a Windows machine accessing Oracle 11g release 2 database on a linux box with no jre. I have the latest version of java (1.6.0.21) and jdk (6 u 21). When I loaded Oracle 11g r2 client onto my windows box, all sql server tables could be moved to my Oracle repository except tables that converted from a Sql Server 2005 type of nvarchar(max) to nclob. I would just get every row in the error column during the move.
    Turns out when I uninstalled the Oracle 11g r2 client and installed the Oracle 11g r1 client, it worked.

    I'm afraid you're in the wrong forum. This is the Berkeley DB Java Edition forum.
    --mark                                                                                                                                                                                   

  • SQL Developer / JDK On Windows Server 2008 64 bit R2

    Does anyone have the recipe to fix the annoying message:  "Cannot find a J2SE installed at path:  C:\Program Files\Java\jre6"?  I get the same message, when trying to set up and run SQL Developer on a Windows 2008 server with SQL Developer 32 bit, Java 1.6 and Java 1.7 32 bit, and now trying with SQL Developer 64-bit with JDK 64 bit.  Thank-you.

    SQL Developer requires a JDK, not a JRE.  When you are asked to select the path you need to into "C:\program files\jdk1.6.0_35\bin" (or whatever) rather the the jre6 directory.
    If you are using SQLDeveloper 3.2, then you need to be using the latest JDK 1.6 release.  The bittage of the JDK should match your SQL Developer (and your oracle client if you are using one).

  • Does SQL Developer has login.sql script where I can put all the env SQLs?

    Hello community,
    Please help me out with a simple question.
    Each time I start SQL Developer (3.1) and connect to a database I need to run:
    alter session set nls_date_format='YYYY.MM.DD HH24:MI:SS';
    to set data fields format to reflect hours, minutes and seconds.
    Can I automate it? I use login.sql in SQL Plus tro setup environment including data formant .
    How to do it in SQL Dev?
    Thank you in advance,
    Yury

    Hi Yury,
    You have a choice:
    1. Specify the login script via Tools|Preferences|Database|Filename for the connection startup script.
    2. Specify the value of nls_date_format directly via Tools|Preferences|NLS|Date Format (and perhaps additionally the Timestamp formats).
    Recall that not all SQL*Plus commands are supported by Worksheet, but alter session does in fact work just fine.
    Regards,
    Gary
    SQL Developer Team

  • Digger SQL Developer extension 1.1 - How can I make this work?

    I installed it and averything looks fine but I cannot find the option to use it, Does any one knows how to make it work?
    Regards

    Sorry for overlooking this message. Just in case you still need it (yeah, i know :)) it's very easy to use, although I must admit it may be a little confusing at first. Basically you just have to open a trace file, i.e. file with an extension .trc. Digger is triggered by this extension and opens its window inside SQL Developer.
    Dmitry Skavish
    http://www.fourthelephant.com

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

Maybe you are looking for