Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: calling a stored procedure from a sitescope monitor
I started to get the feeling that since no one had the answer to my
question, maybe I was asking the wrong question.
Thanks to those who replied. You helped me figure out where I made a few wrong assumptions.
I don't mess with procedures and functions much. A book I was using as a reference got me real confused with some examples that are clearly wrong -- procedures with return types specified. My procedure was using dbms_output.put_line to "return" a value, but that isn't really a return. It isn't surprising to me now that the Sitescope monitor couldn't deal with it.
I'm using a function now and it is working.
-Chris
>Chris
>
>You wrote "I just want to call it and get the one value it returns."
>I think that procedure does not return values, functions does.
>If you want to get value from a procedure you have to pass
>a parameter that the procedure will return the value in.
>
>Yechiel Adar
>Mehish
-- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Chris McGrail INET: aminotorami_at_hotmail.com Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).Received on Wed May 22 2002 - 18:43:30 CDT
![]() |
![]() |