DBMS_OUTPUT.PUT_LINE Produces No Output (Doc ID 1143786.1)

Last updated on JULY 05, 2017

Applies to:

PL/SQL - Version 10.2.0.4 and later
Information in this document applies to any platform.
***Checked for relevance on 07-May-2013***

Symptoms

DBMS_OUTPUT.PUT_LINE is used to display messages to the screen.


  The following should output the word "HI" but does not for any user (apart from SYS).

SQL> set serveroutput on
SQL> exec dbms_output.put_line('HI');

PL/SQL procedure successfully completed.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms