Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: FORALL Insert error into ORA-00947 - Too many values...
fitzjarrell_at_cox.net wrote:
> Raman wrote:
> > Hi,
> >
> > I am using this code to transfer data from 1 table to another....
> >
> > ----- Code start ----------------
> >
> > -- Second for loop
> > FORALL j IN sstat.FIRST.. sstat.LAST
> > INSERT INTO TST_SEG_STATUS
> > VALUES (tstat(j));
> >
> > -- Commit records
> > COMMIT;
> >
> > ----- Code End -------
> >
> > Thnaks
> > -- Raman
>
>
> >
uhhhmmm, I didn't see a line building the table "TST_SEG_STATUS"... So I am wondering what the error number was? 'cause I don't think it matters that you inserted only one of the values to it.
Also, FORALL shows up, with examples all the way back to 8i, by the way. So I'm not sure what is meant by David's message.
I also agree that it is always useful to know what verison you are using.
je Received on Tue Mar 28 2006 - 03:29:31 CST