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

Similar Messages

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

  • Running Stacked Queries in Oracle SQL Developer

    Is it possible to run stacked queries in Oracle SQL Developer???
    Something like this...
    SELECT *
    FROM TABLE_1
    SELECT *
    FROM TABLE_2
    SELECT *
    FROM TABLE_3
    And give my 3 different result sets in my Query Result window
    I tried "BEGIN" and "END" and Oracle SQL Developer did not seem to like it.
    Can someone let me know if this is possible and what the syntax might be???
    Thanks in advance for your review and am hopeful for a reply.
    PSULionRP

    Wrong forum!
    Please post this in the sql developer forum.
    SQL Developer
    You can run multiple queries exactly the way you posted them but you need to use F5 - the run script toolbar button.

  • Oracle SQL Developer Cannot Cancel Queries Properly

    This was a problem with version 2 and continues to be an issue with version 3. If I chose to cancel a query that is taking a long time to run it gives me the prompt and displays that the query was cancelled. However, the query is not actually cancelled and is still running in the background. The lock on the table still exists. How can I tell? Once a query is cancelled I attempt to exit the program and when I try to disconnect it says that the connection is busy. My only options are to try again or abort. First of all, these are terrible option names. How about changing these to try again or cancel, which is actually what abort does. Second, at this point there is no way to exit the application until the query completes in the background. I can kill the application through the Task Manager which in turn kills the query. This is a major problem and needs to be fixed before this application is useful.

    I also am having this same issue. I am running SQL Developer 2.1.1.64.45 (JDK 1.6.0_11), connecting to Oracle 9.2.0.4.0 via TNSNAMES.
    Seems to be similar to this thread: http://forums.oracle.com/forums/thread.jspa?messageID=9524997&#9524997
    In which it appears to be a genuine bug.. Since I develop large queries in SQL Developer before sending them through a SAS program via PROC SQL, I have no other way to test them. It is frustrating, when testing the large queries, to have to do CTRL-ALT-DEL to delete the SQL Developer task and therefore losing any other query tab changes I have made before running/canceling the task. Grrrr.. :)
    Thoughts? -Kristi

  • 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 cannot execute multiple queries in one connection

    Hi,
    Using : SQL Developer 1.2.29.98, Oracle Database 9i on Windows XP.
    Currently I have TOAD and PL/SQL Developer to handle things related to Oracle Database.
    I found this SQL Developer tools as an interesting tool which might replace PL/SQL Developer (I assume).
    I opened two SQL Worksheets and tried to execute 2 queries (time consuming one) simultanously, suddenly it freezes (the window become grayed). Just like TOAD, we cannot smoothly execute multiple queries on single connection on SQL Developer
    I can monitor the query process using TOAD (Session Browser) and found both queries are running while SQL Developer window become grayed and seems not functioning. After the queries have been finished, I mean both of them, the SQL Developer window become normal and "alive" again showing the expected results.
    Well, however PL/SQL Developer could handle this. Executing multiple queries in single application is just its unbeatable features.
    We can view the query result once its finished instead of until the others being processed, by just only switch the SQL Windows.
    Is it true that SQL Developer doesn't support executing multiple queries?
    Or is it a feature which we should request?
    Or we have to activate this feature by doing some changes on configuration / preferences?
    (Do we need to open two SQL Developer instances? what a memory consuming solution).
    Regards,
    Buntoro

    SQLDeveloper connections are single threaded and also rather single minded (in that you can't do much else while a long query is running.)
    There is an existing feature request http://apex.oracle.com/pls/otn/f?p=42626:39:3685254426061901::NO::P39_ID:4202 for which you can vote.
    The workaround is to have multiple connections. Not brilliant but it works.

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

  • Re: Probelems running queries in SQL Developer

    I used to be able to run queries in SQL developer without any problems but now I get the followin message whenever I try to run a query
    "Could not initialize class oracle.sql.CHAR"
    p.s. I also get this: "oracle.i18n.text.converter.CharacterConverterOGS.getInstance(I)Loracle/i18n/text/converter/CharacterConverter;"
    Edited by: user564155 on Jul 26, 2010 1:49 PM

    Might be corrupt settings; backup/delete the SQL Developer/systemXXX directory in the hidden Application Data under your Windows profile to reset your installation to defaults.
    Else, if you run from \sqldeveloper\bin\sqldeveloper.exe, what output do you get in the opened console when starting up and querying? This could help diagnosing the problem.
    Hope that helps,
    K.

  • Save layout of queries in SQL Developer query builder?

    Sometimes queries are very complex and moving tables around in the graphical view is really helpfull to better understand them.
    Unfortunately this layout does not get saved with "save" (because this is a simple text file).
    Once upon there was a query builder (included with designer 2000 and later vom 1991 to 1998) that had a proprietary format (.brw) to just do that: Save a query including layout.
    Any chance to save the layout of SQL Developer query builder queries?

    I dont think there is any way to save the layout for the query, you can request an enhancement on the Exchange for this http://sqldeveloper.oracle.com/
    But if you only need to restore the query you are working with later, or move it to another workstation and continue editing using the query builder, you only need the SQL code generated; when you paste it in an opened worksheet (on the same database or even a clone with the same structure) the query builder is able to resume working just fine with default positioning for the table objects.
    If you hand edit the query and insert some SQL manually then the query builder may stop working for particularly complex statements, in this case it will warn you and disable itself.

  • SQl Developer Where are Map View queries stored

    SQL Developer Latest Version, Linux 86_64, Oracle EE Latest Version.
    I have looked through a lot of docs, schema and files but cannot for the life of me figure out where these are being stored. Little help

    Hey there,
    Oh yes indeed. I work at a University and am introducing students to Oracle Spatial. The ability to be able to give the students, typically graduate students, a basic package of predefined map queries would be very helpful. Unless the file contains other information it would be nice to know just what file it is and that could simply be handed off with an instruction telling them where to drop the file.
    Also the way the select list is handled when editing / running those queries is a bit quirky.
    I don;t know if you saw my other post re: "Point data Display Size" ? I cannot seem to find a way to alter the size of a point when displayed and it really seems to bit kinda weird and mostly seems linked to the number of points being displayed. The work we do is purely road networks so we have lots of 'Links and Nodes" that we display ( like the complete Highway Network the SF Bay Area down to the street level at times ) and so displaying the Nodes as point data and the links as line strings between points is critical so the ability to size the elements for display is as well.
    Thanks for the reply!

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

  • Sql developer could not fetch any data while running queries?

    I have  downloaded  SQL Developer , install jdk1.5.0_22  from the website. Then I run sqldeveloper.exe browse the jdk folder. After that i established the connection but it continuously showing loading..No tables No procedures are loaded . what should i do?

    Be careful... SQL Developer requires a JDK or the server JRE (which I believe only comes in 64-bit, so go with the JDK if you are on a 32-bit OS).
    Prior to 4.0, the SetJavaHome line in your install directory's sqldeveloper.conf (or sqldeveloper-Darwin.conf on the Mac) must be set, but in 4.0 and above that changes to product.conf under your OS's user settings.  For Windows 7, that would be in...
    C:\Users\<your-userid>\AppData\Roaming\sqldeveloper\1.0.0.0.0\product.conf
    Hope this helps.  If not, assuming Windows, run sqldeveloper.exe in the bin directory from a command line console so you can see any standard error output in the console, or do a Ctrl-Break to get a full thread dump of what's happening in the JVM.

  • 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

  • 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

Maybe you are looking for

  • Error in BPM 1:N scenario

    Copy the XML message from Runtime (SXMB_MONI), test it in Design time (mapping editor -> Test tab).. Check if mapping is successful.. -Siva Maranani

  • My wife has just got a iPod Nano and I have a Ipod Mini

    My wife has just bought herself an iPod Nano and I have a Mini-iPod. However she plugged in her Nano and it opened my iTunes and attempted to put on the album artwork for my albums. I have told her to reset to factory settings but I have a question.

  • Query - target documents

    Hi all. I recently discovered a great query on this forum, it returns all deliveries and all invoices made from one sales order document. It basically lists all target documents for the given sales order. In addition to this, I was thinking it would

  • Play cd audio labview

    Bonjour, J'ai trouvé sur le forum un VI permettant de lire les pistes d'un CD audio avec LabView et ça fonctionne très bien (merci à son auteur). Cependant, j'aimerais aussi avoir comment récupérer des informations sur la lecture en cours, notamment

  • Pro rate function in billing plan

    Folks Would any one know how i could pro rate the value for the last month of the billing plan cycle. You would think this is a standard SAP function I have looked, and i am not able to find a solution. Our customer does not want to do any code chang