Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: ora 6502
deepak_dasgupta_at_delhi.tcs.co.in (deepak) wrote in message news:<ed45575d.0212100332.792fa4ee_at_posting.google.com>...
> this throws an error:
> ORA-06502: PL/SQL: numeric or value error
> ORA-06512: at line 6
>
> any ideas.??
>
> declare
> x long;
You can't do any operations with LONG datatype (read documentation).
> y number;
> begin
> for i in 1..16001 loop
> x:=x||'AA';
> y:=length(x);
> end loop;
> end;
Received on Tue Dec 10 2002 - 09:26:32 CST