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: user interaction with procedure

Re: user interaction with procedure

From: gazzag <gareth_at_jamms.org>
Date: 10 May 2007 07:09:51 -0700
Message-ID: <1178806191.198963.85450@n59g2000hsh.googlegroups.com>


On 10 May, 13:50, Andrea <netsecur..._at_tiscali.it> wrote:
> hi,
> i would like to run this simple procedure:
>
> create or replace procedure p_test as
> BEGIN
> FINE := 'NO';
> EXIT WHEN FINE = 'YES';
> accept ID char prompt "INSERT DOT FOR CONTINUE"
> select * from prova;
> IF ID := '.' THEN
> FINE := 'YES';
> END IF;
> END LOOP;
> END;
> /
>
> but it sho me error:
>
> 6/8 PLS-00103: Encountered the symbol "ID" when expecting one of the
> following:
> := . ( @ % ;
>
> can someone help me please?
>
> thanks

Apart from what David has told you, you might consider trying the following query:

select keyword
from v$reserved_words
where keyword like 'ID%';

HTH -g Received on Thu May 10 2007 - 09:09:51 CDT

Original text of this message

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