Re: PL/SQL procedure problem

From: Jim Mitchell <jmitch_at_clark.net>
Date: 1996/11/27
Message-ID: <MPG.d06632df2a4544989680_at_news.us.net>#1/1


> >I have tried to create a procedure, and can't seem to be able to compile
> >CREATE OR REPLACE PROCEDURE label AS
> > CURSOR c1 IS SELECT apbcons_addr_name,
> > from apbcons;
> >BEGIN
> > FOR c1rec IN c1 LOOP
> > INSERT INTO label_run (name)
> > VALUES (c1rec.apbcons_addr_name);
> > END c1;
 Try replacing this line with "END LOOP;"
> >END;
> >/

HTH, Jim Mitchell
jmitch_at_clark.net Received on Wed Nov 27 1996 - 00:00:00 CET

Original text of this message