Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: A Basic PL/SQL Question

RE: A Basic PL/SQL Question

From: Morton, Ronald D <rdmorton_at_switch.com>
Date: Tue, 27 Mar 2001 14:14:49 -0800
Message-ID: <F001.002D9863.20010327135530@fatcity.com>

Bill,

The version 8 PL/SQL manual states:

Messages sent using the DBMS_OUTPUT are not actually sent until the sending subprogram or trigger completes. There is no mechanism to flush output during the execution of a procedure.

You may want to try using the file i/o facility provided by the UTL_FILE package - not as convenient, but should handle all of your table. Maybe use DBMS_OUTPUT to indicate when file has been written?

Ron Morton
Union Switch & Signal Inc
rdmorton_at_switch.com

> -----Original Message-----
> From: Carle, William T (Bill), NLCIO [SMTP:wcarle_at_att.com]
> Sent: Tuesday, March 27, 2001 4:09 PM
> To: Multiple recipients of list ORACLE-L
> Subject: A Basic PL/SQL Question
>
> Hi,
>
> This is my first attempt at writing a PL/SQL procedure. Everything
> works
> fine, except I have a firly large table I am running against. I am trying
> to
> display my output with DBMS_OUTPUT.PUT_LINE. I have set the buffer size to
> 1000000, apparently the maximum value, but it still isn't enough to print
> output for my entire table. Is there another way to display data? Or is
> there some way to increase the maximum?
>
>
> Bill Carle
> AT&T
> Database Administrator
> 816-995-3922
> wcarle_at_att.com
>
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author: Carle, William T (Bill), NLCIO
> INET: wcarle_at_att.com
>
> Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
> San Diego, California -- Public Internet access / Mailing Lists
> --------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from). You may
> also send the HELP command for other information (like subscribing).

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Morton, Ronald D
  INET: rdmorton_at_switch.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Tue Mar 27 2001 - 16:14:49 CST

Original text of this message

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