Plu SQL hang up when the cursor is fired.

Hello
I'm just a beginner in sql and plsql. I run the cursor query as below in my sql more window:

Declare
CURSOR emp_cursor IS SELECT * FROM employees WHERE employee_id = 100;
employees emp_record % rowtype;
Begin
OPEN emp_cursor;
LOOP
LOOK INTO emp_record emp_cursor;
DBMS_OUTPUT. Put_line (emp_record);
END LOOP;
NARROW Emp_cursor;
END;

While I try to run the plu SQL hang (the cursor (_) flashes to a new line in trying to retrieve the result). Even after 10-15 minutes the result is displayed and I cannot type in any other question, that the system is not ready. In short sql plu hangs up.

Add the exit condition

FETCH emp_cursor INTO emp_record;
exit when emp_cursor%notfound;

also your call to DBMS_OUTPUT. Procedure put_line() is not.
It takes a VARCHAR2 as an input parameter, when you pass a variable with employees % rowtype.
For me, it showed the following error:

DBMS_OUTPUT.PUT_LINE(emp_record);
*
ERROR at line 8:
ORA-06550: line 8, column 1:
PLS-00306: wrong number or types of arguments in call to 'PUT_LINE'

That should be:

DBMS_OUTPUT.PUT_LINE(emp_record.employee_id); --Or whatever columns you want to display

Tags: Database

