DBMS_OUTPUT.PUT_LINE Doesn't Display Leading Blanks Using SQL*PLUS

(Doc ID 1008252.6)

Last updated on OCTOBER 05, 2015

Applies to:

PL/SQL - Version and later
Information in this document applies to any platform.


Leading spaces in text passed to DBMS_OUTPUT.PUT_LINE are not displayed in SQL*Plus (leaving text output left justified).  This behavior may not occur in other tools.

For Example:



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