Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: dbms_output

RE: dbms_output

From: Yosi Greenfield <ygreenfield_at_kewsystems.com>
Date: Fri, 16 May 2003 09:01:46 -0800
Message-ID: <F001.0059ADB8.20030516090146@fatcity.com>


I'm pretty sure functions don't actually spit out the output like procedures do. They do put it in the buffer, though. So if you dbms_output anything after running the function, you'll see the Hello World from the function.

Maybe because of the way functions return with a return. Just guessing.

Gotta be in the doc somewhere...

hth
yosi

-----Original Message-----
(GECP, MABG, 088130)

Sent: Friday, May 16, 2003 11:17 AM
To: Multiple recipients of list ORACLE-L

If I have put 'dbms_output.enable(10000)' and dbms_output.put_line('hello world')
in a function (contained in a package)
and run 'set serveroutput on' in sqlplus, and then call the function in a select statement, what reasons might there be for not getting the output to my screen?
The statement does not return any error? The manual for built in packages (8.1.6) gives no indications as to why this might not work from a package.



Matt Adams - GE Appliances - matt.adams_at_appl.ge.com When someone says "I want a programming language in which I only need say what I want done", give him a lollipop.
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Yosi Greenfield
  INET: ygreenfield_at_kewsystems.com

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
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 Fri May 16 2003 - 12:01:46 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US