Similar Questions

  • The address bar disappears when the cursor is in the middle or the bottom of the page. How can I make the address bar to stay constantly?

    When you open mozilla, when the cursor is not at the top of the page, I do not see:
    (1) the address bar
    (2) front and rear buttons
    (3) office toolbar

    So, in short i can only see the adress bar when i move the cursor to the top of the page. Desktop toolbar doesn't seem at all when the mozilla internet page is open. How can i solve this?
    

    See also:

    When you are in full screen view, move the mouse to the top of the screen to facilitate the bar bar appear Navigation and tab.

    You can use one of them to exit full screen:

    • Click the expand (in the top right Navigation bar) button to exit full screen
    • Right click on an empty space on a toolbar and select "exit full screen".
    • Press the F11 key
  • The mouse freezes when the cursor changes icon

    Hello. The problem is that when the cursor changes its icon for example when taking screenshot with cmd + shift + 4 it freezes until I'll click. Basically, it moves only when selected. It is annoying when I'm working in C4D where when you draw cursor change and makes it almost impossible but it's not in Photoshop.  Someone has experienced something like this? Or maybe some ideas what the problem is?

    I want to mention that this happens only on one of the two user accounts on the computer

  • Is there a way to remove the ToolTip that contains the name of the application when the cursor over the icon in the dock?

    Since the upgrade to El Capitan, I noticed that the name of each application in the dock appears above the docking station in a bubble of large text when the cursor is everywhere down in the dock next to this icon of the application.  It's annoying because if I'm often pass between two or several applications, I don't want to have to keep moving the slider to the top of the screen to get the text balloons to disappear.  When the application names are present, they cover part of the screen of the app that I work.  Not sure if I remember correctly, but I thought that those who went after a period of time in older versions of OS.  I was never bothered by it as I am with El Capitan.

    Thank you all.

    Not that I am aware, no.  There is nothing in the system preferences-> Dock that allows you to disable or remove this function.

  • Data on 'Back' button pressure only when the cursor is in the text field

    All,

    With the help of members of the forum, I understood how to use the 'Touch down?' event to send text series when the user presses the button «Back»  Is there any way I can limit this function so that the data is only sent when the cursor is in or on the correct text box AND the user presses the return key?

    Thank you very much.

    You will be most of the way, if you change the event handled in a key event down to the control of the string, rather than for all VI.  This way, you haven't really even to worry about key priorities.  You have control over the "Limit to the single line" value chain so the new line in fact will not be added to the string, but you will always have the event.

    The other problem is that you read the value of string outside of the structure of the event, so the value you write to the indicator will be flawed when it is written.  The string value is not actually until you press the Enter key.  The event fires at the point where you hit enter so that it uses the value that is on the line at the time, which is the value before you hit enter, then your indicator gets old.  There are several possible solutions.  A simple, but not necessarily good option must set "Update of value while typing" and assumes that the user will always wait for at least 10 ms between the last strike and enter.  Of course, if you increase the timeout value you may miss some characters, and there isn't really a need for a case of timeout to all in the structure of your event (just another case for the power button).  Putting control of the Terminal string inside the structure of the event does not solve the problem - again, the event occurs before the new value is treated - but, oddly enough, reading the value of a property within the structure of the event node works (while reading a local variable does not work).  It could also save a dynamic event that triggers the update based on the control indicator.  You can add a registry to offset Boolean to act as a flag and handle the case of the value has changed for the control of the chain as well.  In the case of the value has changed, if the Boolean value is set, updated to the indicator and always set to Boolean false.

    Sorry it's all rather complicated, there are quirks to LabVIEW treatment event.  Reliable the more straightforward approach is probably reading the control value of the string to a property node in the case of the event.  While property nodes are not generally recommended, especially for obtaining or the settting a value when the terminal is on the same side, in this case I think that it is the least complicated solution.

  • How to make a text box appear in a PDF file in InDesign CC when the cursor rolls over another area of text?

    I'm doing a text box appears in a PDF document in InDesign when the cursor of the user hovers over an another textbox, and I want it to disappear when the cursor moves off the coast of the first text box. I tried the following with adjustment of various, and it does everything just for me.

    Display a different button on turnover

    You can create a hotspot in which clicking or mousing over an object contains another object. To do this, create two buttons, hide one of the buttons and use the show/hide button action to show and hide the button target.

    • Create an object to use as the "source" button. In the buttons Panel, click the icon of the object to convert to A button.

    • Place the image you want to use as the button target and convert it to a button.

    • Select the target image and select hidden until this that triggered at the bottom of the Panel buttons.

      The image must be hidden in the exported document that can be displayed when the "source" button is clicked or wriggle on.

    • Click the source button and create two different actions, one for show the image target and target the other to hide the image.

      If you want the image to appear when the mouse is over the button source, use events on Roll Over and On Roll Off. If you want the image to appear when you click on the source button and disappear when you release, use events on a click and release. In both cases, use the show/hide action buttons to show or hide the target button. See the interactive buttons.

    • Use the Preview Panel to test the buttons.

    Should work...  On your last point (not 12?) I get the feeling that you have exported your doc as Adobe PDF (Print)? You must instead use (Interactive) Adobe PDF...

  • Data is displayed when the cursor in the field, disappears when the cursor leaves the field

    I was given a simple Acrobat form with the data already present in the fields.  Even if the form field property is Visible on all fields, the data are visible when the cursor is on the ground.  As soon as the cursor leaves a field, the data disappear.  When I print the PDF, the data do not appear.

    I noticed that if I change the value of the field (e.g., add a period at the end), then the value disappears more.

    Anyone know why that would happen?

    Thanks in advance.

    Alice

    This is the appearance.

  • The SQL has aged in the cursor cache.

    Hello
    in 10g R2, Ihave the following:
    The SQL has aged in the cursor cache.

    Does that mean that undo_retention is not big enough?

    At the moment it is 10800, 3 hours.

    Thank you.

    To cancel retention and aging SQL out of cache are two different things and are not not depedant.

  • stop the moving pictures when the cursor is over them

    When I select a photo the photo moves with the cursor... This isn't a video... How to stop this happening

    Not sure what you mean? You clicking on and now the cursor on the picture, and then move?

    See you soon,.

    GB

  • Element of the selection list appears when the cursor is placed

    Hi all

    Version: Apex 4.2.5

    I need when the user places the cursor over a selection list, it should display the list. I need to implement this approach to all the selection in my application list.

    Can anyone suggest me how to do the same?

    Thanks in advance.

    Best regards

    Patrick

    Did you mean something like this:

    JQuery: Expansion of the bubble option - Stack Overflow

    See this violin as well:

    http://jsfiddle.NET/bplumb/GE86L/1/

    Thank you

    Sunil Bhatia

  • TextBox is displayed when the cursor is positioned on keyword

    Hey guys,.

    I create an interactive history of computing program flash and I want to be able to show more information about a certain subject/person when the user positions the cursor on a certain keyword such as a name. Is this possible? If so, then how could I go about this?

    Any help/advice would be MUCH appreciated.

    I tried to search the forums without success.

    Thank you!

    There are different ways to do this, either by code or not.

    Of the to do without code, you could create the text in a button symbol and place the information that you want to appear in the frame Over just then.  This way when you hover over the button what is under more appears.

    To do with the code, you must use the overthrow of coding in which when you rollover the text (such as a movieclip symbol) the additional info movieclip is made visible and when you deployment it is made invisible.  Coded approach depends on which version of Actionscript you are using.

  • Display the index when the cursor placed on a button

    Hello world.

    I have a button on a page. I want to display a message from cursor when they place a cursor over the button. As with suspicion when they place the cursor on the button.

    Thanks in advance.

    Replace "button style" button "HTML" :-)

    See you soon,.
    Hari

  • Exception of e/s when the cursor #getNext

    I am using I 3.3.74 and could not understand the reason for an I/O exception thrown in I. Here is the stack trace:
    FileManager.java:1386
    FileSource.java:54
    LogManager.java:691
    LogManager.java:661
    IN.java:1215
    Tree.Java:1403
    Tree.Java:1266
    CursorImpl.java:1629
    CursorImpl.java:1499
    Cursor.Java:2181
    Cursor.Java:1991
    Cursor.Java:777

    GetNext() call is invoked with LockMode.DEFAULT. The database environment opens with the following parameters:
    EnvironmentConfig.ENV_RUN_CLEANER: false;
    EnvironmentConfig.ENV_RUN_CHECKPOINTER: false
    EnvironmentConfig.CLEANER_EXPUNGE: true
    EnvironmentConfig.CLEANER_MIN_UTILIZATION: 5
    EnvironmentConfig.EVICTOR_LRU_ONLY: false
    EnvironmentConfig.LOG_FILE_MAX: 100000000
    EnvironmentConfig.LOCK_N_LOCK_TABLES: 37
    EnvironmentConfig.CHECKPOINTER_BYTES_INTERVAL: 209715200
    EnvironmentConfig.CHECKPOINTER_WAKEUP_INTERVAL: 60000000

    There are hundreds of newspapers when the I/O exception is thrown. The code attempts to browse the oldest entries in the database.

    There was plenty of available disk space on the file system, and no disk failure has been detected.

    I would like ideas on how to investigate this problem. Thank you.

    Run DbPrintLog on the log and see if you get an IOException. It can be a real IOException on the underlying disk. Running DbPrintLog should tell you if it was temporary or permanent.

    Charles Lamb

  • Recently several sites showed some bold words, and when the cursor is hovered over them, an ad appears. Is this a problem of Firefox and I

    On several sites, including the BBC, copy appears with the words highlighted. By moving the cursor over them reveals an ad related to the word. This seems to have started a couple of weeks

    Hello, maybe an addon or the toolbar is insert this code in Web sites - please try if sites loading properly in safe mode and if yes, remove all extensions in firefox > addons > extensions, you have not intentionally installed or could look suspicious (especially of toolbars of all kinds). also take a look in Control Panel / programs section and also to uninstall toolbars etc are...

    Troubleshoot extensions, themes, and issues of hardware acceleration to resolve common problems of Firefox

    Fix Firefox problems caused by malicious software

  • Windows Paint text installation will not work and the 'A' accentuates not when the cursor passes over it

    I just wanted to put some txt on photo paint open so imported the scanned picture and everything else works, but the ease to enter text. Move the cursor over the 'A' does not the highlight box around him upward and toolbars from view has the text one checked but dimmed down. Is the same for an empty document in the paint.

    Two ideas...

    (1) Vista paint text button does not work:
    Reach... View / Zoom / Custom / 100% / OK

    (2) I was wondering after leaving by clicking on the 'A '...
    What happens if you move the pointer over
    the picture and left click or drag to create a
    TextBox?

    The following links may be useful:

    Windows Vista-
    Open Paint
    http://Windows.Microsoft.com/en-us/Windows-Vista/open-Paint

    With the help of paint
    http://Windows.Microsoft.com/en-us/Windows-Vista/using-paint

    Paint tools
    http://Windows.Microsoft.com/en-us/Windows-Vista/paint-tools

    How to rotate an Image using Microsoft Paint
    http://maximumpcguides.com/Windows-Vista/how-to-rotate-an-image-using-Microsoft-Paint/

    Microsoft Paint-
    How to add text to digital pictures in Vista
    http://www.ehow.com/how_5841367_add-text-digital-pictures-Vista.html#ixzz1lC2YSoS8http :// www.ehow.com/how_5841367_add-text-digital-pictures-vista.html

