Solved

SQL*Plus Buffer Overflow

Posted on 1998-05-15
1
1,239 Views
Last Modified: 2008-02-01
I am trying to spool output from a PL/SQL procedure to a local file with DBMS_OUTPUT.put_line.
After a few loops through a cursor, the following error arises:

ERROR at line 1:
ORA-20000: ORU-10027: buffer overflow, limit of 2000 bytes
ORA-06512: at line 52

SQL*Plus will not let me increase the screen buffer over 2000.

I've seen this remedied before but can't recall. Who knows the solution?
0
Comment
Question by:Softchoice
1 Comment
 
LVL 3

Accepted Solution

by:
poncejua earned 50 total points
ID: 1081118
To increase buffer, use set serveroutput command:

  SET SERVEROUTPUT ON SIZE buffer_size

  For example:  SET SERVEROUTPUT ON SIZE 5000.

To verify the buffer size do SHOW SERVEROUTPUT.

For additional information on DBMS_OUTPUT refer to page 354 of ORACLE PL/SQL Programming.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Working with Network Access Control Lists in Oracle 11g (part 2) Part 1: http://www.e-e.com/A_8429.html Previously, I introduced the basics of network ACL's including how to create, delete and modify entries to allow and deny access.  For many…
Introduction A previously published article on Experts Exchange ("Joins in Oracle", http://www.experts-exchange.com/Database/Oracle/A_8249-Joins-in-Oracle.html) makes a statement about "Oracle proprietary" joins and mixes the join syntax with gen…
This video shows information on the Oracle Data Dictionary, starting with the Oracle documentation, explaining the different types of Data Dictionary views available by group and permissions as well as giving examples on how to retrieve data from th…
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question