Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: buffer overflow, limit of 2000 bytes (how to get around)

Re: buffer overflow, limit of 2000 bytes (how to get around)

From: Scott Mattes <Scott_at_TheMattesFamily.ws>
Date: Wed, 20 Nov 2002 17:05:51 GMT
Message-ID: <PhPC9.44745$6g.7771820@news1.news.adelphia.net>


Go to tahiti.oracle.com and search for serveroutput.

dbms_output is a dinosaur for doing debug work. But then, this is Oracle

"Fred Zimmerman" <silversw2000_at_yahoo.com> wrote in message news:a695a242.0211200642.c6c25c4_at_posting.google.com...
> In PL-SQL I run the following SQL Script, and
> get the buffer overflow message; how do I get rid
> of the message, and/or increase the buffer?
>
>
> DECLARE
>
> aDate DATE;
> hType VARCHAR2(4);
> hNo VARCHAR2(4);
> Loc VARCHAR2(8);
>
> CURSOR chRows IS
> SELECT HULLTYPE, HULLNO, LOCATION, ASOFDATE FROM CIMSHIST
> GROUP BY HULLTYPE, HULLNO, LOCATION, ASOFDATE;
>
> BEGIN
> FOR currentCH in chRows LOOP
> DBMS_OUTPUT.PUT_LINE(currentCH.HULLTYPE || ' ' ||
> currentCH.HULLNO || ' ' || currentCH.LOCATION || ' ' ||
> currentCH.ASOFDATE);
> END LOOP;
> END;
> /
> AFDB 1C 701002/S 08-APR-92
> AFDB 1C 701002/S 20-SEP-93
> AFDB 1C 701002/S 03-MAY-94
> AFDB 1C 701002/S 27-DEC-94
> AFDB 1C 701002/S 10-JAN-95
> AFDB 1C 701002/S 05-FEB-96
> AFDB 1C 701002/S 18-APR-96
> AFDB 1C 701002/S 23-APR-96
> ...
> ...
> ...
>
> *
> ERROR at line 1:
> ORA-20000: ORU-10027: buffer overflow, limit of 2000 bytes
> ORA-06512: at line 14
Received on Wed Nov 20 2002 - 11:05:51 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US