Re: Oracle, writeing to the top of file...

From: Mark D Powell <Mark.Powell2_at_hp.com>
Date: Sat, 1 Feb 2014 08:33:46 -0800 (PST)
Message-ID: <bccad17e-d52f-4b34-b811-da32f4364b62_at_googlegroups.com>


On Thursday, January 30, 2014 6:08:44 AM UTC-5, rgr..._at_gmail.com wrote:
> Hello,
>
>
>
> Do You know how can I easy write to output text file: not to the end of file like in utl_file.put_line but to the top of the file.
>
> I would like to reverse the sql command in generated output script file...
>
>
>
> Regards
>
> Robert

Robert, to " reverse the sql command in generated output script file" couldn't you just order the result set in what you consider reverse order?

order by col1 desc

HTH -- Mark D Powell --
C Received on Sat Feb 01 2014 - 17:33:46 CET

Original text of this message