Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> ORA-01013 error

ORA-01013 error

From: smathews <buchan6_at_yahoo.com>
Date: 19 Jan 2006 12:12:49 -0800
Message-ID: <1137701569.288376.29220@g44g2000cwa.googlegroups.com>


Hi,
I have a funtion that bulk collects data into collection types and then loops thru each collection record to do some data manipulations. I am using the following select statement to assign some value to a collection item in the loop.
"SELECT TRUNC((TRUNC((tt_process_end_time(i) - tt_process_start_time(i)),5) * 100000)/60) ||'.' || LPAD(MOD((TRUNC((tt_process_end_time(i) - tt_process_start_time(i)),5) * 100000),60),2,0)
 INTO tt_elaspd_time(i)
 FROM dual;"
When I am processing large number of records(say 20,000 +), I get ORA-01013 error(user requested cancel of current operation). I am not sure if it has to do something with the PL/sQL area size or in using the dual table. By the way this is in oracle 10g. Any help with this would be appreciated.
Thanks. Received on Thu Jan 19 2006 - 14:12:49 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US