Maybe you are looking for

  • Error when using windows update on bootcamp

    I used bootcamp to install windows 10 home complete edition on my iMac 21.5 with Retina display. I had installed windows 8.1 because I thought that it would be cheaper to get an and upgrade to windows 10 but the update never worked. Whenever I have r

  • HD-DVD Wont play HD-DVD on my Satellite P200-123 movies

    I noticed a lot of people have this problem and the answer is always up-to-date software, although mine has been updated through the Tempo software to the latest version of the software and the Toshiba software starts but nothing happens. I got the T

  • Raspberry PI installed correctly on LabVIEW 2014 with LINX 3.0 (yellow warning)

    Hello everyone Well, I create this thread because I can't connect with my RPI with LabView2014, I'll put some different screenshots, as you can see I already install the LINX 3.0 on my computer. My computer sistem -10 64-bit Windows Products already

  • Computer won't start not (Normal Mode or secure); Blue screens

    I have a HP Pavilion DV6 Notebook PC. The other day, he crashed and gave a blue error screen. Since then, it does not start. Ive tried to boot normally and without fail, or work mode. This is the information given in the blue screen. : Win32k.sys PAG

  • uninstalled the Intel Graphics driver

    I accidentally uninstalled an Intel Graphics driver... How can I get it back?  I have Windows Vista on a Dell inspiron 530.