I am trying to dump the content of a view into a text file. I am following the steps below
1. select the colmn to cursor
2. Fetch cursors into variables
3. concatinate all variables into a single string
4. Write to string using UTL_FILE package.
I have the problem in step 3, where I am trying to concatinate all the cursor values to a single varchar variable.
I get the following error
ERROR at line 1:
ORA-20000: ORU-10027: buffer overflow, limit of 2000 bytes
ORA-06512: at "SYS.DBMS_OUTPUT", line 106
ORA-06512: at "SYS.DBMS_OUTPUT", line 65
ORA-06512: at "MNDB.RESPONSE_FILE", line 310
ORA-06512: at line 1
Lenght of all the columns in the view will not exceed 1200 characters
Please help me;