Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Need help with DBMS_OUTPUT in PL/SQL script
On Tue, 20 Apr 1999 17:49:15 -0600, barry_k_at_bellsouth.net
(barry) wrote:
>At the office we are running Oracle 7.2.?.?.? on HP-UX B.10.2 on an
>HP9000. One of my Oracle scripts contains a blockof PL/SQL code in which
>inside a cursor loop I inserted a DBMS_OUTPUT.PUT_LINE() call to display
>debugging information. The problem is that after a few dozen lines I
>received an error message from ORACLE stating that I had exceeded a
>buffer size for DBMS_OUTPUT. Is there any way to increase this buffer
>size ??
Try adding a call to DBMS_OUTPUT.ENABLE to the PL/SQL block. The maximum buffer size is 1,000,000, so maybe you could try the following:
dbms_output.enable (1000000);
Make sure that you insert it prior to the loop.
regards,
Jonathan Received on Wed Apr 21 1999 - 16:01:49 CDT
![]() |
![]() |