CharlieMike73
Programmer
Hi,
I need to find a way to output the text string (from within a loop) created by a procedure we are running in PL/SQL+.
When successfully run the script would output approx 44k records to the text file, for another script to access later.
The problem is that each line is about 250 (-/+ 100) chars in length, so when we use DBMS_OUTPUT.PUT_LINE (...) we hit he buffer limit before we can even blink.
How can we avoid hitting the buffer limit?
we tryed things like:
I need to find a way to output the text string (from within a loop) created by a procedure we are running in PL/SQL+.
When successfully run the script would output approx 44k records to the text file, for another script to access later.
The problem is that each line is about 250 (-/+ 100) chars in length, so when we use DBMS_OUTPUT.PUT_LINE (...) we hit he buffer limit before we can even blink.
How can we avoid hitting the buffer limit?
we tryed things like:
Code:
SPOOL C:\SQL_SCRIPTS\DYNAMIC_SECURITY_UPDATE.SQL
SET FEEDBACK ON;
SET SERVEROUTPUT OFF;
SET VERIFY OFF;
SET BUFFERSIZE 1000000; -- set the buffer limit to 1million
SET ARRAYSIZE 2; -- to avoid Overflowing the buffer
[\code]
Any help is appreciated,
Thank you in advance!