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: Mercadante, Thomas F <NDATFM_at_labor.state.ny.us>
Date: Fri, 16 May 2003 08:32:19 -0800
Message-ID: <F001.0059AC4C.20030516083219@fatcity.com>


Matt,  

the DBMS_OUTPUT.ENABLE command does nothing within the function. Use this along with the set serveroutput command when running sql*plus and you should be all set.  

Tom Mercadante
Oracle Certified Professional

-----Original Message-----
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: Mercadante, Thomas F
  INET: NDATFM_at_labor.state.ny.us

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 - 11:32:19 CDT

Original text of this message

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