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

Home -> Community -> Usenet -> c.d.o.server -> Re: newbie pl/sql question

Re: newbie pl/sql question

From: Roger Palmen <r.palmen.ani_at_alewijnse.nl>
Date: 2000/08/10
Message-ID: <399270B7.DC015248@alewijnse.nl>#1/1

Try SHOW ERRORS

marc bautis wrote:

> I tried running the following script at a sqlplus command line
>
> CREATE OR REPLACE PROCEDURE InsertToBaseball AS
>
> v_HITTER varchar2(255) := 'John';
> v_PITCHER varchar2(255) := 'Richard';
>
> BEGIN
>
> INSERT INTO baseball(batter, pitcher) values (v_HITTER, v_PITCHER);
>
> END InsertToBaseball;
>
> when i execute this i get a message saying Warning: Procedure created
> with compilation errors.
>
> Does this mean that the procedure was created? How can I get a more
> detailed message of what the compilation errors were
>
> Can I run this procedure by calling: Execute InsertToBaseball at the
> command line
>
> Is there an equivalent to a DESCRIBE which i can do on procedures
>
> Thanks,
> Marc
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
Received on Thu Aug 10 2000 - 00:00:00 CDT

Original text of this message

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