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

Re: Output from PL/SQL

From: Tomm Carr <tommcatt_at_geocities.com>
Date: 1997/08/15
Message-ID: <33F47685.3402@geocities.com>#1/1

Pavel David wrote:
>
> How can I display results from PL/SQL (within LOOP-FETCH block) to
> standart output ?
>

dbms_output.put( 'Some ' );
dbms_output.put_line( 'text');
dbms_output.put_line( 'Some more text');

The output will be:

Some text
Some more text

But you must SET SERVEROUTPUT ON SIZE nnnnnnn before it will work (put it in the LOGIN.SQL file).

-- 
Tomm Carr
---- ----
Hunting for a job is like hunting for an elephant.
If you're not *very* careful, you might find one!
Received on Fri Aug 15 1997 - 00:00:00 CDT

Original text of this message

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