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: dbms_output (buffer overflow)

Re: dbms_output (buffer overflow)

From: AlexJent <alexjent_at_aol.com>
Date: 1997/03/05
Message-ID: <19970305015101.UAA07022@ladder01.news.aol.com>#1/1

PowerD_at_logica.com Asks:


--get the overflow problem. this occurrs as I'm using DBMS_OUT.PUT_LINE
--statements in a loop for reporting errors. Unfortunately, if every
record
--I'm processing generates an error I overflow the buffer.

--Is there any way to flush or clear the buffer.


If you are at PL/SQL 2.2 or higher,
You might avoid using DBMS_OUTPUT if you are over-running the 1meg buffer.  You could use the UTL_FILE (file i/o ) and send output to a file and then do whatever with it when the script completes (which is what DBM_OUTPUT does anyway).

Good Luck.

Alex Jentilucci - Consultant
Information System Dynamics, Inc
Minneapolis, MN 55323
Tele: 612-476-7395 FAX: 612-473-5954 E-Mail: infosys_at_aol.com

E-Mail Work: jentilucci_at_notes.seagate.com

          Home: AlexJent_at_aol.com Received on Wed Mar 05 1997 - 00:00:00 CST

Original text of this message

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