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: Writing to a text file from PL/SQL

Re: Writing to a text file from PL/SQL

From: Álvaro Palma Aste <queria_direccion_at_el.perla.invalid>
Date: Tue, 23 Jul 2002 20:14:49 +0000 (UTC)
Message-ID: <ahkdfp$oeo$1@localhost.localdomain>


Jasna Prester escribió:
>Please help me out one more time,
>I wrote this sql procedure:

>set serveroutput on size 100000
>spool c:\temp\via2.txt
>declare

>f varchar2(30);

BEGIN
>f:='hello';
>dbms_output.put_line(f);
>spool off; ----------------->you don´t need the spool off;
>end;

If this doesn´t work, try adding

dbms_output.enable(); at the beginning

-- 
Atte.
Álvaro Palma Aste
Grupo de Ing. Biomédica
Depto. de Ing. Eléctrica - U. de Chile
******************************************************
It's the only form of protest they're allowed 
I've seen their silent faces scream so loud 
If they were to speak these words they'd go missing too 
Another woman on a torture table what else can they do

Sting - They Dance Alone...
Received on Tue Jul 23 2002 - 15:14:49 CDT

Original text of this message

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