ora-01426 numeric overflow [message #203397] |
Wed, 15 November 2006 00:43 |
truedeath1@hotmail.com
Messages: 9 Registered: November 2006
|
Junior Member |
|
|
I am getting this error for the following procedure
CREATE OR REPLACE procedure WHDATA is
begin
declare
v_counter number;
begin
for rec in (select RECHARGEVALUE,ARRIVALDATE,STARTSERIALNR, ENDSERIALNR from wh_voucher_summary) loop
dbms_output.put_line (rec.STARTSERIALNR);
for v_counter in rec.STARTSERIALNR..rec.ENDSERIALNR loop
insert into dummy values(v_counter);
end loop;
end loop;
end;
end;
my dummy table has only one column
dummy NUMBER
wh_voucher_summary has the following columns
RECHARGEVALUE NUMBER
ARRIVALDATE DATE
STARTSERIALNR NUMBER
ENDSERIALNR NUMBER
the value of
STARTSERIALNR =100000000000
ENDSERIALNR =100000099999
i am using oracle 9i in XP
|
|
|
|
|
|
|
|
|
|
|