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: PL/SQL

Re: PL/SQL

From: DanHW <danhw_at_aol.com>
Date: 30 Aug 1998 06:27:55 GMT
Message-ID: <1998083006275500.CAA19676@ladder03.news.aol.com>


>
>I tried to print, from a PL/SQL procedure,
>in the screen the result from a query using
>the dbms_output.put_line. However, there
>is a limit of the bytes that I can store in the buffer.
>To overcome this, I put the result of the query in
>a temporary table and I printed the contents of
>this table from the SQL*PLUS.
>Is there a way to avoid the usage of a temporary table?
>
>Thanks in advance,
>greg
>
>

The default limit is 2000 bytes, I believe. However, it can go to 1000000 bytes. In sqlplus, enter the following:

sql> set serveroutput on size 1000000

If that is not enough, you will need to use other method (but a million characters aren't enough???)

Dan Hekimian-Williams Received on Sun Aug 30 1998 - 01:27:55 CDT

Original text of this message

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