Oracle sql developer work sheet

Hi
I am working on a project which has large sql statements, I want maximise the space in editor to view as much sql as I can see.
Now in sql work sheet we have buttons at top, like run statement, run script, auto trace etc. how can I move these buttons to left or right.
Thanks

973597 wrote:
Hi
I am working on a project which has large sql statements, I want maximise the space in editor to view as much sql as I can see.
Now in sql work sheet we have buttons at top, like run statement, run script, auto trace etc. how can I move these buttons to left or right.
Thanksconsider to format the SQL such that no line is longer than the screen is wide using URL below
http://www.dpriver.com/pp/sqlformat.htm?ref=g_wangz

Similar Messages

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

  • Oracle SQL Developer needs some work

    I just downloaded a copy today (1557) for Oracle 9.2i / Windows XP Pro
    Oracle SQL Developer has a few glitches...
    A compiled and working package (compiled in SQL*Plus and TOAD) opens and shows 2 errors in a SQL Query involving a CASE statement. Invalid CASE clause on an ELSE and unexpected token on an alias at the end of the case.
    Compiling a package should display a message saying successfully compiled and the state of a package should always be on display!
    Opened an SQL script but could not execute it as the icon's didn't become active.
    Couldn't then run the script.
    These basic problems would put any serious developer off using Oracle SQL Developer.
    Also background color scheme should be gray and NOT white. White is hard on the eyes. This is just basic UI stuff.
    Oracle, you need more senoir developers!

    Justified to the top left of the sql window, you see the execute buttons. On the top right, you will see a drop down list box. After opening a file, this drop down list box is not selected. Select your connection and the execute buttons on the top left will enable.
    For PL/SQL use a slash / at the end for it to execute.

  • Export Option of Oracle SQL Developer isn't working .

    Hi ,
    I use SQL Developer for querying Database .
    The problem is that after getting data as a result of a Search operation inside Oracle SQL Developer tool , i can't able
    to export those Data using export Option of Oracle SQL Developer .
    Could anybody please help me on this.

    Did Richard answer your question? I'm not clear if Unload isn't working for you
    I cant say whether he has answered my question or not , the problem is that , i am using different version of Oracle SQL Developer , that is Oracle SQL Developer 1.5.3 , and there is no such option in that .

  • ORACLE SQL Developer: DELETE Key Stopped Working???

    OK, I'm an idiot, I admit it. I have ORACLE SQL Developer installed, and stupidly changed some of the menu items under Tools/ Preferences/ Code Editor. Now all of a sudden, my DELETE key does not delete, although BACKSPACE works fine. Also, the prehistoric Windows shortcut CTRL + INSERT suddenly doesn't copy any more, although it worked before in the tool, and works on everything else in Windows.
    A smart person would have recorded exactly what changes they made- but I didn't.
    Any idea which Preference should be changed, and what it should be changed back to???
    HELP!!!! - [email protected]

    Don't have to call me that blush
    As I said, something I picked up on the forum... just keeping track here ;-)
    As for wasting time, happens to all of us. We have to find a balance between trying to solve our own problems and asking for help (in which you have to invest a fair amount of time also).
    Glad to be of help,
    K.

  • 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

  • Oracle SQL Developer  error - "The file-based source procedure Name is not present in the database."

    I recently started working on the Oracle SQL developer. I have 'select' privileges on the QA schema and when tried to execute proc in QA. It is giving the error as 'The file-based source <procedure Name>  is not present in the database.  Was it compiled?'
    instead 'you do not have sufficient privileges to execute this procedure'. Did research on internet but with no luck.What configuration changes needed to be done to make it work.Guide me.

    Sounds like you do not have the correct privileges.  What should have been granted to you by the QA user, or some other user with appropriate privileges, is...
    grant EXECUTE on "QA"."<PROCEDURE_OF_INTEREST>" to "<YOUR_USERID>" ;
    Note that a grant of execute on a procedure has nothing to do with grants of select on some or all of QA's tables and views.
    So, as Vadim suggests, from your connection node in SQL Developer's Connections view, if you expand the Other Users node, then expand QA and look in the Procedures node, do you see the procedure of interest?  If not, you cannot expect to be able to execute it from your userid's connection. And even if you do see it, you may have some other privilege that permits viewing but not executing, like...
    The role SELECT_CATALOG_ROLE
    The system privilege SELECT ANY DICTIONARY
    And even if you do not see it there, then having certain other privileges granted to you could permit executing it in general, like...
    The role EXECUTE_CATALOG_ROLE
    The system privilege EXECUTE ANY PROCEDURE
    Also, note that the 3.0 release is a bit dated nowadays. Upgrading to 4.0.3 production or even the 4.1 EA2 (early adopter) release will, in general, give you a better experience.
    Best wishes,
    Gary

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

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

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

  • How to open a package body in Oracle sql developer

    How to open a package body in Oracle sql developer..any shortcut for that

    I need another way to get to my package body. I'm on a locked down system, so the only way I can reference anything is if I already know the name of it. I accidentally overwrote my text document that I was using to work on it and I closed out of the package body in sqldeveloper. There must be a command, like an alter or some such. Anyone know the old fashioned way of looking at a package?

  • 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 and access db

    Hi All,
    I have connection to oracle and Access dbs’ on my oracle sql developer.
    When i try to create a database link from oracle db to access db i have to add Host Name.
    Connection details to access looks like this :
    @jdbc:odbc:Driver={Microsoft Access Driver (*.mdb)};DBQ=C:\ list.mdb;DriverID=22;READONLY=false}
    I tried different variants, but it doesn’t work.
    Is this possible to create database link to access db, and if yes, what i have to add for a host name and what is the syntaxes for cross table ?
    Thank you

    Good documentation here... http://www.orafaq.com/node/60
    TimS

  • Oracle SQL Developer is out

    If you haven't been paying attention to early adopters of Project Raptor there it is - production release of Oracle SQL Developer, outstanding database development tool. It works very well with XE and if you're somehow reluctant to web interface or too ascetic sqlplus, you shall certainly like it. Very useful and at no charge.
    Oracle SQL Developer is a new, free graphical tool that enhances productivity and simplifies database development tasks. With SQL Developer, you can browse database objects, run SQL statements and SQL scripts, and edit and debug PL/SQL statements. You can also run any number of provided reports, as well as create and save your own.
    http://www.oracle.com/technology/products/database/sql_developer/index.html

    I use SQL Developer for SQL and PL/SQL and only use SQL*Plus for the few commands that don't work in SQL Developer.
    SQL Developer has a forum, too.

  • Developerday  VM Ora-12505 Getting Started with Oracle SQL Developer 3.0

    Just downloaded the VM , Started the tutorial Getting Started with Oracle SQL Developer 3.0
    As mentioned in tutorial , I was trying to make a new connection and I am getting following error
    Ora - 12505 : TNS Listener doesn't currently know of SID
    I gave SID as orcl, and seems to be working OK, can I use orcl for this tutorial
    Edited by: OrcArgusDev on Apr 13, 2012 9:01 AM
    Edited by: OrcArgusDev on Apr 13, 2012 9:11 AM

    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

  • 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

  • Problem in deploying Java Extension to ORacle SQL Developer

    Hi all,
    I have developed a simple Java extension using Oracle Jdeveloper. This extension creates a preference in Tools->Preferences.
    I have deployed it on Jdeveloper and it works fine. But when I deploy it on Oracle SQL Developer its functionality does not work
    I am using JDeveloper 11.1.1.4
    and Oracle SQL Developer 3.2.20.09 (Latest Version).

    Hello,
    You are giving few informations. Is the extension listed in the extensions tab in the 'About' tab? Are you able to deploy any extension to SQLD?
    Joop

Maybe you are looking for