pl/sql package does not show any output... pls help

-every thing ok FRO this program, but how to get out to
---------------------------------------------------------------
create or replace PACKAGE is pkg_test
procedure p_add (a NUMBER, b NUMBER);
end;

create or replace package body is pkg_test
number of l_result;
procedure p_add (number, b number) is
Start
l_result: = a + b;
end;
end pkg_test;


--
Set serveroutput on
Start
pkg_test.p_add (4.30).
end;

Try this...
It will work...

create or replace PACKAGE is pkg_test
procedure p_add (a NUMBER, b NUMBER);
end;

create or replace package body is pkg_test
number of l_result;
procedure p_add (number, b number) is
Start
l_result: = a + b;
dbms_output.put_line (l_result);
end;
end pkg_test;

--
Set serveroutput on
Start
pkg_test.p_add (4.30).
end;

Tags: Database

Similar Questions

  • headset Bluetooth does not show as output device

    I have associated my Creative WP - 350 headphones for the MacBook. When I go to system preferences sound of the headphones does not as an output. I disconnected and repaired several times. This headset works seamlessly with my Android phones. Any suggestions?

    Because I see no way to delete this, I will update I had to factory reset the headset to operate. A fix that Creative has suggested. It worked.

  • TRYING to EXPORT BOOKMARKS - BOOKMARKS-CLICK & IT does not SHOW "MANAGE the BOOKMARKS' HELP!

    TRYING TO EXPORT MY FAVORITES (COMPUTER WILL CRASH SOON). I FOLLOWED THE INSTRUCTIONS TO DO THIS. I CLICKED ON the FAVOURITES and IT does not SHOW 'MANAGE BOOKMARKS' how DO I EXPORT MY FAVORITES IF I can't CLICK ON "MANAGE BOOKMARKS"?

    Thank you

    Menu, select "Show all bookmarks", that will open the bookmarks library in bookmarks. In the library, you can use the "import and backup" menu to export bookmarks.

  • PID does not return any output...

    Hello everyone...

    process sbRIO on board and using the audio and vibration Simulator

    below I have attached my RT + FPGA... code to control the speed of the fan... using PID...

    RT. front panel

    set range

    1000, -1000

    set point... 5000 RPM (speed is the parameter)

    PID GAINS...

    the values calculated at the time of the executin arbitraty... KC = 1, gain full (Kc * Ts/Ti) = 0.011718,.

    derivative gain (Kc * Td/Ts) = 0

    other considerations

    Maximum speed of the fan is 6000 RPM

    tachometer on the vibration signal Simulator is 2 impulses/turns

    the speed is measured accurately

    Manual disturbance can be given by varying the analog output voltage

    If the pid is introduced into RT it works fine...

    but, when the pid (in fpga) is introduced not able to disturb and also not output to

    all other parameters is reset (final rpm, out outputanalog)

    all equal to zero

    This data set is meaningless... I suggest that you check that you actually save the correct values, and you have the wired PID controller correctly upward.

    There are times when (?) heated, but the speed does not change. Also there are times where speed (?) has a step increase, but there is no change in voltage. You can also see places where 5V is applied but different speeds are generated. Of course, it would be much clearer if you labeled your data, including units.

    Open-loop can the system actually achieve 4000 rpm with the applied 5volts? Try to start with a set point which is at the centre of its work.

    The ramps are integral single action? What gains have used here. You should try proportional only first of all, make sure that everything is working properly and then only start watching full action.

  • Captivate 8: space Zoom does not show any action going on inside of the it

    I use 8 Captivate. I want to zoom in on a line and then explain what elements he was highlighting each item in turn. I have three strong points and the Zoom area shows only the first, that then this highest point rest in the Zoom box and other highlights are not displayed. The first nail comes into conflict with the times ' zoom to ' Zoom area.

    When I play the slide in read mode, everything works fine, but in preview mode, or when I publish the project, it does not work. Someone saw something like that? Is there a solution?

    Hello

    As you have discovered, the source of zoom box is not dynamic. He catches just a static copy of everything that is in the neighborhood and it's biggest zooms.

    What you need to do, is the strengths of mode so that they are on the largest area where you want. Otherwise, create a new slide with a picture of the zoom upward as part of the slide and add highlights of this slide.

    See you soon... Rick

  • Calendar Gadget has all orange background and does not show any date information

    My calendar gadget all orange background and does not display the date information. I tried the various help and resets listed in the site support, and also through a search engine search.  No solution that was out there was again active. I tried to reset the file .dll, re-installed McAfee, closed, deleted and re-installed the gadget.  I'm running to do a total reinstall of Vista (not), but I don't really want to do this for a simple gadget. I don't know that there is a difficulty there. I have install a registry cleaner and then uninstalled it, but I don't remember the name of the program. Thoughts?

    It is a few extra for support measures to...

    This behavior is observed if the XML registration is missing in the system. To resolve this issue, follow these steps:

    • Close the Windows Sidebar . To do this, right-click on the Sidebar icon in the Notification area, and then clickoutput (GK: in the case of Windows 7, press Windows key + R > typetaskmgr and press enter > Proccesses tab > selectsidebar.exe > click on the end process button)
    • Open an elevated command prompt window. To do this, clickStart , click principally made programs , Accessories , right-clickguest , and then click run as administrator .
    • In the command prompt window, type the following command and press ENTER:

    regsvr32 msxml3.dll

    Similarly, run these commands:

    regsvr32 scrrun.dll

    regsvr32 jscript.dll

    If the registration was successful, you will see the message DllRegisterServer in succeeded to for each executed command. OpenWindows Sidebar (sidebar.exe ) and check if the problem is resolved.  You will need to disconnect and reconnect your user account to check if the issue has been addressed.

    Aaron
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think

  • CLOB does not show correct output

    Hello


    PLSQL below works fine as expected.

    1 declare
    2 t clob.
    3 cursor c1 is select e-mail from CBS;
    4 start
    5 because I looped c1
    t: 6 = t | i.email;
    7 end of loop;
    8 dbms_output.put_line (t);
    9 end;
    10.
    [email protected]@[email protected]

    PL/SQL procedure successfully completed.


    If I add; as a separator for each email, then it displays only the semicolon.

    1 declare
    2 t clob.
    3 cursor c1 is select e-mail from CBS;
    4 start
    5 because I looped c1
    t: 6 = t | i.email | « ; » ;
    7 end of loop;
    8 dbms_output.put_line (t);
    9 end;
    10.
    ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

    PL/SQL procedure successfully completed.


    Why the output above shows not emails with semi colon separator?

    Any help is appreciated.

    Published by: user8904001 on December 29, 2011 15:07

    I have to write this at least once a day here in the forums... LOOPS of CURSOR ARE OBSOLETE... they were there are OBSOLETE MORE THAN 10 YEARS.

    Sorry to shout but why are we still see this kind of stuff?

    Now to your question.

    In what version work? This is important.

    Because the loop construct itself is the wrong way to approach this problem.
    http://www.morganslibrary.org/reference/analytic_functions.html
    Search for the LISTAGG function.

  • My music app 8 windows does not show any xbox options music... in the opening, it just shows my local music

    The title of the app is always music not Xbox, how can I get Xbox Music on my Windows 8? even the case of videos. His shows videos no videos Xbox.

    I got the reason for this. For me, iam in music of the India and the xbox is not available in India. This may also the right for you. To get the music from the xbox, just change the location in the United Kingdom we something in "change of position" under region (we can get by searching for "change location" in the Panel). Thank you

  • M127fn Lasterjet Pro MFP: hp utility does not show any device information.

    With the help of Pro Laserjet MFP M127fn with Mac OS 10.10.1 using a USB connection. The HP utility device information lists everything except connection and unknown driver version. At the moment I encountered no problems printing, but worried it might be a problem on the road. I uninstalled and reinstalled the included software (both CD and online HP) and the problem persists. Because the printer came with a USB cable, I used one to another printer. Is there such thing as a USB cable exceeded. Or a faulty cable (selectively?) would be the culprit? All ideas will be welcome. Thank you.

    Hello tregare1949,

    I would like to make a suggestion that relates to the issue of crashing.

    Try searching the Apple updates that may be available.  This could very well be a conflict with the HP software and the operating system.

    If troubleshooting doesn't help not solve your problem, then I would say call the HP Technical Support to see all the other possibilities for you. If you call in North America, the number is 1-800-474-6836 and for all other regions, please click here: click here.

    Thanks again for your time.

    See you soon,.

  • Firefox wants to install and addon intitule.1 does not show any information other than a link to Mozilla. Will keep this option disabled. Anyone know what it is?

    Thank you

    If you type about: support in your address bar and then press on enter, you can copy and paste the information in this thread?

  • Photoshop doesn't load the images. It is not illustrated photos. Even the windows tab does not show any file.

    My system: PC with Windows 7 and Photoshop CS5.

    I am treys already: remove CS 5 system. Installation again. Updates. Nothing help.

    Please translate this message in English and also tell us whether it is Mac or PC, version of the operating system, the amount of RAM, etc.

    My guess is an end of file marker, which means one or more of your files are corrupt.

  • Half of my content does not show in preview! Help!

    After you change the site, I went to preview and half of it was missing! But when I came back to the editing mode, it was all there.

    I have no idea of what I did so please help!

    Thank you

    It was with Google Map code you have placed on the same page.

    Embed code has not been closed correctly, after closing other materials are displayed on the preview.

    I sent back the file for you.

    Thank you

    Sanjit

  • my SQL Developer does not work properly! Help

    Hello!!

    My problem here is not like I can't live or work, but it's REALLY annoying, see my SQL Developer does not take any different key of letters and the space bar, I mean, if I use the Enter key, does not alter the line, if I use the return key back isn't clear if I use F5/F9 does not execute the msec! and if the keys don't work!

    any ideas why this is happening? and if yes how do fix this problem?

    There is a well known bug but still not solved, causing this type of behavior, if you are a developer SQL 1.5.X you can work around the problem by loading the accelerators by default:

    Tools-> accelerators-> load Preset-> by default

    If you're on 2.1.X preset may be responsible for

    Tools-> preferences->-> others-> load keyboard accelerators

    2.1 this problem has not been reported so far, so if you are in 1.5.X you can consider upgrading.

  • The NEC uf000x diskette device is showing to work correctly. However, it does not show in windows Explorer. I can't read any disks or even format.

    The NEC uf000x diskette device is showing to work correctly. However, it does not show in windows Explorer. I can't read any disks or even

    format. What is my next step

    Check Device Manager to see if it appears.  You may need to install a driver for it.  If so, you should be able to get from the NEC web site.

    Good luck.

  • I can't install Acrobat Reader. He said that I have a version updated a request to complete (no choice). I don't have any installed version. I'm looking and I can't find no, and if I ask 'open with' PDF documents it does not show an Acrobat

    I can't install Acrobat Reader. He said that I have a version updated a request to complete (no choice). I don't have any installed version. I'm looking and I can't find no, and if I ask 'open with' PDF documents it does not show an Acrobat

    If you're running Windows (which we don't know), you can try to use this tool first remove all traces of your computer:

    http://labs.Adobe.com/downloads/acrobatcleaner.html

    Then you can download the complete player offline installer from

    http://get.Adobe.com/reader/Enterprise/

    After downloading, restart your computer and run the Setup program before anything else.

Maybe you are looking for

  • I installed 8.0.1 and when I try to bookmark a page, Firefox will not save the bookmark. Do not import or restore either.

    I downloaded Firefox to reinstall. After installation, I opened a web page and tried to bookmark. Firefox opens a small format that I am to fill, provide a name and other information for the bookmark. I filled out the form and click 'done '. The form

  • Satellite M70-129: # and symbol keyboard @ does not work

    Hello My computer's built-in keyboard laptop symbol @ and # do not work.Laptop is new. I don't know why? No idea please.

  • Restore the system to the original settings

    I'm trying to restore my computer to original settings to overcome a Trojan horse that has hijacked my Internet browser. When I use the restore option, it only allows me to come back in 3 months and then tells me that the parameters are then the same

  • file text 24 hours on 24

    Hi, I have a textfile vi here which will record the date & time after which the entry passes to 1. However, I want to modify the vi the following requirements. After the text file has reached a certain number of lines, or after 24 hours, it closed th

  • message notification tones

    Hi all. I've been a user of samsung for the past years donkeys but have recently bought the Experia Z3 compact after seeing all the positive reviews on this subject. I'm happy with my purchase, but there seems to be a configuration option missing...