Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: Basic SQL Error Handling Qs ?

RE: Basic SQL Error Handling Qs ?

From: VIVEK_SHARMA <VIVEK_SHARMA_at_infosys.com>
Date: Mon, 24 Dec 2007 08:36:03 +0530
Message-ID: <69E1360E54B50C4A828A136C158E4742036A7075DB@BLRKECMBX02.ad.infosys.com>

Folks

Ran the following SQL with 48 Parallel processes (degree=48) to get the Error below. NOTE - This error is expected as some Datafiles are MISSING from the Database & hence

Qs Is it possible for the same SQL Statement to continue executing inspite of the error i.e. to ignore the error Qs Will "execute sql whenever sqlerror continue" achieve this ELSE what other options exist?

Cheers & Thanks

SQL:-
begin

   dbms_stats.gather_schema_stats(

      ownname          => ...,
      degree           => 48

   );
end;
ERROR:-
ORA-12801: error signaled in parallel query server P059
ORA-00376: file 1235 cannot be read at this time
ORA-01111: name for data file 1235 is unknown - rename to correct file
ORA-01110: data file 1235: '/oracle/.../MISSING01235'

**************** CAUTION - Disclaimer *****************
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s). If you are not the intended recipient, please notify the sender by e-mail and delete the original message. Further, you are not to copy, disclose, or distribute this e-mail or its contents to any other person and any such actions are unlawful. This e-mail may contain viruses. Infosys has taken every reasonable precaution to minimize this risk, but is not liable for any damage you may sustain as a result of any virus in this e-mail. You should carry out your own virus checks before opening the e-mail or attachment. Infosys reserves the right to monitor and review the content of all messages sent to or from this e-mail address. Messages sent to or from this e-mail address may be stored on the Infosys e-mail system. ***INFOSYS******** End of Disclaimer ********INFOSYS***
--
http://www.freelists.org/webpage/oracle-l
Received on Sun Dec 23 2007 - 21:06:03 CST

Original text of this message

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