title: Oracle PL/SQL's dbms_output.put_line() vs dbms_output.put()
body: <p>I have a trivial question, I yet to understand the difference between dbms_output.put_line()  and  dbms_output.put()</p>
  
  <pre><code>set serveroutput on size 200000
  Begin
  dbms_output.put_line('A' || CHR(10) || 'B');
  End;
  /
  
  exec dbms_output.put_line('A' || CHR(10) || 'B');
  </code></pre>
  
  <p>The above gives output <strong>A</strong> and <strong>B</strong> in two different lines. But </p>
  
  <pre><code>exec dbms_output.put('A')
  exec dbms_output.put('B')
  exec dbms_output.new_line
  </code></pre>
  
  <p>prints nothing. I am using <strong>SQL*Plus: Release 11.2.0.1.0 Production</strong></p>