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 -> Re: How to receive more detailed error information?

Re: How to receive more detailed error information?

From: Mark D Powell <mark.powell_at_eds.com>
Date: 14 Sep 2001 06:36:11 -0700
Message-ID: <178d2795.0109140536.2c9a93bc@posting.google.com>


joker_5166_at_yahoo.com (Chris Smith) wrote in message news:<132368bb.0109140257.30169845_at_posting.google.com>...
> Using Oracle 8.0.5 and sqlplus, I try the following:
>
> SQL> create procedure p1
> 2 as begin
> 3 select * from emp;
> 4 end;
> 5 /
>
> Warning: Procedure created with compilation errors.
>
> 1. How can I receive more detailed error information?
> 2. Was the procedure really created? I can't execute it...
> 3. How can I get an overview about existing procedures?
>
> TIA, Chris

You must select into something: select x into var from ...

From sqlplus you can normally execute the command 'show errors' immediately after attempting to create a procedure and see the errors.  If this does not work query user_errors or dba_errors. The contents of user_errors exists only for the life of the session so you cannot exit and edit and then reconnect and query for more error messages without re-executing the code.

Received on Fri Sep 14 2001 - 08:36:11 CDT

Original text of this message

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