Solved

SQL*Plus Buffer Overflow

Posted on 1998-05-15
1
1,231 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
Comment Utility
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.

Join & Write a Comment

How to Unravel a Tricky Query Introduction If you browse through the Oracle zones or any of the other database-related zones you'll come across some complicated solutions and sometimes you'll just have to wonder how anyone came up with them.  …
This post first appeared at Oracleinaction  (http://oracleinaction.com/undo-and-redo-in-oracle/)by Anju Garg (Myself). I  will demonstrate that undo for DML’s is stored both in undo tablespace and online redo logs. Then, we will analyze the reaso…
This video shows how to Export data from an Oracle database using the Original Export Utility.  The corresponding Import utility, which works the same way is referenced, but not demonstrated.
This video explains what a user managed backup is and shows how to take one, providing a couple of simple example scripts.

744 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now