Newbie to SQL Developer

I am new to the Oracle SQL Devloper world. Does anyone have any self-taught URLs or any "Tricks and Trades" URL for Oracle SQL Developer???
One specific question I have is how do you get to the last record in a result set. I know in SQL Navigator there was an arrow with a vertical line that enabled you to get to the last record. Is there anything like that in Oracle SQL Developer???
How do you typically set-up your connections so you don't have to drill down through "Other Users" and Select the schema name that way in order to display the tables???
Thanks in advance for your help.
PSULionRP

There are links to tutorials etc., here http://forums.oracle.com/forums/ann.jspa?annID=1275
Ctrl+End takes you to the last row in the results pane.
The options for accessing schema objects are limited
- connect as the schema owner,
- use 'Other Users'
- use synonyms.
Edited by: Jim Smith on Mar 15, 2011 9:39 PM

Similar Messages

  • Newbie in SQL Developer: misc questions

    Hello,
    I´m new to SQL Developer, always worked with Quest´s SQL Navigator before.
    1.)
    I have a file.sql with following instructions:
    begin
    package_1.variable_1:='T';
    package_2.procedure_1;
    package_2.procedure_2;
    package_2.procedure_3;
    end;
    In Quest SQLNavigator I started this with "Run (F9".
    In SQL Developer this will not start, always telling me error, invalid numbers or some other sh*t, but nothing changed within the packages or procedures.
    With SQLNavigator everything works fine.
    2.)
    In SQLNavigator with "Quick Browse" I get the sql for a table, for example
    select a.col1, a.col2, a.col3, ...
    from quickbrowsedtable a
    How can I get this in SQL Developer ?
    3.)
    When extracting DDL in SQL Developer columns and table names are in double quotes. Can I change
    this to have no quotes at all ?
    Thank you very much for your help,
    greets,
    Frank
    Edited by: 968906 on 05.11.2012 04:49

    1 - use F5 in the worksheet to run your anon block
    2 - drag the table to the worksheet, and select 'Select'
    3 - not today

  • Newbie to sql developer, how to stop a query

    Hi All,
    A very basic question and I've searched through this forum and Tom's site, i think i read it somewhere but i forgot where and what it was.
    How can I stop a query running in Sql Developer with what key combination?
    Ctrl-C D E Q .........., help!
    When I 'leave' for another application there a nice grey screen appearing so i can't use the buttons.
    Thanks in advance and my appologies if there is an answer already and I didn't find it.

    A query in the worksheet can be stopped using the Cancel button in the worksheet's toolbar (the 5th button). Hovering over it, you see the default hotkey assigned is "Ctrl-Q".
    If you get a gray screen means your SQL Developer locked up. There's currently no way of canceling what is locking him up. You could kill its session, but that's pretty radical and takes its share of time fining out what to kill and how.
    What another user on this forum (EricH) suggested, is running 2 SQL Developers side by side. When 1 locks up, he uses the other one. Although I'd like SQL Developer in the future to run it's queries in separate sessions by itself, thus preventing the whole program to lock up.
    K.

  • Newbie blues: Oracle Sql Developer showing different data from Sqlplus.

    Newbie blues: Oracle Sql Developer showing different data from Sqlplus.
    First of all; it would be difficult to know less about Oracle than myself.
    I just installed a recent copy of the server and am running SQl Developer 3.2.20.10.
    I made a small test table , borrowed some pl sql code to add rows, then wrote code to delete some rows. Lots of fun.
    In SQL Developer “Select * from t1;” now shows 7 records, which seems right.
    I wanted other views of the data and so logged in from the command line using SQLPlus.
    The same code here shows the table prior to the delete, with 600 plus rows. Needless to say I’ve logged out and back in again, with no changes.
    No fun ! What am I not understanding here ?

    5e33d18c-3b32-48d4-82a7-676feeaa97c9 wrote:
    Newbie blues: Oracle Sql Developer showing different data from Sqlplus.
    First of all; it would be difficult to know less about Oracle than myself.
    I just installed a recent copy of the server and am running SQl Developer 3.2.20.10.
    I made a small test table , borrowed some pl sql code to add rows, then wrote code to delete some rows. Lots of fun.
    In SQL Developer “Select * from t1;” now shows 7 records, which seems right.
    I wanted other views of the data and so logged in from the command line using SQLPlus.
    The same code here shows the table prior to the delete, with 600 plus rows. Needless to say I’ve logged out and back in again, with no changes.
    No fun ! What am I not understanding here ?
    Others sessions never see uncommitted data
    > then wrote code to delete some rows. Lots of fun.
    did you ever actually issue COMMIT so other session can see the changed data?

  • SQL Developer usage (newbie) question - using for script development

    I'm new to Oracle, but not to SQL (used MS SQL Server off and on for 3 years prior). SQLDeveloper (v1.5.1) was recommended as a dev tool for the work that I'm doing in in Oracle 10.2.0.4. I'm looking to write some scripts to eventually become stored procedures. The problem I'm having is it seems i can only execute one line even though there are multiple statements in the "Enter SQL Statement" window pane.
    ie.
    select id, Full_Name, unique_name, user_id from srm_resources;
    select id, user_name, last_name, first_name from cmn_sec_users;
    when i highlight those two lines and click the "Excecute Statement" button, only the top line generates results.
    I'm used to using MS SQL's Query Analyzer where I could select one statement or multiple statements to execute, even non-SELECT statements (variable assignments, math, control loops). It does not appear that I have this kind of functionality in SQL Developer - or an I not using the tool correctly?
    Thanks
    Brian

    I'm assuming you're meaning the SQL worksheet here. The green arrow icon is execute statement (F9) The tiny green arrow is execute script (F5). I'm currently on 1.5.4 of SQL Developer.
    Hope this helps some. I would download the documentation also.
    http://download.oracle.com/docs/cd/E12151_01/index.htm
    Evita

  • Newbie to Oracle SQL Developer

    Hi guys, cheers for taking the time to read this post.....
    Im running a few different scripts in Oracle SQL Developer, one called CreateLocalSchema.sql, another CreateLocalProcedures,sql and a third SystemSetup.sql
    When I press f5 to run the Systemsetup.sql, im prompted to "enter the identifier of system". Does this mean the SID? Ive tried XE, my username (lbell),orcl.
    Not sure what to enter here. Im getting this error through most of the script output window.
    SQL Error: ORA-00904: "SYSTEMID": invalid identifier
    +00904. 00000 - "%s: invalid identifier+
    Do i need to do anything that i havent realised? Any help would be appreciated.
    Thanks

    Hi 899065      
    It depends on the script. You are being asked for input via substitution variable '&variablename' or '&&variablename' or via the accept command.
    set echo on
    before running the script will display the command before the output is printed. This may be reset within the script i.e. set echo off .
    Forum: SQL Developer *(Not for general SQL/PLSQL questions)*
    might be worth trying if the script works in sqlplus.
    -Turloch
    SQLDeveloper Team

  • SQL developer newbie queries - howto

    Hi,
    I took over my colleague's PC that has installed SQL developer and using it to perform deployment for sql scripts for developers and it is working fine.
    There are already stored procedures created before I took over in the databases under the database / schema in sql developer. Now I want to deploy (create) new store procedure in the existing database / schema by right clicking the procedure title on the left of the sql developer. After clicking the create / key in the name of the procedure name / key in the database / pasted the procedure on the right side of the sql developer and saving it. Till this stage, there is no error but on the left side of the sql developer under the database / schema, I can't find the procedure that I have just created.
    Appreciate any advice and thanks in advance.

    At this point you just have the procedure in your editor.
    Click the 'Compile' button in the editor toolbar, it will look like a set of sprockets/gears. This will send the 'Create or Replace...' statement to the database. You'll then be able to see the new object in your tree, although you might need to manually refresh the tree for the new object to appear.

  • Sql developer newbie queries

    Hi,
    After installing SQL developer to my PC, do I have to install Oracle client in my PC as well to connect to Oracle DB in the servers?
    Thanks in advance.

    That condition arises if ...
    1. Your Tools -> Preferences -> Database -> Advanced -> Use OCI/Thick driver setting is checked but you either have no Oracle client software installed or SQL Developer is having trouble finding it (perhaps the ORACLE_HOME environment variable is not set properly or something similar).
    2. You use Connection Type: TNS with the Connect Identifier option, which requires OCI.
    So decide if you need OCI/Thick or not and adjust your environment as needed. If you want to read a longer discussion of this issue, here is a thread from over a year ago on this forum, which in turn references another good discussion thread:
    Test failed - no ocijdbc11 in java.library.path
    no ocijdbc11 in java.library.path (Win 7)
    Regards,
    Gary
    SQL Developer Team

  • 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

  • Unable to display results of multiple query in grid in Oracle SQL Developer

    Hi, I am a newbie to this forum and couldn't find the Oracle SQL Developer forum so posting it here.
    My question: How to display multiple query results in grid in Oracle SQL Developer.
    Example:
    select * from Employee;
    select * from Department;
    - when I select both the queries and hit F5 in Oracle sql developer. By default it displays in output window.
    - How to display result of both the queries in Grid.
    Any thoughts on this would be really helpful.
    Thanks in advance.
    Harsh

    Hi Harsh,
    I'd say that the Results grid is designed to only show the results of 1 query at a time. I don't know/can't see how it would display multiple queries at a time.
    I would suggest either joining your tables to create a single query or opening another SQL Worksheet for one of the queries so that you can display the results side-by-side.
    Maybe you could explain what you're trying to do. Why are you trying to display multiple results in the same query grid?

  • Finding a function name in PL/SQL Developer

    Hi,
    Newbie here...Is there a feature in PL/SQL Developer that will let me search through all my api's for a function by a string contained in the function name? For instance I would like to see all the functions in any of the api's that contain the string 'get' rather than try to guess in what package the function I'm looking for resides,
    Thanks in advance for any help

    Do you mean PL/SQL Developer? If so, you're on the wrong forum.
    SQL Developer 1.5 and above uses PLScope to search for PL/SQL objects, when connected to an Oracle Database 11g.
    Sue

  • SQL Developer and Oracle Database 10g Express Edition, Connection Problem

    I am using SQL Developer version 1.2.1 and am connecting to a 10g database on a windows xp.
    Up until today there have been no problems with the connection. When I tried to connect to the database and have not been able to.
    The error states that "...listener refused the connection with the following error: ORA-12505, TNS; listener does not currently know of SID given in connect descriptor..."
    Also tried to log into the database home page but page doesn't load...

    I'd bet the database is down.
    Try a login through sqlplus ("Run SQL Command Line" in the Oracle Express Edition 'Start' menu).
    Do a CONN / AS SYSDBA
    If you get a message about database or memory area not available, try STARTUP.
    If that doesn't work, you are best off in the General Database forum or the Express Edition forum.
    You'll probably get the most expert response in General Database, but the Express Edition forum can be gentler on newbies (as it is more accepted that questioners are not and do not have access to full-time DBAs).

  • SQL Developer 3.0.04 and 10g

    Downloaded SQL Developer 3.0.04 to interface to a 10g server. I encountered the now infamous no ocijdbc11 in java.library.path problem which is described in other forum posts. Upon reading, my understanding is that more recent versions of Developer require an 11 client. Workarounds include 1) backing up to previous versions of Developer or 2) downloading and using instantclient. I chose the 2 ^nd^ option.
    Instantclient got rid of the ocijdbc11 error, but now I'm seeing Internal Error: Fetch error message failed!
    There doesn't seem to be much help available on the Oracle site or forums, and I'm hoping that someone else has seen and solved this problem.
    Any guidance for this Oracle newbi is appreciated. Thanks!

    There is another workaround - set the Use OCI/Thick drive option off.
    Tools|Preferences|Database|Advanced.
    This won't work if you need OCI for specific functions not supported by the thin driver.

  • Displaying tables in Oracle SQL Developer

    Anyone who can help me I thank you in advance. I installed SQL Developer v1.5.3 and can connect to the databases I want to access. After establishing the db connection the Tables icon is displayed. I click on it and no tables are displayed. I can run scripts so I know ihave read access to them . Is there anyone who can help my determine why Tables does not expand and diaply the tanbles in the db?

    What do you mean by other owners node? I am an Oracle or SQL newbie. The db I'm accessing is a corporate db. Is there additional permissions (beyond read permisiion to run queries) I need to be able to view the tables as well? Most others access the dbs via Toad or PSQL and are not having this issue. No money for those so I have to use SQL Developer. The Oracle client is 9i, and the db is 10.

  • Host variables in SQL Developer not showing decimal places

    I'm a very newbie, taking my first PL/SQL class, so please be gentle! I think this may be a SQL Developer problem, because when I run the same thing from terminal-line SQLplus on my Linux install, it works right.
    I'm working with a procedure, and passing a value out to a host variable. Although the value should have a decimal portion, when I print the host variable, all that prints is the integer portion.
    Here's the entire program:
    set serveroutput on;
    create or replace package mypkg
    is
      procedure myproc
        (p_in in number,
         p_out out number);
    end;--END package mypkg
    create or replace package body mypkg
    is
      procedure myproc
        (p_in in number,
         p_out out number)
      is
        lv_out_num number(7,2);
      begin
        lv_out_num := p_in / 10.0;
        p_out := lv_out_num;
        dbms_output.put_line('p_out is ' || to_char(p_out,'999.99' ));
      end;--END procedure myproc
    end;--END package body mypkg
    variable myvar number
    execute mypkg.myproc(33,:myvar);
    print :myvarAnd here's the output:
    PACKAGE mypkg compiled
    PACKAGE BODY mypkg compiled
    anonymous block completed
    p_out is    3.30
    MYVAR
    3As you can see, myvar should be 3.3, but it only shows 3. However, like I said above, when I do this from sqlplus from a terminal in linux, it works fine. Thus I'm thinking its a SQL Developer thing.
    Details:
    Machine:
    HP Pavilion dv6 notebook (Core i7) with 8 GB RAM
    Windows side:
    Windows 7 Home Premium SP1
    Oracle 10g Express
    SQL Developer 3.1.06
    Linux side:
    Oracle Linux 5.6 (in Virtualbox)
    Oracle 11g release 1
    Thanks,
    Alex

    Hi,
    This issue has been previously reported on and bugged:
    Re: Oracle Sql Developer prblem with variable format
    Regards,
    Gary

Maybe you are looking for