Re: PL/SQL question
From: rjamya <rjamya_at_gmail.com>
Date: Tue, 9 Oct 2012 14:11:44 -0400
Message-ID: <CAGurbTO=WAK7wO=f7k_wU+3eX06dzOQgUj79_rDdc5TXUBceAg_at_mail.gmail.com>
Date: Tue, 9 Oct 2012 14:11:44 -0400
Message-ID: <CAGurbTO=WAK7wO=f7k_wU+3eX06dzOQgUj79_rDdc5TXUBceAg_at_mail.gmail.com>
- dbms_system.ksdwrt, write to your trace_file
- re-write your procedure as a pipelined function, so you can output in realtime
- use dbms_pipe to send messages to another process which will listen and output (but how, it will still again be a plsql block)
- use dbms_application_info to populate v$session-longops suitably
- utl_file
- run your script in debug mode, put a watch on rowcount and keep refreshing in the debug session :)
ok ... i am sure there will be more options You can do it using output buffer, but unfortunately SQLPLUS does not give you a way to access *that* output buffer until your plsql block has done execution, so your choices are limited.
Raj
On Tue, Oct 9, 2012 at 1:59 PM, Ricard Martínez
<ricard.martinez_at_gmail.com> wrote:
> Hello
> Yup thats right, but i mean a way to do it in the output buffer without using a table or utl_file.
> Also dbms_application_info doesnt seems to fit neither.
> Any more suggestions?
-- http://www.freelists.org/webpage/oracle-lReceived on Tue Oct 09 2012 - 20:11:44 CEST