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: Christian Antognini <Christian.Antognini_at_trivadis.com>
Date: Wed, 3 Jan 2007 12:04:08 +0100
Message-ID: <F2C9CCA71510B442AF71446CAE8AEBAF8B599C@MSXVS04.trivadis.com>


David

> SQL> set serveroutput on;
> SQL> show serveroutput;
> serveroutput ON size 2000 format WORD_WRAPPED
> SQL> create or replace function test return number is begin
> DBMS_OUTPUT.put_line('Hello, world!'); return 0; end;
> 2 /
>
> Function created.
>
> SQL> select test() from dual;
>
> TEST()
> ----------
> 0
>
> SQL>
This is the "old" behavior. As of SQL*Plus 10gR1 it works as expected...

HTH
Chris

--
http://www.freelists.org/webpage/oracle-l
Received on Wed Jan 03 2007 - 05:04:08 CST

Original text of this message

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