Oracle PL/SQL dbms_output.put_line() vs dbms_output.put()

Ich habe eine triviale Frage, die ich noch nicht verstehen den Unterschied zwischen dbms_output.put_line() und dbms_output.put()

set serveroutput on size 200000
Begin
dbms_output.put_line('A' || CHR(10) || 'B');
End;
/

exec dbms_output.put_line('A' || CHR(10) || 'B');

Den oben genannten Ausgabe gibt Eine und B in zwei verschiedenen Linien. Aber

exec dbms_output.put('A')
exec dbms_output.put('B')
exec dbms_output.new_line

druckt nichts. Ich bin mit SQL*Plus: Release 11.2.0.1.0 Production

Schreibe einen Kommentar