Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: [ask]: what wrong with my store procedure
In article <7cos9p$saf$1_at_fir.prod.itd.earthlink.net>,
"earthlink" <phil_at_amax.com> wrote:
> hi, everyone,
> i'm new in Oracle programming.
> i just create some stored procedures.
> some procedures work, some don't.
> can you help me why this storee procedure won't work?
>
> p.s. I got compilation error from oracle.
> TIA
>
> Phil
>
> create or replace procedure t1
> is
> begin
> select count(*)
> from t_customer
> where person = 'father';
> end;
> /
>
>
create or replace procedure t1
is
li_count number(5);
begin
select count(*) into li_count from t_customer where person = 'father';
-----------== Posted via Deja News, The Discussion Network ==---------- http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own Received on Wed Mar 17 1999 - 20:08:17 CST
![]() |
![]() |