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: Is there a way I can direct a output of select statement (in a stored procedure) into a file?

Re: Is there a way I can direct a output of select statement (in a stored procedure) into a file?

From: John Chiu <johnymc_at_netscape.com>
Date: Thu, 02 Sep 1999 23:07:27 -0400
Message-ID: <37CF3B6E.1F9F34EC@netscape.com>


use UTL_FILE package to output to text file. There is no way to output to binary for the time being.

John

pcmwong_at_my-deja.com wrote:

> Hi All,
>
> Is there a way I can direct a output of select statement (in a stored
> procedure) into a file?
>
> I know I can use spool command to direct the output into a file under
> SQL Plus or SQL Plus Worksheet.
>
> How about in a stored procedure of a database?
>
> Please help.
>
> Thanks a lot for your input.
>
> Yours Truly,
>
> Paul
>
> Sent via Deja.com http://www.deja.com/
> Share what you know. Learn what you don't.
Received on Thu Sep 02 1999 - 22:07:27 CDT

Original text of this message

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