How about...

declare
   ora600 exception;
   pragma exception_init(ora600, -600);
begin
   raise ora600;
end;
/
show errors;

HTH
--
David Lord

> -----Original Message-----
> From: Vergara, Michael (TEM) [mailto:[EMAIL PROTECTED]
> Sent: 08 October 2003 02:14
> To: Multiple recipients of list ORACLE-L
> Subject: Strange Request
> 
> 
> Ok...strange request time.  I want to test a script that I found
> on the DBA Village web site.  It's supposed to capture some
> information whenever there's a DB error.
> 
> Does anybody know how to trigger a 'benign' ORA-600 so I can test
> this functionality?
> 
> Thanks,
> Mike
> 
> 
> ---
> ==============================================================
> =============
> Michael P. Vergara
> Oracle DBA
> Guidant Corporation
> 
> -- 
> Please see the official ORACLE-L FAQ: http://www.orafaq.net
> -- 
> Author: Vergara, Michael (TEM)
>   INET: [EMAIL PROTECTED]
> 
> Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
> San Diego, California        -- Mailing list and web hosting services
> ---------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from).  You may
> also send the HELP command for other information (like subscribing).
> 


*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** 
     This e-mail and its attachments are intended for the
     author's addressee only and may be confidential. 

     If they have come to you in error you must take no 
     action based on them, nor must you copy or show 
     them to anyone; please reply to this e-mail and  
     highlight the error. 

     Please note that this e-mail has been created in the
     knowledge that Internet e-mail is not a 100% secure 
     communications medium. We advise that you 
     understand and observe this lack of security when 
     e-mailing us. Steps have been taken to ensure this 
     e-mail and attachments are free from any virus, but 
     advise the recipient to ensure they are actually virus 
     free. 

     The views, opinions and judgments expressed in this 
     message are solely those of the author. The message 
     contents have not been reviewed or approved by Iron 
     Mountain.

*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Lord David
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

Reply via email to