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

Home -> Community -> Usenet -> c.d.o.misc -> RAISE_APPLICATION_ERROR

RAISE_APPLICATION_ERROR

From: Nandakumar <nanban_at_my-deja.com>
Date: 1999/07/29
Message-ID: <7nq7ss$m2$1@nnrp1.deja.com>#1/1

 Anyone has an idea as to where this PROCEDURE  RAISE_APPLICATION_ERROR (number,'mesg') would print the message.  The serveroutpt flag is set.

 When this procedure is invoked from within a function, it does not  print the message anywhere.

 When invoked from SQL prompt this is what happens!

                    SQL> execute raise_application_error(-20001,'hi')
                    begin raise_application_error(-20001,'hi'); end;

                    *
                    ERROR at line 1:
                    ORA-20001: hi
                    ORA-06512: at line 1

 Anything wrong with the above code?

 Thanks

--
Nandakumar
Systems Analyst
New York
(N.Kumar_at_rocketmail.com)


Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
Received on Thu Jul 29 1999 - 00:00:00 CDT

Original text of this message

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