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

Re: Print in PL/SQL/ help

From: °í¾È½Ä <koas_at_samsung.co.kr>
Date: Wed, 26 Aug 1998 13:43:15 +0900
Message-ID: <6s03i4$399$1@news-read.unitel.co.kr>


you can do it using dbms package.

set serveroutput on
BEGIN

      dbms_output.enable(10000);
      loop
         exit when i < 10;
         i := i + 1;
         dbms_output.put_line('COUNT : '||to_char(i));
      END LOOP;

END;
/

but, It's not display until PL/SQL completed.

Pachao ÀÌ(°¡) <1998082601592100.VAA01047_at_ladder03.news.aol.com> ¸Þ½ÃÁö¿¡¼­ ÀÛ¼ºÇÏ¿´½À´Ï´Ù...
>How to print out values that are not inserted into table ? For example,
>if I have a loop, and I have a loop counter, how do I print out
>the value of the counter on screen? THanks in advance. -pat
>
Received on Tue Aug 25 1998 - 23:43:15 CDT

Original text of this message

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