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: PL/SQL IO

Re: PL/SQL IO

From: Frank Hubeny <fhubeny_at_ntsource.com>
Date: 2000/07/03
Message-ID: <39603205.C1B90BCF@ntsource.com>#1/1

You might be able to use the dbms_output package if the following example is similar to what you are trying to accomplish:

SQL> create or replace procedure myproc is   2 begin
  3 dbms_output.put_line('hello');
  4 end;
  5 /
SQL> set serveroutput on size 10000
SQL> exec myproc
hello
SQL> You can use the spool sqlplus command to send this output to a file on the client side.

Frank Hubeny

anonymous wrote:

> 1) How do I put data in the SQL/PLUS buffer (the sql/plus command buffer)
> from a PL/SQL procedure when I run it in SQL/PLUS using
> exec myproc()
>
> command?
>
> 2)There is any package for IO on the client side. The utl_file package works
> only on the server side
>
> Thanks,
>
> Rafael.
Received on Mon Jul 03 2000 - 00:00:00 CDT

Original text of this message

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