Interrubted stored procedure
Posted: 26.07.2010, 11:22
Hi all,
I have a stored procedure in my db (oracle 10g enteprise) with name "myPROC". This procedure have one parameter type text with name "table".
Procedure process perhaps 350 000 records by cursor. When i call procedure from etc. ORACLE developer by SQL command so operations pass correct. BUT when i do this:
from my application so app throw NO ERROR, everthing look OK but procedure pass only etc 200 000 records. Just procedure is interrupt. i dont know what am i doing.
Please HELP.
note: I am so sorry for my English, i am junior developer from czech republic. Thaks for our understanding.
I have a stored procedure in my db (oracle 10g enteprise) with name "myPROC". This procedure have one parameter type text with name "table".
Procedure process perhaps 350 000 records by cursor. When i call procedure from etc. ORACLE developer by SQL command so operations pass correct. BUT when i do this:
Code: Select all
try
connection.StartTransaction;
qry.SQL.text := 'CALL myPROC('table name')';
qry.ExecSQL ;
connection.commit;
except on e:Exception do
begin
writeErroLOg(e.message);
connection.rollback;
end;
from my application so app throw NO ERROR, everthing look OK but procedure pass only etc 200 000 records. Just procedure is interrupt. i dont know what am i doing.
Please HELP.
note: I am so sorry for my English, i am junior developer from czech republic. Thaks for our understanding.