Oracle/Oracle Study
serveroutput 단순 예
평생초보
2010. 2. 23. 13:25
반응형
SQL> show serveroutput
serveroutput OFF
SQL> begin
2 dbms_output.put_line('serveroutput이 실행 중입니다.');
3 end;
4 /
PL/SQL procedure successfully completed.
SQL> set serveroutput on
SQL> show serveroutput
serveroutput ON SIZE UNLIMITED FORMAT WORD_WRAPPED
SQL> r
1 begin
2 dbms_output.put_line('serveroutput이 실행 중입니다.');
3* end;
serveroutput이 실행 중입니다. --결과물이 출력되었습니다.
PL/SQL procedure successfully completed.
SQL>
반응형