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: redbeard <spam_at_aol.com>
Date: 1997/08/15
Message-ID: <33F47381.4116@aol.com>#1/1

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

At the SQL> prompt, set serveroutput on. In your script, use the dbms_output package to dump stuff to output. rtfm on the limitations of the package. The Ant book has a really good overview of the stuff and the packages themselves have docs in the header.

-- 
Brian Martin		BOFH, Programmer
LAB-Interlink		UNIX is GOD mispelled
Medical Robotics	Does Oracle have the answer?

bcmartin_at_labinterlink.com

The sound of one hand clapping is the same as that of
a tree falling unheard in a forest.
Received on Fri Aug 15 1997 - 00:00:00 CDT

Original text of this message

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