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: PLS-00103:

Re: PLS-00103:

From: steph <stephan0h_at_yahoo.de>
Date: 9 Aug 2006 04:06:10 -0700
Message-ID: <1155121570.247186.173600@p79g2000cwp.googlegroups.com>

amitka_at_gmail.com wrote:
> Hi,
>
> I am trying the following and the error i am getting is also pasted.
>
> OS: solaris 9
> DB: SQL*Plus: Release 9.2.0.1.0
> I am lo
>
> SQL> create procedure sample6
> 2 a:=1 number;
> 3 b:=1 number;
> 4 c number;
> 5 begin
> 6 c:=a+b;
> 7 end;
> 8 /
>
> Warning: Procedure created with compilation errors.
>
> SQL> show error
> Errors for PROCEDURE SAMPLE6:
>
> LINE/COL ERROR
> --------
> -----------------------------------------------------------------
> 2/1 PLS-00103: Encountered the symbol "A" when expecting one of
> the
> following:
> ( ; is with authid as cluster compress order using compiled
> wrapped external deterministic parallel_enable pipelined

some errors there, like that it compiles:

create or replace procedure sample6 is
a number:=1;
b number:=1;
c number;
begin
c:=a+b;
end;

... maybe you should start off with a "hello world" example ... Received on Wed Aug 09 2006 - 06:06:10 CDT

Original text of this message

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