Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: EXCEPTION SPOOLING
Hi -
AFAIK PL/SQL does not support commands like SPOOL, HOST or START that you can use in SQL*Plus.
Furthermore, EXCEPTION processing in PL/SQL referes to exceptions because of a database operation such as NO_DATA_FOUND, ZERO_DIVIDE etc. and not necessarily statement errors that you are after.
Suresh
chandrasekar_at_my-dejanews.com wrote in article
<7c7r18$c9a$1_at_nnrp1.dejanews.com>...
> Hi all,
> I've a reasonable requirement for which I am unable to find a
solution .
>
> Here my problem goes :
>
> "I've a create script which creates 75 tables (ALL CREATE STATEMENTS ARE
GIVEN
> ONE AFTER OTHER ). Once if I run the script,it should write the errors(if
any)
> in a file. I don't want to spool the entire operation . I want to spool
only
> the error message(if any) . Is there a way to do this using PL*SQL
procedures
> which in turn calls the script and writes the error messages ."
>
> ALL YOUR INNOVATIVE IDEAS ARE WELCOME
>
> Thankx in advance
> chandrasekar
>
>
> -----------== Posted via Deja News, The Discussion Network ==----------
> http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
>
Received on Tue Mar 16 1999 - 12:14:11 CST