SQL>set serveroutput on;
SQL>declare
begin
DBMS_OUTPUT.put( "put======= ");--不换行
DBMS_OUTPUT.put( "put======= ");--不换行
DBMS_OUTPUT.put_line( "putline====== ");--换行
DBMS_OUTPUT.put_line( "putline====== ");--换行
DBMS_OUTPUT.put_line( "putline====== ");--换行
end;
/
结果:
put=======put=======putline======
putline======
putline======