Oracle sql developer issue...

Hi,
I am using "Oracle Sql Developer" to access the database.I am not able to see any existing table when click on "Tables" in the object browser.But i am able to query the table.
Can some one tell me how can make oracle sql developer tool to show the objects.
Thanks.

Hi,
Did you create the table after creating a connection? If yes, you can probably try a disconnect (right click on the connection and choose) and then connect again (or click on the refresh icon). A
By the way, there is a dedicated forum for [SQL Developer|http://forums.oracle.com/forums/forum.jspa?forumID=260] . You might want to post this question there, if it hasn't resolved by the steps I gave.
-Arun

Similar Messages

  • Oracle SQL Developer issue when using VPN (Cisco)

    All,
    We've got a somewhat obscure issue with SQL Developer connectivity to our databases from a remote employee's laptop.
    The database is hosted inside our firewall and when the employee tries to connect to the database he receives the following error:
    +"Error Encountered: An error was encountered performing the requested operation: The network adaptor could not establish the connection. Vendor Code 20"+
    I believe I may have seen the following error at one point as well...
    Status : Failure -Test failed: IO Error: The Network Adapter could not establish the connection
    Note: He gets this error when logged into our VPN & while he can connect via SQL*Plus to that same database. He gets the error regardless if he uses the tnsnames entry option in SQL Developer or if he is using the "Basic" connection type.
    What's interesting is that if he disconnects from the VPN, turns off his wireless connectivity and then hard-wires into our network he can connect, no issue.
    The strangest part for me is that while he can not connect to the database via SQL Developer, he can connect via SQL*Plus. He can ping the source IP address fine, he can tnsping the database no problem, he can connect via SQL*Plus, he just can't connect via SQL*Developer. Since SQL*Plus and tnsping are working, I know he can access the db server via port 1521, so I don't think it's a port issue.
    Another strange thing: When he connects to our network via an "old" VPN (open VPN) he has no issues.
    His machine is Windoz 64 bit (HP laptop) and he's using the latest version of SQL Developer and a newer JVM.
    Also interesting: I also have a Windoz 64 bit laptop (Lenovo) and I do not have the same issues as he does. I however am running an older version of SQL Developer and probably an older JVM.
    I dug around a bit, seems like perhaps this has something to do with IPv6? No idea what to do next except have my network guy look at firewall logs to try to capture where the connectivity is being dropped.
    Any thoughts or suggestions would be appreciated. I've tried all kinds of things (giving him my tnsnames.ora and sqlnet.ora file, manually editing those files, tried IP addresses instead of host names, tried host names with the .doman.org extensions, etc.).
    Again, any suggestions would be appreciated and thank you very much.
    Rich
    Edited by: rmurnane on Oct 23, 2012 10:58 AM

    Since SQLPlus is installed and works fine you could try to set
    Tools -> Preferences -> Database -> Advanced -> Use OCI/Thick driverThis should enable SQLDeveloper to use the same oracle client SQLPlus is using to connect to the database.
    Mind that by setting this option you need to have an 11g client (or instant client) installed that matches the ojdbc6.jar version used by SQLDeveloper, so if you are using an older client this may not be a usable solution.

  • Oracle 11g - External Table/SQL Developer Issue?

    Oracle 11g - External Table/SQL Developer Issue?
    ==============================
    I hope this is the right forum for this issue, if not let me, where to go.
    We are using Oracle 11g (11.2.0.1.0) on (Platform : solaris[tm] oe (64-bit)), Sql Developer 3.0.04
    We are trying to use oracle external table to load text files in .csv format. Here is our data look like.
    ======================
    Date1,date2,Political party,Name, ROLE
    20-Jan-66,22-Nov-69,Democratic,"John ", MMM
    22-Nov-70,20-Jan-71,Democratic,"John Jr.",MMM
    20-Jan-68,9-Aug-70,Republican,"Rick Ford Sr.", MMM
    9-Aug-72,20-Jan-75,Republican,Henry,MMM
    ------ ALL NULL -- record
    20-Jan-80,20-Jan-89,Democratic,"Donald Smith",MMM
    ======================
    Our Expernal table structures is as follows
    CREATE TABLE P_LOAD
    DATE1 VARCHAR2(10),
    DATE2 VARCHAR2(10),
    POL_PRTY VARCHAR2(30),
    P_NAME VARCHAR2(30),
    P_ROLE VARCHAR2(5)
    ORGANIZATION EXTERNAL
    (TYPE ORACLE_LOADER
    DEFAULT DIRECTORY P_EXT_TAB_D
    ACCESS PARAMETERS (
    RECORDS DELIMITED by NEWLINE
    SKIP 1
    FIELDS TERMINATED BY "," OPTIONALLY ENCLOSED BY '"' LDRTRIM
    REJECT ROWS WITH ALL NULL FIELDS
    MISSING FIELD VALUES ARE NULL
    DATE1 CHAR (10) Terminated by "," ,
    DATE2 CHAR (10) Terminated by "," ,
    POL_PRTY CHAR (30) Terminated by "," ,
    P_NAME CHAR (30) Terminated by "," OPTIONALLY ENCLOSED BY '"' ,
    P_ROLE CHAR (5) Terminated by ","
    LOCATION ('Input.dat')
    REJECT LIMIT UNLIMITED;
         It created successfully using SQL Developer
    Here is the issue.
    It is not loading the records, where fields are enclosed in '"' (Rec # 2,3,4,7)
    It is loading all NULL value record (Rec # 6)     
    *** If we remove the '"' from input data, it loads all records including all NULL records
    Log file has
    KUP-04021: field formatting error for field P_NAME
    KUP-04036: second enclosing delimiter not found
    KUP-04101: record 2 rejected in file ....
    Our questions
    Why did "REJECT ROWS WITH ALL NULL FIELDS" not working?
    Why did Terminated by "," OPTIONALLY ENCLOSED BY '"' not working?
    Any idea?
    Thanks in helping.

    I don't think this is a SQLDeveloper issue. You will get better answers in the Database - General or perhaps SQL and PL/SQL forums.

  • Issue during migrating from Sybase to Oracle using Oracle SQL Developer

    I am using SQL Developer v 3.2.20.09 to migrate from Sybase to Oracle Pl/SQL 12c
    While migrating the stored procedure the following block did not convert. I got NULL instead of object_id:
    Sybase Block:
    IF OBJECT_ID(‘dbo.CheckEst’) IS NOT NULL
    BEGIN
    DROP PROCEDURE dbo.CheckEst
    IF OBJECT_ID(‘dbo.CheckEst’) IS NOT NULL
    PRINT ‘<<>>’
    ELSE
    PRINT ‘<<>>’
    END
    Oracle Block after conversion:
    BEGIN
    IF NULL/*TODO:OBJECT_ID(‘dbo.CheckEst’)*/ IS NOT NULL THEN
    BEGIN
    DROP PROCEDURE CheckEst;
    IF NULL/*TODO:OBJECT_ID(‘dbo.CheckEst’)*/ IS NOT NULL THEN
    DBMS_OUTPUT.PUT_LINE(‘<<>>’);
    ELSE
    DBMS_OUTPUT.PUT_LINE(‘<<>>’);
    END IF;
    END;
    END IF;
    END;
    Lines 1 & 4 got converted to NULL. I have many places where such code is written.
    Is there any quick way to overcome such an issue? or what needs to be done in such case?

    Hi,
      You are using an older version of SQL*Developer.  Could you download the latest 4.0.2 version available from here -
    Oracle SQL Developer
    and check if you still have the problem ?
    Regards,
    Mike

  • Oracle SQL Developer 3.0: PL/SQL debugging of anonymous blocks: ISSUES

    Hello,
    I just downloaded the Oracle SQL Developer 3.0. I have been using the EA releases as they came into existence and was happy to see the released version. So I immediately tried to debug an anonymous block (something I did not try to do in the EA releases), and nothing happened.
    The "Debug" was grayed out and the key-chord "ctrl-shift-F10" did nothing. I found this forum:
    Re: 30EA1: anonymous block debugging?
    and followed Vadim Tropashko's advice. This did nothing for my anon. block but worked fine for the simple example.
    So I started to whittle my anon. block down to find the culprit, here is a repeatable breaking point for me:
    declare
        stmt1 long;
        stmt2 long;
        stmt3 long;
        stmt4 long;
        p_data varchar2( 500 );
        i      varchar2( 10 );
    BEGIN
        STMT1 := 1;
        STMT2 := 1;
        STMT3 := 1;
        STMT4 := 1;
        --the moment this is in the block "Debug" is no longer an option
         select
            SendDocumentResult
           into
            p_data
           from
            XMLTABLE( '/data'
                    PASSING
                    xmltype.createxml( '<?xml version="1.0" encoding="utf-8"?><data><SendDocumentResult>test</SendDocumentResult></data>' )
                    COLUMNS SendDocumentResult varchar2( 1000 ) PATH 'SendDocumentResult' ) ;
    end;The moment I have the SELECT INTO ... XMLTABLE() it fails (a normal SELECT INTO works just fine).
    Is this a problem with my environment or is a problem with SQL Developer 3.0.04. Looking over K's comments, it seems the debug worked for 'simple' blocks, so I wonder if this is just out-of-scope...
    My environment:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production    
    PL/SQL Release 11.2.0.1.0 - Production                                          
    CORE     11.2.0.1.0     Production                                                        
    TNS for IBM/AIX RISC System/6000: Version 11.2.0.1.0 - Production               
    NLSRTL Version 11.2.0.1.0 - Production
    and Oracle SQL Developer
    3.0.04 (Buld Main 04.34 with bundled Java) on a Window's XP box.

    Thanks, I'll survive. Just my luck, the first item I try to anon. debug didn't work! :)
    thanks, hopefully this problem will be few and far between

  • Issue with Oracle SQL Developer

    I use a oracle database for my process (LMS relared stuff)
    When i write a query which is expected to pull thousands and thousands of records. Why do i need to keep scrolling down to fetch more records.
    Why will it not pull all the records?
    I need to keep scrolling down till i get all the records.
    Any solution?
    (I'm using it for the first time in my life. i'm just 3 day old to this software)
    My O/S: Win XP Professional with 1gb of RAM.
    Oracle SQL Developer Version: 1.2.1 Build Main-32.13
    Is any other information required???
    Message was edited by:
    user599780

    This will be in the next release. However, if you want to put this in now you can make an extension ( there's examples on my blog) and put this chuck of code in:
    Connections.getInstance().addConnectionListener(new ConnectionListener() {
                   public void connectionAdded(ConnectionEvent evt) {}
                   public void connectionClosed(ConnectionEvent evt) {}
                   public void connectionModified(ConnectionEvent evt) {}
                   public void connectionOpened(ConnectionEvent evt) {
    Connection conn = Connections.getInstance().getConnection(evt.getConnectionName());
    if (conn instanceof OracleConnection){                                   
    ((OracleConnection)conn).setDefaultRowPrefetch(DBConfig.getInstance().getInt(DBConfig.ARRAYFETCHSIZE));
                   public void connectionRemoved(ConnectionEvent evt) {}
                   public void connectionRenamed(ConnectionEvent evt) {}
    });

  • Copying from Oracle SQL Developer to Microsoft Word doesn't retain formatting (Font,colors etc)

    Copying from Oracle SQL Developer Worksheet doesn't retain formatting (font,color etc...)in Microsoft Word but copying from other programs such as
    visual studio, chrome browser etc works fine. This doesn't work even after changed the setting to Keep Source formatting of Options-> Copy and Paste Settings

    Hi,
    I notice that you have cross posted in Answers forum and Oracle forum. Have you tried Mr. Peter's suggestion?
    Then, I recommend we check the Word settings:
    1. Go to: Options > Advanced > Cut, Copy and Paste
    2.  Make sure that Use smart cut and paste is ticked. 
    3. Click the Settings button next to this option
    4. Make sure that Smart Style
    Behavior is checked.
    If the issue still exists, please upload a sample through One Drive, I want to test.
    Regards,
    George Zhao
    TechNet Community Support

  • How to get all tables in oracle sql developer with MS SQLServer

    Hi All,
    I am using microsoft SQL server 2000. For displaying the tables and other stuff i am using oracle SQL developer tool. The problem is when i connect to sql developer with oracle database i can see all the tables in that database. But when i connect to MS SQL server database it is not showing all the tables in that database. I don't know why?.
    i tried doing the samething using another tool called Aqua Data Studio , there i can able to see all the tables in microsoft SQL server 2000.
    do you have any knowledge regarding this, why i am not getting all the tables in oracle sql developer when i connect to microsoft SQL server 2000.

    Same issue here. Haven't found the answer yet..

  • Oracle SQL Developer freezes and locks up computer randomly

    I attempted to find a solution to this before posting. I looked through the first 40 pages of this forum and on Google, through the Developer documentation, etc. with no luck.
    The problem: while using Oracle SQL Developer, the computer randomly freezes. Things work, but it hangs too often and for too long to use. This is random - it can happen every 10 seconds or every 2 minutes. The mouse will lock up, and the keyboard buffer will get all messed up. For instance, if it happens to freeze while I'm hitting "backspace", it will delete many lines of text (I've lost a bit of work because of this in the past). The freezing will last about 2 to 20 seconds, and the only way out of it is to ctrl+alt+delete and kill SQL Developer.
    If SQL Developer is running, and I'm in a different window - it will freeze the other windows as well. Again, it's impossible to use unfortunately. My coworker doesn't have the same problem, and he's connecting to the same database with the same version using Windows Vista. It must be something on this computer. I reformatted about 1 month ago, so it's a pretty fresh install and I haven't installed much of anything yet.
    I'm using Windows Vista Enterprise 32-bit w/SP1.
    This was occurring with older versions of SQL Developer (1.2). I'm using the newest install that included the Java JDK. I've completely removed Java, my Oracle installs, and a host of other attempts to fix this, and nothing changes. I've tried running the .exe in the bin directory as administrator as well.
    Currently using Oracle Developer 1.5.1.54.40.
    Any ideas?

    I tried dumping the contents, but the java dump wasn't showing anything at all, and it would never freeze while I had the console window in focus, so it wasn't very helpful unfortunately.
    I fixed this issue by uninstalling the Java runtime on this machine and installing the Java JDK 6 Update 7 from java.sun.com/javase/downloads . I then downloaded the SQL Developer 1.5.1 version without the Java runtime included, and pointed it to the Update 7 .exe file upon first load.
    I was using JDK 6 Update 6 previously, and it must have been behind the errors. Note that the Update 7 has to be downloaded from that website as it's a new version that hasn't been posted on the regular java.com site yet.
    Message was edited by:
    user645599

  • Oracle SQL Developer 2.1 EA1 and 1.5.5 not working on MacOS X Snow Leopard

    Currently, the Oracle SQL Developer 2.1 EA1 and 1.5.5 are not working on MacOS X Snow Leopard. Is there a plan to support the actual version of OS X?
    When I try to start the MacOS X-Download I always get the following errors using MacOS X 10.6.1:
    ./sqldeveloper.sh oracle.classloader.util.AnnotatedNoClassDefFoundError:
         Missing class: oracle.ide.Version
         Dependent class: oracle.ide.IdeCore
         Loader: main:11.0
         Code-Source: /Users/dus/Downloads/sqldeveloper-1.5.5.59.69-macosx/SQLDeveloper.app/Contents/Resources/sqldeveloper/ide/extensions/oracle.ide.jar
         Configuration: system property PCLMain.createExtensionManagerLoader()
    The missing class is not available from any code-source or loader in the system.
         at oracle.classloader.PolicyClassLoader.handleClassNotFound (PolicyClassLoader.java:2176) [Users/dus/Downloads/sqldeveloper-1.5.5.59.69-macosx/SQLDeveloper.app/Contents/Resources/sqldeveloper/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@2039559412]
         at oracle.classloader.PolicyClassLoader.internalLoadClass (PolicyClassLoader.java:1729) [Users/dus/Downloads/sqldeveloper-1.5.5.59.69-macosx/SQLDeveloper.app/Contents/Resources/sqldeveloper/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@2039559412]
         at oracle.classloader.PolicyClassLoader.loadClass (PolicyClassLoader.java:1685) [Users/dus/Downloads/sqldeveloper-1.5.5.59.69-macosx/SQLDeveloper.app/Contents/Resources/sqldeveloper/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@2039559412]
         at oracle.classloader.PolicyClassLoader.loadClass (PolicyClassLoader.java:1670) [Users/dus/Downloads/sqldeveloper-1.5.5.59.69-macosx/SQLDeveloper.app/Contents/Resources/sqldeveloper/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@2039559412]
         at java.lang.ClassLoader.loadClassInternal (ClassLoader.java:399) [jre bootstrap, by jre.bootstrap:1.6.0_15]
         at oracle.ide.IdeCore.$init$ (IdeCore.java:169) [Users/dus/Downloads/sqldeveloper-1.5.5.59.69-macosx/SQLDeveloper.app/Contents/Resources/sqldeveloper/ide/extensions/oracle.ide.jar (from system property PCLMain.createExtensionManagerLoader()), by main:11.0]
         at oracle.ide.IdeCore.<init> (IdeCore.java:176) [Users/dus/Downloads/sqldeveloper-1.5.5.59.69-macosx/SQLDeveloper.app/Contents/Resources/sqldeveloper/ide/extensions/oracle.ide.jar (from system property PCLMain.createExtensionManagerLoader()), by main:11.0]
         at oracle.ideimpl.DefaultIdeCore.<init> (DefaultIdeCore.java:64) [Users/dus/Downloads/sqldeveloper-1.5.5.59.69-macosx/SQLDeveloper.app/Contents/Resources/sqldeveloper/ide/lib/ideimpl.jar (from system property PCLMain.createExtensionManagerLoader()), by main:11.0]
         at oracle.ideimpl.DefaultIdeCore.<init> (DefaultIdeCore.java:69) [Users/dus/Downloads/sqldeveloper-1.5.5.59.69-macosx/SQLDeveloper.app/Contents/Resources/sqldeveloper/ide/lib/ideimpl.jar (from system property PCLMain.createExtensionManagerLoader()), by main:11.0]
         at oracle.ideimpl.Main.start (Main.java:109) [Users/dus/Downloads/sqldeveloper-1.5.5.59.69-macosx/SQLDeveloper.app/Contents/Resources/sqldeveloper/ide/lib/ideimpl.jar (from system property PCLMain.createExtensionManagerLoader()), by main:11.0]
         at oracle.ideimpl.Main.main (Main.java:72) [Users/dus/Downloads/sqldeveloper-1.5.5.59.69-macosx/SQLDeveloper.app/Contents/Resources/sqldeveloper/ide/lib/ideimpl.jar (from system property PCLMain.createExtensionManagerLoader()), by main:11.0]
         at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native method) [unknown, by unknown]
         at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:39) [unknown, by unknown]
         at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25) [unknown, by unknown]
         at java.lang.reflect.Method.invoke (Method.java:597) [unknown, by unknown]
         at oracle.ide.boot.PCLMain.callMain (PCLMain.java:66) [Users/dus/Downloads/sqldeveloper-1.5.5.59.69-macosx/SQLDeveloper.app/Contents/Resources/sqldeveloper/ide/lib/ide-boot.jar, by sun.misc.Launcher$AppClassLoader@2039559412]
         at oracle.ide.boot.PCLMain.main (PCLMain.java:58) [Users/dus/Downloads/sqldeveloper-1.5.5.59.69-macosx/SQLDeveloper.app/Contents/Resources/sqldeveloper/ide/lib/ide-boot.jar, by sun.misc.Launcher$AppClassLoader@2039559412]
         at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native method) [unknown, by unknown]
         at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:39) [unknown, by unknown]
         at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25) [unknown, by unknown]
         at java.lang.reflect.Method.invoke (Method.java:597) [unknown, by unknown]
         at oracle.classloader.util.MainClass.invoke (MainClass.java:128) [Users/dus/Downloads/sqldeveloper-1.5.5.59.69-macosx/SQLDeveloper.app/Contents/Resources/sqldeveloper/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@2039559412]
         at oracle.ide.boot.IdeLauncher.bootClassLoadersAndMain (IdeLauncher.java:190) [Users/dus/Downloads/sqldeveloper-1.5.5.59.69-macosx/SQLDeveloper.app/Contents/Resources/sqldeveloper/ide/lib/ide-boot.jar, by sun.misc.Launcher$AppClassLoader@2039559412]
         at oracle.ide.boot.IdeLauncher.launchImpl (IdeLauncher.java:90) [Users/dus/Downloads/sqldeveloper-1.5.5.59.69-macosx/SQLDeveloper.app/Contents/Resources/sqldeveloper/ide/lib/ide-boot.jar, by sun.misc.Launcher$AppClassLoader@2039559412]
         at oracle.ide.boot.IdeLauncher.launch (IdeLauncher.java:66) [Users/dus/Downloads/sqldeveloper-1.5.5.59.69-macosx/SQLDeveloper.app/Contents/Resources/sqldeveloper/ide/lib/ide-boot.jar, by sun.misc.Launcher$AppClassLoader@2039559412]
         at oracle.ide.boot.IdeLauncher.main (IdeLauncher.java:55) [Users/dus/Downloads/sqldeveloper-1.5.5.59.69-macosx/SQLDeveloper.app/Contents/Resources/sqldeveloper/ide/lib/ide-boot.jar, by sun.misc.Launcher$AppClassLoader@2039559412]
         at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native method) [unknown, by unknown]
         at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:39) [unknown, by unknown]
         at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25) [unknown, by unknown]
         at java.lang.reflect.Method.invoke (Method.java:597) [unknown, by unknown]
         at oracle.ide.boot.Launcher.invokeMain (Launcher.java:729) [Users/dus/Downloads/sqldeveloper-1.5.5.59.69-macosx/SQLDeveloper.app/Contents/Resources/sqldeveloper/ide/lib/ide-boot.jar, by sun.misc.Launcher$AppClassLoader@2039559412]
         at oracle.ide.boot.Launcher.launchImpl (Launcher.java:115) [Users/dus/Downloads/sqldeveloper-1.5.5.59.69-macosx/SQLDeveloper.app/Contents/Resources/sqldeveloper/ide/lib/ide-boot.jar, by sun.misc.Launcher$AppClassLoader@2039559412]
         at oracle.ide.boot.Launcher.launch (Launcher.java:68) [Users/dus/Downloads/sqldeveloper-1.5.5.59.69-macosx/SQLDeveloper.app/Contents/Resources/sqldeveloper/ide/lib/ide-boot.jar, by sun.misc.Launcher$AppClassLoader@2039559412]
         at oracle.ide.boot.Launcher.main (Launcher.java:57) [Users/dus/Downloads/sqldeveloper-1.5.5.59.69-macosx/SQLDeveloper.app/Contents/Resources/sqldeveloper/ide/lib/ide-boot.jar, by sun.misc.Launcher$AppClassLoader@2039559412]

    You have started this annoying discussion.
    I don't have any problems with my OS instead of you.
    I have already told you what to do, if you have no idea how to do that just go and buy yourself another support subscription from your mac support.
    The missing class is not available from any code-source or loader in the system. check that.
    what version of JAVA do you have in your fancy OS? most of the time upgrade java to the latest version will fix the issues.
    Update java from sun website not from another mac tore.

  • BUG in Oracle SQL Developer 3.0.04 on the "generating DLL" with comments?

    I'm newbie on oracle, but I think that I found out a bug in Oracle SQL Developer version 3.0.04 on the "generating DLL" tool using "comments".
    I will describe the steps that I gave:
    I created a view, but after I test it I had to change my “where” condition, so I comment the old code and then I wrote the new “where” condition below. After I done that I tried to look at the sql code of my view using “generating DLL” tool, but oracle sql developer only shown me half of the code, a lot of code were missing. Then I began with some test trying to understand what happen and I notice that if I put an invalid sql code in my comment the generating DLL start working with no problems, for example(pseudo-code):
    (COMMENT WITH VALID SQL CODE the "Generating SQL" don't work:)
    CREATE OR REPLACE VIEW <user>.<view_name> ( <column1>,<column2> )
    AS
    SELECT column1, column2
    FROM table1
    INNER JOIN
    (SELECT
    FROM table2
    INNER JOIN .....
    INNER JOIN ....
    --where time_stamp = (select max(time_stamp) from .....)
    WHERE time_stamp >= TRUNC(sysdate)
    ) t1 ON t1.ID = ....
    AND ..... >= TRUNC(sysdate)
    ORDER BY ....
    Generating DLL returns this(when the error occurs):
    CREATE OR REPLACE VIEW <user>.<view_name> ( <column1>,<column2> )
    AS
    (COMMENT WITH VALID SQL CODE the "Generating SQL" work with no problems:)
    CREATE OR REPLACE VIEW <user>.<view_name> ( <column1>,<column2> )
    AS
    SELECT column1, column2
    FROM table1
    INNER JOIN
    (SELECT
    FROM table2
    INNER JOIN .....
    INNER JOIN ....
    --where
    WHERE time_stamp >= TRUNC(sysdate)
    ) t1 ON t1.ID = ....
    AND ..... >= TRUNC(sysdate)
    ORDER BY ....
    I believe that "Generating DLL" tool have some problem with the comments, I also used /*...*/ to comment but the problem is still active.
    I notice as well that if I started to add some more comments along the code, the conditions migth change, so I think the problem is related with "comments" code.
    Would you mind telling me if this is a real bug or if I'm doing anything wrong.
    Thank you in advance,
    Rodrigo Campos
    Edited by: 894886 on 3/Nov/2011 5:29

    Hi Rodrigo,
    Thank you for reporting this. The only bug I see currently logged on a comment affecting the generated View DDL involves ending the last line of the definition with a comment, which treats the ending semi-colon (even if on a different line) as part of the comment. That is actually related to a low-priority bug against an Oracle database API.
    Unfortunately, your pseudo-code is a bit complex. Trying a few quick, simpler tests against the standard HR schema did not reproduce the issue. I tried INNER JOIN, and nested SELECTs. It would help greatly if you could provide a test case compilable against one of the standard schema, like HR or SCOTT.
    Regards,
    Gary
    SQL Developer Team

  • Hi, i am new to oracle, SQL DEVELOPER:- ERROR:- ORA-01918

    Hi,
    I am new to oracle, and i have installed Oracle database 12c enterprise edition, and oracle jdeveloper 12c for adf web application development,
    I created a database and a new connection in it using sql developer, however while trying to create new user with the name db1 by right clicking on other users. by following the instructions in oracle documentation site. i get the error that new user db1 doesnt exist, and gives error:- ORA-01981. i even tried by changing the username as i thought may be it doesnt support alphanumeric name, but still i get the same error.
    So please tell me how to create a new user. is there any way to get out of this ora:-01918, as i googled and it says this is a bug.
    My os is win 7 x64(amd processor ).
    Thank you
    Baldwin

    A new user (called a schema in Oracle) is created using the CREATE USER SQL command. You need to be signed in as the SYS schema/user or as a schema that has been granted the rights to create schemas.
    12c database comes in two basic flavours. Container database (containing pluggable databases). Standard database. If connected to a container database, you cannot create standard user schemas - you need to be connected to a pluggable database.
    Also, your question has no relevance to either the SQL or PL/SQL languages - the subject matter of this forum. Please repost your question to a more appropriate forum dealing with SQL-Developer issues.

  • ODM within Oracle SQL Developer 3.0 , no progress during Workflow creation

    Hi,
    I am trying to follow the instructions mentioned at http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r2/prod/bidw/datamining/ODM11gR2.htm
    In the "Create a Workflow and Add a Data Source" section when i try to create a new New Workflow from the menu, the Oracle SQL Developer 3.0 just shows a progress bar pop up with message "Validating and Updating Workflow". The workflow does not gets created even after 6 hours while the progress bar keeps moving. I tried it several times but no luck and hence not able to move further.
    Thanks in advance for the help.

    Hi,
    Are you using the SQL Developer 3.0 Production Release?
    Can you try again, but this time launch SQL Developer using the following file:
    C:\<SQLDEVELOPER INSTALL DIRECTORY>\sqldeveloper\sqldeveloper\bin\sqldeveloper.exe
    This will display a console window prior to SQL Developer UI being displayed.
    There may be some unexpected exception that is being thrown.
    It should display in this console window and give us more information to go on.
    It sounds like you were able to create a Project ok.
    Did you have any issues during the install of the repository?
    Did you happen to save the log?
    If so, can you paste it in this thread?
    THanks, Mark

  • Displaying line numbers in oracle Sql developer

    hi guys, can someone tell me how to display line numbers in oracle sql developer Version 2.1.1.64?.

    I absolutely didn't know where it was, so I had to look for it, and it appears easy to find.
    Hit Tools
    Hit Preferences
    Expand Code Editor
    Navigate to line gutter
    Now click 'Show line numbers'
    And, oh yes, there is a separate sql developer forum. Please keep sql developer issues in that forum.
    Sybrand Bakker
    Senior Oracle DBA

  • Reg Migration in Oracle SQl Developer

    Hi
    I have an access database which i want to copy to oracle database and automate the process . Copied the tables using ODBC (first time ) .
    Access database will be updated daily by other application.
    Now I have to refresh my oracle database once a week from this access database and i want to automate this process with out any user intervention .
    Can anyone give some inputs about the best method to automate this job ?
    any other tool is there?
    thanks in advance.
    Regards,
    P.Parthasarathi

    Hi,
    I updated a related Re: Automate migration from access to oracle with two suggested solutions to your query - see below:
    Based upon the information you've given, I believe that you've got two options here, with my preference being option 1:
    Option 1: Migrate your MS Access database to Oracle, using Oracle SQL Developer Migration Workbench. Then update your MS Access database, replacing the original tables with ODBC linked tables to the newly migrated Oracle tables. This would mean that you can retain the use of your MS Access front-end, if necessary, and any data inserted via the MS Access front-end is stored in your tables in Oracle. You'd have no worry about putting a process in place, as the data is being saved in Oracle.
    Option 2: Migrate your MS Access database to Oracle, using Oracle SQL Developer Migration Workbench. Then use the Migration > Migrate Data menu item in SQL Developer to migrate your data into the new Oracle schema. In order to do this on a weekly basis, you would need to retain your Migration Repository, and simply use the same menu item to migrate the data to your Oracle database.
    I recommend that you review the Oracle SQL Developer Migration Workbench OTN page, and its accompanying documentation, to gain a better understanding of how to use the tool - http://www.oracle.com/technology/tech/migration//workbench/index_sqldev_omwb.html.
    Have you tried either of these solutions? If so, and you experienced some issues, or require additional information, please let me know.
    Regards,
    Hilary

Maybe you are looking for