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 into two files concurrently

Re: writing into two files concurrently

From: Brian Peasland <dba_at_nospam.peasland.net>
Date: Thu, 18 Oct 2007 09:42:32 -0500
Message-ID: <471764f0$0$26446$88260bb3@free.teranews.com>


abdoul85 wrote:
> I have problem:
> I want to write data into two files concurrently. spool and
> dbms_output.put_line doesn't provide this functionality. Is there any
> other way to write into the file.
>
> greetings
>

You can use DBMS_OUTPUT to do this. Simply open another file via a second file handle. Then use two PUT_LINE procs each using a different file handle. You will have to double up the PUT_LINE commands.

HTH,
Brian

-- 
===================================================================

Brian Peasland
dba_at_nospam.peasland.net
http://www.peasland.net

Remove the "nospam." from the email address to email me.


"I can give it to you cheap, quick, and good.
Now pick two out of the three" - Unknown

-- 
Posted via a free Usenet account from http://www.teranews.com
Received on Thu Oct 18 2007 - 09:42:32 CDT

Original text of this message

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