question on the pl/sql developer tool

Hello

I'm trying to debug a package by using pl/sql developer. It looks good, but the variable defined in the package do not display their value even in the mode debug to see what they have in this particular instance.

How to get there?
Thank you.
KK

Hello

As HOEK has suggested... Please, go to the tool menu... preferences... under Oracle... debugger...

You can see three text boxes... never... always... never. first check... button display the values of variables in a popup.

Please enable this option... debug it...

Concerning
KPR

Tags: Database

Similar Questions

  • A question about the Oracle SQL Developer Oracle instance connection

    Hi all

    I would be grateful if you could kindly give me a helping hand.

    Recently, I installed the Oracle 11 g on Linux (ubuntu 8.10) database. I not create startup scripts. So here's how I start the server: (my linux user name is "dariyoosh", but in order to start the server I have connection on the terminal shell as user 'oracle')
    dariyoosh@alborz:~$ su oracle
    Password: 
    oracle@alborz:/home/dariyoosh$ cd
    oracle@alborz:~$ ORACLE_SID=database01
    oracle@alborz:~$ . oraenv
    ORACLE_SID = [database01] ? 
    The Oracle base for ORACLE_HOME=/u01/app/oracle/product/11.1.0/db_1 is /u01/app/oracle
    oracle@alborz:~$ sqlplus '/as sysdba'
    ...
    SQL> STARTUP NOMOUNT
    ORACLE instance started.
    ...
    SQL> ALTER DATABASE MOUNT;
    ...
    SQL> ALTER DATABASE OPEN;
    
    Database altered.
    Then I can work without any problems with my database and everything works pretty well. Today, I decided to install Oracle SQL Developer IDE as it makes it easier to modify the SQL code. My problem is that after reading the tutorial Oracle online, that I am still able to connect to my database. Firstly according to the method that I wrote, I have set up the Oracle instance. But then when I run Oracle SQL Developer I don't know what to choose for the user name and password? because since SQL * Plus shell as you can see I always write: "sqlplus 'virtue sysdba' and it does not prompt me for any password, I can access the database directly." Any idea? What password? What user name? for Oracle SQL Developer?

    Thanks in advance.

    When you connect "/ as sysdba", you actually connect as the user named SYS from the privileges of your operating system. SYS is the owner of the database and a privileged user. You really want to use this username for the day to day operations, but only for what can do only SYS. If you need a different user name. Several Oracle databases have a user named SCOTT who has a number of tables for use tutorial. By default, the password for SCOTT's "Tiger." You may also have other demo users, such as "HR". I admit that I forgot what is the password of the HR, but it doesn't really matter because SYS can change with this command:

    ALTER USER hr IDENTIFIED BY whateveryouwant;
    

    This command:

    SELECT USERNAME FROM ALL_USERS;
    

    lists all the users in your database. Understand that many of these users are there as owners of objects such as stored procedures and tables for Application Express, or TYPEs for Oracle Locator, not for general use. When you are ready to create your own objects, ask SYS create a username for them with

    CREATE USER myusername IDENTIFIED BY mypassword;
    

    and grant that user the privileges as necessary. You'll want to read before you get too far - I think that the developer of the Application Guide is a good starting point.

  • Characters not visible (caused by hitting the bar space or TAB in PL/SQL developer tool) causing slow running query? and database with low performance?

    Hi all

    I need your help to get this issue resolved its urgent and I'm not able to get to the conclusion. Here is my scenario, I'm getting slow query runs because of some non-visible characters that are copied with the application of the PL/SQL developer tool. Please find below attached screenshot: Oracle_Issue

    Oracle_Isssue.png

    Note: This non-visible characters are caused when we write the query then us hit the SPACEBAR or press TAB PL/SQL developer tool

    I use the developer tool PL/SQL to write or test the query. Now I take this request copy paste in my application of the company (who takes this query connects to Oracle or any source of data base, catch data and produce PDF reports for customers).

    Now, my client is the Oracle user when I write and you run this query by the PL/SQL Developer, it works fine, but when I paste in my Inbox feature request (reporting system) and run it, it runs slower and jams to the customer database. Now after a little research I found that when I copy the query directly from PL/SQL developer at my request, he copy some characters not visible (introduced when we press SPACE or TAB in PL/SQL developer tool when writing query) with the request, then I copy this query again to my box of the application Notepad and delete these non-visible characters. Now, after removing the non-visible characters again once I copy backup question in my application and run the query, it works normally. Please find below attached screenshot: Oracle_Issue 2

    Oracle_Isssue_2.png

    So I think that the cause of slow performance is due to some INVISIBLE CHARACTERS present in the query.

    My application uses SQL server 2008-2012 at the backend to store data from different sources.

    Character set used: SQL_Latin1_General_CP1_CI_AS


    To write and test queries: PL/SQL developer tool

    My Client use Oracle 11 g

    Character set used: Normal character: NLS_CHARACTER: AL16UTF16

    National Characeter: NLS_NCHAR_CHARACTER: WE8WIN1521

    I just wanted to know the blocking process to the top of the database and the characters not visible how affecting slow running query of query database.

    Please let me know if I'm missing something or you need more information on this issue.

    Thanks in advance,

    HP

    Simple answer. No.

    Spaces and line breaks do not change the execution plan created. Does not plan to run slower or faster.

  • Oracle SQL developer tool

    Hi, I started using the oracle sql developer 3.0.04 Version tool.
    When I change a table using the table pane. I see the up and down arrows to change the order of the columns, but are disable.
    How can I activate this arrows? I would like to change the order of a huge table.
    Thank you!

    ID PD, this isn't in the right place, please let me know the right group. I couldn't find a group for this tool.

    Here is the link to the right forum: {forum: id = 260}

    In General, it does not change the order of columns in a table. Why do you do this? What is the reason for the company?

  • How to set up the PL/SQL Developer with customer instant

    Hi buddies!

    I want to install PL/SQL Developer. I would like to install Instant customer? I need to install the PL/SQL Developer in my pc that will access the database of the server.

    Please enlighten me.

    Thank you.

    See you soon!

    Nith

    Published by: user645399 on May 12, 2010 16:26

    user645399 wrote:

    Here are the steps I followed.

    I don't see a problem with these steps. It is correct. Step 7 is redundant (because of the where you have placed the tnsnames.ora file)-it is only really necessary when you place the file in another directory where +%ORACLE_HOME%\network\admin+ is no longer applicable.

    Note that the customer himself, needs to load the DLL of OIC InstantClient - and this DLL uses the settings of environment and the rest of "do its thing".

    If customer load another customer Oracle DLLS, then bets are open InstantClient is used, never mind will work.

    Only one copy of a DLL can exist in memory. So if some other s/w is using other DLL OIC, then this DLL is already loaded and will be used by all other client s/w. Nothing will be able to use the DLL itself InstantClient.

    Therefore, make sure that no Oracle client driver is loaded at all. Then make sure that when the client s/w requests to load the DLL of the OIC, it is loaded from the InstantClient directory.

    As far as I remember, the core Win32 LoadLibrary() call is made by the application - if the DLL is not in memory, the current (in the virtual machine for this process of Windows) directory is used. If the DLL does not exist there, the %PATH% variable is used to find and load the DLL. DLL usage meter is then set to 1. When multiple processes require the DLL, it is incremented. When a process ends, the usage count is decremented. When it reaches 0, its unloaded from memory.

    Result of all this is that only one module DLL (whatever the number and versions of the physical DLL files on disk) can reside in the kernel space, and you must ensure that the correct physical DLL is loaded by the kernel.

  • Cannot display the results in the SQL Developer tool

    Hello Experts - I installed Oracle SQL Developer (version 1.5.5), just run a simple query. Nothing appears in the results window. Can you please let me know why?

    Select * of the double

    You have an error message in the message area.

    White spaces are important in SQL!

    Good bye

    DPT

  • Show all members of the Group of developer tools?

    How can I view all of the current members of the developer tools group?

    Hello Michael,

    Unfortunately, it is quite difficult. Here are some solutions:

    http://superuser.com/questions/279891/list-all-members-of-a-group-Mac-OS-x

    https://jamfnation.jamfsoftware.com/discussion.html?ID=15503

  • Prevent the owner of the schema using development tools

    Hello world

    We are doing some tasks to meet the PCI DSS requirements. One of them is preventing the schema owner to log in using development tools (TOAD, sqlplus, plsqldev, SQL Developer...). I found a solution here:

    http://kamranagayev.com/2009/10/04/block-developers-from-using-Toad-and-other-tools-on-production-databases/

    But as comment said, if we change the name of the .exe file, we can easily connect. I thought to do info = module, no program info. I tried with no success. I read somewhere that in after logon, the client info trigger is not set completely. So that we can't get info module exactly after logon trigger (I tried and I have seen this module was same as program interviewed since the session$ v).

    Another comment suggested that we allow some programs to connect instead of refuse many unauthorized tools. I think it is a good idea. But I wonder if some guys know rename tool dev as our authorized tools and it can connect.

    If anyone has any ideas or solutions, please help me. Thank you.

    One solution is to use two schemas - detail a. has no privs assigned to it (not even CREATE SESSION), but contains all of the objects (tables, indexes, views, code, etc.). Diagram B does not all objects, but given privileges to operate on the objects belongs to priv a. withdrawal CREATE SESSION from scheme a scheme b (in for example Prod) will achieve your requirement.

  • Connect the JSK & Sql developer

    Hello

    Someone trying to connect JSK SQL Developer? I tried to do by using the credentials of DB that I could see in server.xml but without success.

    Thank you!

    Usually the HSQLDB JSK uses works in memory mode, not in Server mode - see "Server Modes" at http://hsqldb.org/doc/guide/running-chapt.html. This means that it is not possible to use a tool like SQL Developer, TOAD, squirrel etc to connect in it. You can manually write a script so that it starts the DB in Server mode, you will need to change the jdbc connection string in server.xml in an appropriate manner. Then you should be able to use an external tool to reach the DB using the same jdbc connection string.

    If you just need to make a simple few queries then you can try the query tool that comes with HSQLDB. It is very basic, but has the advantage that you need not change the DB mode, it can connect to a DB in memory of a JSK running. To run it, find the hsqldb.jar in JSK and run:

    Java - cp hsqldb.jar org.hsqldb.util.DatabaseManagerSwing

    Phil

  • A few questions for the first blackberry development

    Hello

    First of all, my apologies for this being placed in the Java section, it seemed, the nearest section of what it is, but please move if need be.

    We have an application in development for the iOS platform that uses some geolocation and Web services.  We believe that we should have a version for the blackberry also platform, so we're looking in this evolution.  However, not being not to developers or users of blackberry, the different options for creating an application are quite overwhelming.  My questions are the following:

    (a) what language (Java?) is the most compatible?  Ideally, we would like to write the backend once, don't have to change the interface for devices of the curve through to the new playbook.  Java is also based on all of these devices?  None of us have any idea of Adobe Air, this is probably out of the question.

    (b) what are the operating systems are supported by what?  The curve I picked up seems to have Blackberry OS5 on it.  All operating systems support Java everything too, and whose support wifi location and cell tower map (the curve does not have a GPS unit).

    (c) I understand that during the development in Java there is a blackberry UI api, that's fine.  However, what version of Java is supported?  Is - this SE6, or we are talking about mobile Java here?

    (d) distribute the Apps.  The Blackberry App World seems to be the best route.  Do most people use?  It seems that the Blackberry is not restricted like iOS devices in how applications can be distributed.  Is there any other App stores (e.g. Amazon for Android?).  I guess it would be silly not not to enumerate the BB App World.

    Thanks in advance, any help is much appreciated.

    S.

    It is a really difficult game of questions.

    (a) Yes is the short answer.

    The long answer involves noting that the PlayBook does not directly support Java, and development platforms only available to this end are currently Adobe Air and Web works.  I can't give you a good explanation, since I dabbled only in them, but in summary,

    (a) with Web works you are essentially creating a Web application using HTML and JavaScript, with some JavaScript interfaces to the native operating system

    (b) air seems to me be in another development environment where screens and treatment are defined in a "Scripting" language that runs on the device.

    Work Web development is possible on the current BlackBerry phones as well, although I have no idea how compatible the two are - in other words how much you would have to change to a PlayBook Web app works works on the Palm and vice versa.

    I suggest you ask a similar question in the forums for these two platforms and see what they say.

    Anyway, there is a train of thought that phones current based Java will stop at some point, and phones will become based QNX, as PB.  So right now, if you want to learn something, then Web works.  But the works Web will be able to do what you want?  I don't know, but I don't know that Java is.

    But whatever the customer, you should be able to write the backend once.  Everything should speak http towards it.

    (b) there is not a BONE by device. Most devices come out with only one level and can be upgraded, usually at the next big release.

    Take a look at this good:

    http://us.BlackBerry.com/developers/choosingtargetos.jsp

    OS 5.0 in theory supports the location of the cell tower.  I say in theory because I never had to work in the United Kingdom.  But I have not tried very hard.  In my view, WiFi is available in the OS 6.0.

    (c) blackBerry support J2ME, with a significant number of extensions.  Think of it as Java 1.4 without all the useful bits, but the then RIM tried to add their useful in bits.

    (d) cannot speak for others, but BB App World is all I use.  Tried another one and didn't get anywhere.  YMMV.

    I hope this helps.

  • Not able to post a question on the Forum SQL

    Hello

    I'm trying to post a question on the SQL forum, tried 2 times, but it does not appear.

    I am able to see my question on my Inbox, but this issue does not appear in the SQL forum.

    This is the link to my thread: transpose columns in lines

    Please help me,

    Kind regards

    Jitendra

    Indeed, it is a loophole.

    If you go to SQL and then click on the 'Content' link, you will see that need you the space of PL/SQL and if you post a discussion there, it will appear in the list of threads space the SQL and PL/SQL.

    ---

    Ping moniquevdb-Oracle and Oracle-hocinebelatreche to ask that they please untangle this loophole (or someone who can ping).  I can confirm that, following steps of Jitendra, people are still able to create threads in the old list of SQL thread when they should go to list of PL/SQL threads.

    Essentially, this means that the messages of the people will be lost to most of the community.

    I don't always put the purpose of actually having a separate SQL space, as it doesn't really seem to offer much to the what it was associated with the PL/SQL space.

  • Connection closed - is there a SQL Developer Tools > setting Preferences?

    Is there a way to set a Pref that will keep my connections open (for long periods of time)?

    Hi Chuck,

    No preference for this, but, as far as I know, a third-party extension should be a help for versions of SQL Developer to 3.2:

    SQL Developer Extension Keep-Alive created!

    For 4.0, the third-party developer will have to update the extension.  Do not know if it took steps again:

    Keepalive Developer SQL does not work in 4.0

    Kind regards
    Gary

    SQL development team

  • Basic questions about the PL/SQL web services and data source names

    Hello

    I've successfully generated a web service for a procedure from PL/SQL packaged JDeveloper 11.1.1.3.0).

    The following code was generated in the base class for web services:
     __dataSource = (javax.sql.DataSource) __initCtx.lookup("java:comp/env/jdbc/dbconnectionDS");
    However in the weblogic server, the data source name is jdbc/Gisele for deployment fails in a first time.

    What is the recommended procedure to solve this problem? The obvious solution is to manually change the source - that's what I did and it worked fine. However if I re - generate the web service I won't lose my change. Is there a better way to do it?

    Another question - in the web.xml file that is generated, there is a resource-ref to the data source. I was hoping that change the data source name it would help, but it didn't work. What is - it used to in this context?

    Thank you
    Luis

    I forgot to add, so in case some time later and you want to update the connection to your service details, all you have to do is to add the following entry in your weblogic.xml:
    .

    JDBC/ref_name_from_web. XML
    JDBC/new_jndi_name

    .
    And in this way, you will not have to change any code level to point your web service to another connection.

    Vishal-

  • Question on the PL/SQL and substitution of variables

    Good evening

    I just started studying the PL/SQL (currently at page 13 of the book), I typed the following example from the book:
    declare
      v_student_id          number          := &sv_student_id;
      v_first_name          varchar2(35);
      v_last_name           varchar2(35);
    
    begin
      select first_name,
             last_name,
        into v_first_name,
             v_last_name
        from student
       where student_id = v_student_id;
    
    
      dbms_output.put_line('Student name : ' || v_first_name || ' ' v_last_name);
    
      exception
        when no_data_found then
          dbms_output.put_line('There is no such student');
    end;
    /
    that gets me the following error:
    SP2-0552: Bind variable "SV_STUDENT_ID" not declared.
    I thought that SQL * more would invite me for a value to be substituted for SV_STUDENT_ID but it does not, that caused the error. Why has no SQL * more invite me for the value of SV_STUDENT_ID and what is the correct way to do it than the code above?

    Thank you for your help,

    John.

    As a result, DDL for STUDENT table:
    CREATE TABLE STUDENT
     (STUDENT_ID NUMBER(8,0)
     ,SALUTATION VARCHAR2(5)
     ,FIRST_NAME VARCHAR2(25)
     ,LAST_NAME VARCHAR2(25)
     ,STREET_ADDRESS VARCHAR2(50)
     ,ZIP VARCHAR2(5)
     ,PHONE VARCHAR2(15)
     ,EMPLOYER VARCHAR2(50)
     ,REGISTRATION_DATE DATE
     ,CREATED_BY VARCHAR2(30)
     ,CREATED_DATE DATE
     ,MODIFIED_BY VARCHAR2(30)
     ,MODIFIED_DATE DATE
     )
    /

    You had a few syntax errors (lines 7 and 12), but after their attachment, your code worked for me:

    SQL> ed
    Wrote file afiedt.buf
    
      1  declare
      2    v_student_id          number          := &sv_student_id;
      3    v_first_name          varchar2(35);
      4    v_last_name           varchar2(35);
      5  begin
      6    select first_name,
      7           last_name
      8      into v_first_name,
      9           v_last_name
     10      from student
     11     where student_id = v_student_id;
     12    dbms_output.put_line('Student name : ' || v_first_name || ' ' || v_last_n
    ame);
     13    exception
     14      when no_data_found then
     15        dbms_output.put_line('There is no such student');
     16* end;
    SQL> /
    Enter value for sv_student_id: 1
    old   2:   v_student_id          number          := &sv_student_id;
    new   2:   v_student_id          number          := 1;
    
    PL/SQL procedure successfully completed.
    

    Did you happen to define set off?

    SQL> show define
    define "&" (hex 26)
    
    SQL> set define off
    SQL> /
    SP2-0552: Bind variable "SV_STUDENT_ID" not declared.
    SQL> set define on
    SQL> /
    Enter value for sv_student_id: 1
    old   2:   v_student_id          number          := &sv_student_id;
    new   2:   v_student_id          number          := 1;
    
    PL/SQL procedure successfully completed.
    

    Published by: Andy Klock on August 11, 2010 18:13 (sorry, line 7 means there was an error not 9...)

  • Re: Question about the Toshiba HDD Recovery tool

    Hello
    Quick question: if I burn a disc of recovery using 'Toshiba recovey media creator', if it burns a picture of the current state of the computer or if it burns an image of the HARD drive restorations (means a clean image)?
    I have a recovery disk in drive D but I want a backup on dvd disc.

    Thank you!

    Hello

    Not sure, I didn't create Toshiba Recovery disk, but I think it burns an image of HARD drive recovery. But I don't know, if you use a software, Acronis true image, you can burn the image to the current state of the computer.

Maybe you are looking for