SQL Developer went Freezw

Hi all

I worked in the m SQL developer worksheet. At the exit and ran the county lines to the place where we get the result. The SQL Developer suddenly gone frozen. I may fear loss of my code.

Is it possible to get it back?

Thank you

You can try view > history of SQL, and then make sure that the code run from the worksheet appears in the history tab.

Tags: Database

Similar Questions

  • Bug: Details of body inaccurate package SQL Developer 4.0 and 4.1

    I went through the trouble to recompile the schema SYS with native = PLSQL_CODE_TYPE and PLSQL_OPTIMIZE_LEVEL = 3. I found that it was unwise to change the PLSQL_OPTIMIZE_LEVEL for package under SYS specifications, so I left them alone. When I query the view of ALL_PLSQL_OBJECT_SETTINGS, it shows me that my Package body are properly compiled at level 3 and the specs are still 2. However when I look at the Details tab in SQL Developer 4.0 or 4.1 last Early Adopter, it shows the it is PLSQL_OPTIMIZE_LEVEL = 2. I did a test for the PLSQL_CODE_TYPE and the details of body in SQL Developer also follow the specification and not true values. I used the sub query to verify the real compile settings.

    SELECT owner,
           name,
           type,
           PLSQL_OPTIMIZE_LEVEL,
           PLSQL_CODE_TYPE
      FROM ALL_PLSQL_OBJECT_SETTINGS
     WHERE owner in ('SYS')
       AND type IN ('PACKAGE', 'PACKAGE BODY')
     order by 1,2,3;
    
    
    

    Thank you

    Steven Wilson

    The query we use does not take into account, there may be several entries for an object in the view. I think we have a bug. You connect.

  • Is there a real BENEFIT in SQL * Developer Automated Unit Testing?

    I'm trying to understand the unit test in SQL * Developer. Asked me to evaluate it as a method of test automation on an integration solution that we develop.

    (1) my 'A' schema has this table:

    SQL > DESC EMP

    Name                                      Null?    Type

    ----------------------------------------- -------- --------------------

    EMPID NOT NULL NUMBER

    EMPNAME VARCHAR2 (30)

    SALARY NUMBER (7.2)

    COMM_PCT NUMBER (2.2)

    Table (2). has these values:

    SQL > SELECT * from emps;

    EMPID EMPNAME SALARY COMM_PCT

    ---------- ---------- ---------- ----------

    1 ROHAN 10000.05

    2 JOHN 20000

    3 PETER.06

    4 SMITH

    (3.) I create this procedure in drive A:

    create or replace

    PROCEDURE award_bonus (NUMBER, sales_amt NUMBER p_empid)

    AS

    REAL Commission;

    comm_missing EXCEPTION;

    BEGIN

    SELECT comm_pct IN the commission OF EMP

    WHERE empid = p_empid;

    IF the commission IS NULL THEN

    RAISE comm_missing;

    ON THE OTHER

    PGE UPDATED

    SET salary = salary + sales_amt * commission

    WHERE empid = p_empid;

    END IF;

    END award_bonus;

    (4) now, I want to create a unit test in SQL Developer to test this procedure.

    (5) I created a user "unit_test_repos" according to the instructions in the tutorial.

    (6) ' SELECT OPERATION': I specifies the procedure of award_bonus.

    (7) ' SPECIFY the name of test': give a name and select "create with a single model.

    (8.) 'SPECIFY the STARTUP': Add a ' copy Table or the line "the startup process.

    -I give "EMP" as the source table.

    -And then I get this for the 'generated query.

    SELECT ROWID AS SRC$ ROWID, s.* FROM EMP s

    -Target table has "TMP$ AWARD_BONUS.

    (Q1) WHAT IS THE PURPOSE OF CREATING ANOTHER TABLE?

    (Q2) WHEN THE TEST IS DONE, ARE ROWS OF PGE copied into this table?

    (Q3) Why is this? Why can't the test simply read 'EMP '?

    (9) "PARAMETERS SPECIFY": I give "Input".

    -1 for P_EMPID

    -10000 for SALES_AMT

    -In "Expected result", I say "success."

    (Q4) So I should know in my mind the results of the proc, foregoing given entries?

    (10) ' SPECIFY VALIDATION': I add validation "poll rows of queries.

    -I paste the following query: SELECT count (*) FROM EMP WHERE empid = 1 AND salary = 10500

    -that is, I know that for an amount of 10000 sales, employee 1 will get a Commission of 10000*.05 = 500. For example, 10000 (its sal) + 500 = 10500.

    (Q5) The thought that the above is correct?

    (11) "TEARDOOWN SPECIFY": give nothing.

    (12) my unit test is created.

    (13.) I run now by clicking on the button of the beetle, to the left of the green arrow. Unit test is run.

    (14) now in my table a.emps, 1 salary has increased to 10 500, and the diag test case, I get the "execution results: SUCCEED.

    (15) now, I run the unit test again.

    (16.) salary 'EMP' table emp 1 is passed to 11000 (which is correct) and the so-called execution results "SUCCESS".

    (Q6)  My question is: the query I gave for validation, SELECT count (*) FROM EMP WHERE empid = 1 AND = 10500 salary, now gives 0. so, this means that no row is returned for this condition and so the test must FAIL. But how is SQL * Developer said that the test was SUCCESSFUL. How does this system of validation?

    (17.) I went through the tutorial, but I do not understand these concepts >

    (Q7) What is the purpose of disassembly? I undersand the option 'drop table' "disassembly", where you drop the temporary table, but I do not understand the others, 'Table or line restore' and 'code pl/sql user '?

    (Q8) WHAT IS the advantage of making the test like this? Can I use an Excel spreadsheet and make dozens of unit tests faster than this method?  It is easy to understand too. This method is complicated.

    Your answers and your advice would be greatly appreciated.

    The temporary table to hold the original values for EMP. After the test runs, you must configure the disassembly to reset the return values of the temporary for the next time table that the test works again, he has values of expected start.

  • SQL Developer CLI honor named connections in SQL dev

    While trying to run SQLDEV CLI, I get the error during command line call. Here's what I did-

    (1) created a unit test in SQl Developer

    (2) verified that it works correctly

    (3) open the command prompt and went to SQLdeveloper/sqldeveloper/bin dir.

    (4) called-> unittest sdcli64.exe - run - test - name "AWARD_BONUS_TEST" - repo UT_REPO - db HUB28. (name of the connection, the name of repo are same with SQL Developer)

    obtained after error-

    Oracle.jdeveloper.db.ConnectionException SEVERE: cannot connect to the HUB28 database. encountered error is: invalid connection information specified.

    Check the URL format for the specified driver.

    oracle.jdeveloper.db.DatabaseConnections.getUniqueConnection(DatabaseConnections.java:677)

    SEVERE empty - java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:207)

    Unable to run the test.

    Environment-

    Developer SQL 4.0 ai2

    Windows 7, 64 bit.

    Java (build 1.7.0_40 - b43) 64-bit

    Jeff Smith Sqldev Pm-Oracle Gary Graham-Oracle , I was able to run tests using SDCLI, well, there is opposition Repository connection and target DB were setup in SQLDEV using connections based TNS, SQCLI has managed to connect repository but never target DB, once I changed the target DB for a named connection (providing Server, SID) it starts to work properly. Cross, I checked all the documents, but could not find any reason for this behavior. He can see that works similarly to the 3.1, 3.2, 4.0 EA1, 4.0 ai2 can you confirm that it is intended?

  • How to get an output of server in SQL Developer

    I learn to SQL Deverloper and use it in an academic setting and Oracle at Oracle test cases.

    I know my way around SQL some but I am learning just PL/SQL.  I want to run an anonymous block and get an output for elements 'dbms_output.put_line '.

    At school, I enter my block in the worksheet "SQL" and will receive the "anonymous block finished" in the screen "output of the Script.  Then, there is a 3 screen, whose name I don't remember, but I think it's the equivalent of 'out of server.  When I open it, I have to tell him what database I use.  So I see the dbms output lines in this section 3.

    The problem is when I'm with SQL Developer to work, I see only 2 sections: "SQL worksheet" and "output of the Script.

    I looked, but couldn't find an option or a button or a window that is called something like 'exit from server' or 'view output server.'

    Can a more experienced user please help me?

    I use:

    SQL Developer Version 3.1.07

    Build a HAND - 07.42

    Linux x 86-64

    (Oracle internal):

    Instance: http://celalnx38.us.oracle.com:10507 /

    tnsnames: 10500)

    ROFL!  So I went back and looked at it again, just to be sure... and I found the DBMS OUTPUT on the VIEW menu.  LARGE as LIFE, but I've never SEEN it it is before...

  • Problem when creating new connection of database with SQL Developer

    Hi all

    I am a beginner and I want to learn Oracle add up to my learning
    I installed SQL Developer on Linux Mint 12 (lisa).
    The installation went well, but when I try to create a new database connection in SQL developer, I get the following error:

    * Status: Failed - Test has failed: IO error. The network adapter could not establish the connection.* *.

    Could someone please suggest where exactly, I'm missing?

    Greetings - Vishal

    Have you installed the oracle database software locally? Have you created a database called "oracle?

    Developer SQL does not include a data base. For learning purposes, I recommend that you download Oracle Express Edition.

  • SQL Developer: Failure-Test failed: IO error: got at least one by a CA read

    SQL Developer: Failure-Test failed: IO error: Got minus one since a call to reading

    Hello

    I'm sorry I know this is probably more frequently asked question, but I have no idea what I should get.
    I looked at the error message above to see if I could find a solution, but unfortunately I do not have.

    Right let me start with I'm a Total Noob... Well it terms of having to install Oracle 11 g myself.
    In my University they welcomed a database and we assigned to a user & pass it's how I was using SQL Developer,.
    but since I'm no longer a student at the University. I need to use the Oracle database.

    So I downloaded Oracle 11 g Enterprise installed on my laptop that I don't use much.
    Name of the database: Christiane

    It of the entire facility and seems to have succeeded, I went https://localhost:1158 / em (although not sure why em? what's the deal with that?) I thought that it would be Https://localhost:1158 / Christiane) anyway...
    Connected with the user of the System .
    Went to users and creates a named user: RUDUHR

    Thinking Yes its not work... go my other laptop open SQL Developer.

    Connection created with the following settings
    Name of con: RK
    User: RUDUHR
    Pass: TEST
    Con type: basic
    Role: by default
    Hostname: 192.168.0.8
    Port: 1158
    SID: Christiane

    It does not work well, why is that?
    192.168.0.8 is portable which oracle 11g installed and running.

    I even tried to use SYSTEM user to connect, but same error
    also tried to change the SID to em, it made no difference I get the error message status: failure Test failed: IO error: Got minus one since reading call

    So are am clueless... LOL I only know how to create tables and stuff not how to set up a database.
    and just to let you know that I transfer the port on me correct portable router.

    It does not work well, why is that?
    192.168.0.8 is portable which oracle 11g installed and running.

    It's because you read the documentation.

    1158 is the default port for Enterprise Manager
    1521 is the default port for Sqlnet.
    Your port number is incorrect.

    Of course, you can create your tables in EM too.

    As by the Forums of the label of the post (first link when you arrive at this page) it is recommended that read the documentation before asking an another Doc issue yet.

    ----------
    Sybrand Bakker
    Senior Oracle DBA

  • Oracle 11G install on Win 7 with PL/SQL Developer Help Needed

    Today is my first day with Oracle. I tried to install Ora11g since our network drive. I think that the installation went well. I also have installated PL/SQL Developer when I try to log in I got the following error see below.

    ---------------------------
    PL/SQL Developer - (not connected)
    ---------------------------
    Initialization error

    SQL * Net not properly installed



    OracleHomeKey: SOFTWARE\ORACLE

    OracleHomeDir:
    ---------------------------
    Ok

    After I did some research on the Internet I found this solution "go to tools > Preferences > options manually set 'Oracle Home" in the folder "Library OIC" and ORACLE_HOME to file oci.dll is located in ORACLE_HOME/bin/oci.dll.

    C:\app\user\product\11.2.0\Client_1\bin.dll < = I think it's my Oracle_Home
    C:\app\user\product\11.2.0\client_1\bin\oci.dll < = is my OCI library.

    When I apply a thse 2 ways I get the following error.

    Initialization error

    Could not load C:\app\user\product\11.2.0\client_1\bin.dll «»

    OCIDLL to C:\app\user\product\11.2.0\client_1\bin.dll
    LoadLibrary (C:\app\user\product\11.2.0\client_1\bin\.dll) returned 0

    Can someone help me with this? /

    PL indicate which version of Win 7 - you need professional or superior - home versions are not taken in charge/certified, then things may or may not work as expected.

    http://download.Oracle.com/docs/CD/E11882_01/install.112/e16773/reqs.htm#CHDHGGFE

    HTH
    Srini

  • SQL Developer - 1.5.5.59.69 - XP - memory leak

    I am under SQL Developer 1.5.5.59.69 XP and I am having a problem with what appears to be a memory leak. I left Developer SQL running overnight, and when I looked in the Task Manager, the memory usage was quite high, and Manager assignments updated each time, the memory usage went up a few KB.

    This problem is known by the development team?

    Kurz

    Yes and it's happened since day 1, for almost anyone even trying.
    No idea, it's dev intends to solve this problem. Only way to having followed him connects an SR by Metalink/MOS.

    Kind regards
    K.

  • Need advice on OCA PL/SQL Developer Exam

    Hello

    I wrote exam 1Z0-007 and was planning to write 1Z0 - 147 next Saturday.

    But I came across the post here in this forum that Oracle University will soon release a new option of the review for those pursuing the Oracle PL/SQL Developer certified associate (IBC) or certifications Oracle Advanced PL/SQL Developer Certified Professional (OCP).

    And the test will be offered as an alternative to taking existing exam 1Z0-147 (PL/SQL program) in the ways of Oracle Advanced PL/SQL Developer Certified Professional (OCP) and Oracle PL/SQL Developer Certified Associate (OCA) certification.

    So, what should I do now?

    Should I go ahead and take the exam next week or otherwise?

    Looking forward to your answers.

    Thank you.

    Brandye Barrington

    I went through this site
    http://education.Oracle.com/pls/web_prod-PLQ-dad/db_pages.GetPage?page_id=41&p_org_id=1001&lang=us&p_exam_id=1Z0_147...

    Follow the procedures and rules.
    Thanks for the advice in a timely

    Thank you
    Billon

    Published by: Bhaskar.k on April 21, 2009 03:27

  • How to add data to the table changed in sql developer at Apex and vice versa

    Hello

    I had tables of database with sql developer. But now, I have modified the database (new tables added + changed the data in the tables). However, in the Apex, I the old database. Is it possible to get the new Apex database with the data of the table changed so this database in both places (sql and apex developer) is exactly the same... Also the other way around.

    Thank you

    The database schema that contains the tables, is it associated with the workspace even you are searching through the APEX product t development?  Why I'm asking is, if they are the same schema, the tables that you MODIFIED should be appear in the sql for APEX workshop part.  Now reports and forms will NOT see the changes (unless you have actually added or updated definitions for column).

    Can you explain what exactly you were doing the SQL Developer to the tables in your schema?

    Thank you

    Tony Miller
    Los Alamos, NM

  • Oracle SQL Developer to the database unifying connection

    Hello community!

    I am developing a SQL string that will pull data from various processes of cost (i plan to wrap the dataview object in a cube and publish a dashboard after that). I was wondering if there is any way to connect oracle SQL Developer for oracle hosted instance unify to create code more efficiently? If so, explain the steps for me please?

    I can get the following information of Oracle BI Publisher, see Exhibit A.

    I have to fill in the fields in Appendix B and this is where I don't know how to do this, see Exhibit B.

    Your help is highly appreciated

    Concerning

    Amir

    Hi Amir - there is currently no way to directly connect to the DB for unifying hosted environments. We are currently working on this issue.

    In the meantime, you can use the SQL Editor in your BI Publisher server interface. You build instructions SQL can then be pasted in via data in unifying views.

  • Why is-menu Oracle SQL Developer navigation so slow?

    For example if I click Tools, it takes like 5 seconds to open.

    The cursor icon taking also like 2-3 seconds to next day where it is.

    Oracle SQL Developer has impressive features, but I can't use it like that.

    Can anyone help or point in a direction?

    It's a nice machine but I remote desktop to it, but the rest of the applications are working fine.

    #added it

    AddVMOption - Dsun.java2d.noddraw = true

    AddVMOption - Dsun.java2d.ddoffscreen = false

    looks a bit better

  • SQL Developer to MaxApex database connection

    Did he ever anyone else here use MaxApex?  I'm trying to implement the SQL Developer and toad to connect directly to our MaxApex database and I'm getting a ' ORA-12541: listener TNS:no "error.

    MaxApex gave me my login information, and they think that maybe it's my firewall is blocking the connection.  I opened the access to the port 1521 the firewall, but it did not help.

    Is anyone else here could connect SQLDeveloper or Toad to their MaxApex database?  Any tips?

    Version of the APEX: 5.0.2.00.07 database: Oracle Database 11g Express Edition Release 11.2.0.2.0 - 64 bit Production

    Host: MaxApex (dedicated DB) browser: Google Chrome Version 47.0.2526.106 m

    Themes: "Scarlet - 21" and ""Topaz"- 4" favorite comedian: Norm McDonald ".

  • Order that SQL Developer Modeler generates objects in DDL download

    Little annoying question... When I have an existing data model that includes all of my table definitions and ALSO my package definitions, I try to make a DDL download and load it into an instance of Oracle 11g and get an error on a procedure declaration does not have a column type.

    What I see is when I open the prepared ddl script, the package is created until the table is under construction.  Is it possible I can tell SQL Developer Data Modeler to build like objects together (table, then sequences and then triggers and packages and procedures/functions?

    SQL Developer Data model version 4.1.3 Oracle database 11g r2...

    Thank you

    Tony Miller
    Los Alamos, NM

    Hi Tony,.

    Data Modeler generates at the beginning of the Package definitions in the DDL file, so that they appear before the objects such as Tables, views, and triggers that may refer to them.

    And the Package body are generated at the end, so that they can refer to Tables and views.

    Unfortunately there is no option to change the sequence of generation.

    In general, the Data Modeler takes dependencies between objects into account to generate the DDL file objects in a proper order.

    However, it does not detect the dependencies TYPE %.  I connected an enhancement request to add to its dependency checking (22581821).

    Kind regards

    David

Maybe you are looking for

  • FireWire problems

    Not having is not a good time with my computer at the moment but this particualr problem concerns Firewire. I used this system with great skill in the past, it's not working for me now, so I must be missing something. I am wanting to transfer files t

  • Unzip.VI is available for LabVIEW 8.2.1?

    I am user of LabVIEW 8.21, and I need the unzip.vi for this version. Unzip.VI is available for LabVIEW 8.6, could - one please it downgrade for me.? Thank you in advance.

  • New T5i with a video problem

    I received a new Canon T5i mailed the week last of Ritz camera.  At first, everything seemed splendid; It was an upgrade for me to an old XTi and I practice with this camera so that I can cover the launch of the NASA of the week with her next. This m

  • I need help... all of a sudden, my computer does not read my disk 3 1/2 "

    Due to my current unemployment, I don't have the money to pay for technical support... someone can you please tell me how to solve the problem.  Thank you

  • Recovery the DM4 pavilion as a condition of factory, using the disk value

    I'm trying to recover my DM4 factory condition but Manager HP recovery, on the recovery of the system, show that this option is disabled (partition discovery is removed). I created the setting for recovery (4 disks + repair disc) disc. I would like a