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

Home -> Community -> Usenet -> c.d.o.server -> Re: Problem with DBMS_OUTPUT

Re: Problem with DBMS_OUTPUT

From: Andrew Babb <andrewb_at_mail.com>
Date: Fri, 09 Apr 1999 12:08:10 +0800
Message-ID: <370D7D2A.D519D70A@mail.com>


Paul,

You need to set the SQL*Plus variable SERVEROUTPUT to ON;

i.e. Within SQL*Plus before running the PL/SQL package type;

SET SERVEROUTPUT ON SIZE 1000000 will allow upto 1,000,000 bytes to be printed out.

Rgds
Andrew

Paul Davies wrote:

> I cannot get my DBMS_OUTPUT working.
>
> The following statement in SQL Plus produces no output:
>
> BEGIN
> DBMS_OUTPUT.PUT_LINE('Hello world');
> END;
>
> does not work though I get the "PL/SQL Procedure successfully completed"
> message.
>
> Is there some configuration I need to do so DBMS_OUTPUT is echoed to the
> terminal?
>
> Any help appreciated.
>
> Paul
Received on Thu Apr 08 1999 - 23:08:10 CDT

Original text of this message

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