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

Home -> Community -> Usenet -> c.d.o.server -> Re: Usefulness of DBMS_OUTPUT.PUT_LINE?

Re: Usefulness of DBMS_OUTPUT.PUT_LINE?

From: Connor McDonald <connor_mcdonald_at_yahoo.com>
Date: Sat, 06 Jul 2002 11:41:51 +0100
Message-ID: <3D26C96F.6E96@yahoo.com>


Ramon F Herrera wrote:
>
> Being a C programmer, I am accustomed to the 'printf' statement
> having 2 different purposes:
>
> - interactive debugging
> - returning some value(s) to the calling program.
>
> What about the DBMS_OUTPUT.PUT_LINE utility?
> Is is used only to display stuff from SQL*PLUS,
> and therefore limited to interactive sessions?
>
> OR
>
> DBMS_OUTPUT.PUT_LINE is really flexible (like 'printf')
> and it can be use, for instance to return some value
> from a stored procedure to a remote Java client?
>
> TIA,
>
> -Ramon F. Herrera

Check out the utl_file package, or dbms_application_info

hth
connor

-- 
==============================
Connor McDonald

http://www.oracledba.co.uk

"Some days you're the pigeon, some days you're the statue..."
Received on Sat Jul 06 2002 - 05:41:51 CDT

Original text of this message

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